{
  "schemaVersion": "1.0",
  "item": {
    "slug": "x402r-dispute",
    "name": "Cli",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/vraspar/x402r-dispute",
    "canonicalUrl": "https://clawhub.ai/vraspar/x402r-dispute",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/x402r-dispute",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x402r-dispute",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "bin/x402r.ts",
      "clawhub.json",
      "dist/bin/x402r.d.ts",
      "dist/bin/x402r.js",
      "dist/src/commands/config.d.ts"
    ],
    "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/x402r-dispute"
    },
    "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/x402r-dispute",
    "agentPageUrl": "https://openagent3.xyz/skills/x402r-dispute/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x402r-dispute/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x402r-dispute/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": "x402r CLI",
        "body": "You help users make escrow payments and file payment disputes on the x402r protocol. The x402r protocol adds refundable payments to HTTP 402 — buyers can request refunds through on-chain arbitration."
      },
      {
        "title": "Setup",
        "body": "npx --yes @x402r/cli config --key <private-key> --arbiter-url https://www.moltarbiter.com/arbiter\n\nOperator, network, and RPC are auto-discovered from the arbiter. The wallet needs Base Sepolia ETH (gas) and USDC (payments).\n\nTest merchant: https://fantastic-optimism-production-602a.up.railway.app/weather"
      },
      {
        "title": "pay",
        "body": "npx --yes @x402r/cli pay <url>\nnpx --yes @x402r/cli pay <url> --output response.json\n\nMakes an escrow payment. Saves payment info to ~/.x402r/last-payment.json for later dispute."
      },
      {
        "title": "dispute",
        "body": "npx --yes @x402r/cli dispute \"reason\" --evidence \"details\"\n\nCreates on-chain refund request + submits evidence in one step. Uses saved payment info from pay. Prints a dashboard link.\n\nOptions: -e/--evidence <text>, -f/--file <path>, -p/--payment-json <json>, -n/--nonce <n>, -a/--amount <n>"
      },
      {
        "title": "status",
        "body": "npx --yes @x402r/cli status\n\nCheck dispute status. Tries arbiter API first, falls back to on-chain. Options: --id <compositeKey>, -p/--payment-json, -n/--nonce"
      },
      {
        "title": "show",
        "body": "npx --yes @x402r/cli show\n\nShow all evidence (payer, merchant, arbiter) for a dispute. Options: -p/--payment-json, -n/--nonce"
      },
      {
        "title": "verify",
        "body": "npx --yes @x402r/cli verify\n\nReplay the arbiter's AI evaluation to verify the commitment hash is deterministic. Options: -p/--payment-json, -n/--nonce"
      },
      {
        "title": "list",
        "body": "npx --yes @x402r/cli list\n\nList disputes from the arbiter. Options: -r/--receiver <addr>, --offset <n>, --count <n>"
      },
      {
        "title": "Typical Workflow",
        "body": "npx --yes @x402r/cli pay <merchant-url> — escrow payment, saves state\nnpx --yes @x402r/cli dispute \"reason\" --evidence \"details\" — files dispute\nnpx --yes @x402r/cli status — check arbiter ruling\nnpx --yes @x402r/cli show — view evidence from all parties\nnpx --yes @x402r/cli verify — verify ruling was deterministic"
      },
      {
        "title": "Notes",
        "body": "State chains between commands: pay saves for dispute, dispute saves for status/show/verify.\nWithout saved state, pass --payment-json and --nonce explicitly.\nverify requires the arbiter server — no on-chain fallback."
      }
    ],
    "body": "x402r CLI\n\nYou help users make escrow payments and file payment disputes on the x402r protocol. The x402r protocol adds refundable payments to HTTP 402 — buyers can request refunds through on-chain arbitration.\n\nSetup\nnpx --yes @x402r/cli config --key <private-key> --arbiter-url https://www.moltarbiter.com/arbiter\n\n\nOperator, network, and RPC are auto-discovered from the arbiter. The wallet needs Base Sepolia ETH (gas) and USDC (payments).\n\nTest merchant: https://fantastic-optimism-production-602a.up.railway.app/weather\n\nCommands\npay\nnpx --yes @x402r/cli pay <url>\nnpx --yes @x402r/cli pay <url> --output response.json\n\n\nMakes an escrow payment. Saves payment info to ~/.x402r/last-payment.json for later dispute.\n\ndispute\nnpx --yes @x402r/cli dispute \"reason\" --evidence \"details\"\n\n\nCreates on-chain refund request + submits evidence in one step. Uses saved payment info from pay. Prints a dashboard link.\n\nOptions: -e/--evidence <text>, -f/--file <path>, -p/--payment-json <json>, -n/--nonce <n>, -a/--amount <n>\n\nstatus\nnpx --yes @x402r/cli status\n\n\nCheck dispute status. Tries arbiter API first, falls back to on-chain. Options: --id <compositeKey>, -p/--payment-json, -n/--nonce\n\nshow\nnpx --yes @x402r/cli show\n\n\nShow all evidence (payer, merchant, arbiter) for a dispute. Options: -p/--payment-json, -n/--nonce\n\nverify\nnpx --yes @x402r/cli verify\n\n\nReplay the arbiter's AI evaluation to verify the commitment hash is deterministic. Options: -p/--payment-json, -n/--nonce\n\nlist\nnpx --yes @x402r/cli list\n\n\nList disputes from the arbiter. Options: -r/--receiver <addr>, --offset <n>, --count <n>\n\nTypical Workflow\nnpx --yes @x402r/cli pay <merchant-url> — escrow payment, saves state\nnpx --yes @x402r/cli dispute \"reason\" --evidence \"details\" — files dispute\nnpx --yes @x402r/cli status — check arbiter ruling\nnpx --yes @x402r/cli show — view evidence from all parties\nnpx --yes @x402r/cli verify — verify ruling was deterministic\nNotes\nState chains between commands: pay saves for dispute, dispute saves for status/show/verify.\nWithout saved state, pass --payment-json and --nonce explicitly.\nverify requires the arbiter server — no on-chain fallback."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/vraspar/x402r-dispute",
    "publisherUrl": "https://clawhub.ai/vraspar/x402r-dispute",
    "owner": "vraspar",
    "version": "0.1.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/x402r-dispute",
    "downloadUrl": "https://openagent3.xyz/downloads/x402r-dispute",
    "agentUrl": "https://openagent3.xyz/skills/x402r-dispute/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x402r-dispute/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x402r-dispute/agent.md"
  }
}