{
  "schemaVersion": "1.0",
  "item": {
    "slug": "valiron-trust-layer",
    "name": "Valiron",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/vatsashah45/valiron-trust-layer",
    "canonicalUrl": "https://clawhub.ai/vatsashah45/valiron-trust-layer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/valiron-trust-layer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=valiron-trust-layer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "assets/payment-interceptor.ts",
      "references/decision-policy.md",
      "references/runtime-requirements.md",
      "references/audit-events.md",
      "references/fallback-modes.md",
      "references/error-handling.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/valiron-trust-layer"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/valiron-trust-layer",
    "agentPageUrl": "https://openagent3.xyz/skills/valiron-trust-layer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/valiron-trust-layer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/valiron-trust-layer/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Valiron Payment Interceptor",
        "body": "Add a trust gate in front of outgoing agent payments."
      },
      {
        "title": "Runtime requirements",
        "body": "Declare and validate runtime prerequisites before enabling the interceptor:\n\nNode.js runtime compatible with your app and @valiron/sdk.\nInstalled dependencies:\n\n@valiron/sdk\nYour payment rail package(s) (x402 or equivalent) used by the host app.\n\n\nConfiguration/credentials (via secret manager or env vars):\n\nVALIRON_API_KEY (optional today; reserved for authenticated deployments)\nVALIRON_BASE_URL (if using non-default endpoint)\nVALIRON_TIMEOUT_MS (optional, with safe default)\n\n\nPolicy/config inputs:\n\nDecision policy JSON (route-to-action matrix)\nSpend limit defaults and per-route overrides\n\nFail startup (or fail closed for payment endpoints) when required policy/config inputs are missing. If your deployment enforces SDK auth, treat VALIRON_API_KEY as required."
      },
      {
        "title": "Workflow",
        "body": "Extract counterparty identity from the payment request.\n\nPrefer counterpartyAgentId.\nSupport wallet fallback with getWalletProfile(wallet).\n\n\nEvaluate trust with Valiron.\n\nFast path: checkAgent(agentId).\nFull path: getAgentProfile(agentId) when you need reasons/signals, pricing, or audit details.\n\n\nApply deterministic decision policy from references/decision-policy.md.\nEnforce spend controls from references/spend-controls.md.\nIf allowed, continue to payment initiation (x402 challenge creation or equivalent flow).\nIf blocked/restricted, return explicit denial/degrade reason.\nLog outcome using references/audit-events.md."
      },
      {
        "title": "Decision model",
        "body": "Map route decisions to payment actions:\n\nprod: allow payment under normal limits.\nprod_throttled: allow with reduced caps/rate limits.\nsandbox: allow only test/sandbox payment rail (or deny prod transfer).\nsandbox_only: deny outgoing payment.\n\nNever authorize payment using free-form model output alone."
      },
      {
        "title": "x402-specific sequencing",
        "body": "For x402-protected purchases or settlement-like flows:\n\nTrust-check counterparty identity.\nEvaluate route + spend policy.\nIf denied, abort before creating payment commitment.\nIf allowed, generate/send x402 payment payload.\nRecord authorization decision + amount + result."
      },
      {
        "title": "Outage and fallback",
        "body": "Use endpoint-class fallback from references/fallback-modes.md:\n\nHigh-risk payment actions: fail-closed.\nLow-risk/test actions: optional fail-open-guarded with strict caps.\n\nKeep fallback mode explicit and versioned."
      },
      {
        "title": "Use bundled resources",
        "body": "Runtime + credential checklist: references/runtime-requirements.md\nDecision matrix: references/decision-policy.md\nSpend/risk controls: references/spend-controls.md\nFallback guidance: references/fallback-modes.md\nAudit schema: references/audit-events.md\nError handling: references/error-handling.md\nInterceptor template: assets/payment-interceptor.ts\nPolicy validator: scripts/validate-payment-policy.mjs"
      }
    ],
    "body": "Valiron Payment Interceptor\n\nAdd a trust gate in front of outgoing agent payments.\n\nRuntime requirements\n\nDeclare and validate runtime prerequisites before enabling the interceptor:\n\nNode.js runtime compatible with your app and @valiron/sdk.\nInstalled dependencies:\n@valiron/sdk\nYour payment rail package(s) (x402 or equivalent) used by the host app.\nConfiguration/credentials (via secret manager or env vars):\nVALIRON_API_KEY (optional today; reserved for authenticated deployments)\nVALIRON_BASE_URL (if using non-default endpoint)\nVALIRON_TIMEOUT_MS (optional, with safe default)\nPolicy/config inputs:\nDecision policy JSON (route-to-action matrix)\nSpend limit defaults and per-route overrides\n\nFail startup (or fail closed for payment endpoints) when required policy/config inputs are missing. If your deployment enforces SDK auth, treat VALIRON_API_KEY as required.\n\nWorkflow\nExtract counterparty identity from the payment request.\nPrefer counterpartyAgentId.\nSupport wallet fallback with getWalletProfile(wallet).\nEvaluate trust with Valiron.\nFast path: checkAgent(agentId).\nFull path: getAgentProfile(agentId) when you need reasons/signals, pricing, or audit details.\nApply deterministic decision policy from references/decision-policy.md.\nEnforce spend controls from references/spend-controls.md.\nIf allowed, continue to payment initiation (x402 challenge creation or equivalent flow).\nIf blocked/restricted, return explicit denial/degrade reason.\nLog outcome using references/audit-events.md.\nDecision model\n\nMap route decisions to payment actions:\n\nprod: allow payment under normal limits.\nprod_throttled: allow with reduced caps/rate limits.\nsandbox: allow only test/sandbox payment rail (or deny prod transfer).\nsandbox_only: deny outgoing payment.\n\nNever authorize payment using free-form model output alone.\n\nx402-specific sequencing\n\nFor x402-protected purchases or settlement-like flows:\n\nTrust-check counterparty identity.\nEvaluate route + spend policy.\nIf denied, abort before creating payment commitment.\nIf allowed, generate/send x402 payment payload.\nRecord authorization decision + amount + result.\nOutage and fallback\n\nUse endpoint-class fallback from references/fallback-modes.md:\n\nHigh-risk payment actions: fail-closed.\nLow-risk/test actions: optional fail-open-guarded with strict caps.\n\nKeep fallback mode explicit and versioned.\n\nUse bundled resources\nRuntime + credential checklist: references/runtime-requirements.md\nDecision matrix: references/decision-policy.md\nSpend/risk controls: references/spend-controls.md\nFallback guidance: references/fallback-modes.md\nAudit schema: references/audit-events.md\nError handling: references/error-handling.md\nInterceptor template: assets/payment-interceptor.ts\nPolicy validator: scripts/validate-payment-policy.mjs"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/vatsashah45/valiron-trust-layer",
    "publisherUrl": "https://clawhub.ai/vatsashah45/valiron-trust-layer",
    "owner": "vatsashah45",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/valiron-trust-layer",
    "downloadUrl": "https://openagent3.xyz/downloads/valiron-trust-layer",
    "agentUrl": "https://openagent3.xyz/skills/valiron-trust-layer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/valiron-trust-layer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/valiron-trust-layer/agent.md"
  }
}