{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-paid-actions",
    "name": "OpenClaw Paid Actions",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/icetroll/openclaw-paid-actions",
    "canonicalUrl": "https://clawhub.ai/icetroll/openclaw-paid-actions",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-paid-actions",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-paid-actions",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.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/openclaw-paid-actions"
    },
    "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/openclaw-paid-actions",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-paid-actions/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-paid-actions/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-paid-actions/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": "OpenClaw Paid Actions",
        "body": "Use this skill when an action must be paid before it runs.\n\nTool: openclaw_paid_action\n\nThis skill is instruction-only. It expects a trusted installed implementation of the openclaw-paid-actions plugin that provides openclaw_paid_action.\n\nActions:\n\nlist: List configured paid actions.\nquote: Build USDC payment instructions for an action.\ninvoice: Create a signed invoice token for an action/input.\nstatus: Check current invoice payment status.\nwait: Poll until the invoice is paid (or timeout/expiry).\nconfirm (or pay alias): Validate payment transaction on-chain, then mark invoice paid.\nexecute: Run the action after invoice is confirmed paid."
      },
      {
        "title": "Typical Flow",
        "body": "Call openclaw_paid_action with action: \"list\" to discover action IDs.\nCall openclaw_paid_action with action: \"invoice\" and actionId (plus optional input, recipient, memo).\nSend the returned invoiceMessage or paymentInstructions to the payer.\nAfter payment is received, call openclaw_paid_action with action: \"confirm\" and invoice (or invoiceId) plus transaction to validate on-chain and mark paid.\nYou can also pass paymentProofText with the raw user reply; the tool extracts the Solana tx signature automatically.\nCall openclaw_paid_action with action: \"wait\" (or status) to know when it is paid.\nCall openclaw_paid_action with action: \"execute\" and invoice to run after payment."
      },
      {
        "title": "Plugin Config",
        "body": "Configure under plugins.entries.openclaw-paid-actions.config:\n\n{\n  \"network\": \"solana:mainnet\",\n  \"payTo\": \"${OPENCLAW_USDC_PAY_TO}\",\n  \"invoiceSecret\": \"${OPENCLAW_PAID_ACTIONS_INVOICE_SECRET}\",\n  \"invoiceStorePath\": \"${OPENCLAW_PAID_ACTIONS_INVOICE_STORE_PATH}\",\n  \"allowRunAsRoot\": false,\n  \"requirePersistentInvoiceSecret\": true,\n  \"requireInvoiceStorePath\": true,\n  \"enforceReviewedScripts\": true,\n  \"reviewedScriptsRoot\": \"scripts/paid-actions\",\n  \"requiredNodeMajor\": 20,\n  \"defaultInvoiceWaitSeconds\": 900,\n  \"invoicePollIntervalMs\": 3000,\n  \"maxTimeoutSeconds\": 120,\n  \"defaultTaskTimeoutMs\": 30000,\n  \"maxOutputBytes\": 32768,\n  \"actions\": {\n    \"x-shoutout\": {\n      \"description\": \"Post a paid shoutout on X\",\n      \"command\": [\"node\", \"scripts/paid-actions/x-shoutout.mjs\"],\n      \"cwd\": \".\",\n      \"price\": \"0.03\",\n      \"timeoutMs\": 45000\n    }\n  }\n}\n\nNotes:\n\nEach action runs exactly the configured command array.\nInvoice execution uses the input embedded in the invoice token.\nAction input is exposed as OPENCLAW_PAID_ACTION_INPUT_JSON.\nCommand output is truncated at maxOutputBytes.\nIf notifySessionKey is set on invoice creation, the gateway emits a system event when payment is recorded.\nThe tool is optional in OpenClaw; add openclaw_paid_action to agent tools.allow.\nProduction defaults block startup if invoiceSecret or invoiceStorePath is missing.\nProduction defaults block unreviewed commands; keep actions under scripts/paid-actions.\nReview every configured action command before enabling autonomous execution."
      },
      {
        "title": "Real Action Inputs",
        "body": "For x-shoutout:\n\n{\n  \"handle\": \"openclaw\",\n  \"message\": \"Huge shoutout to @openclaw for supporting this build!\",\n  \"link\": \"https://x.com/openclaw\"\n}\n\nFor discord-shoutout:\n\n{\n  \"name\": \"Daniel\",\n  \"note\": \"Thanks for supporting the build.\"\n}"
      }
    ],
    "body": "OpenClaw Paid Actions\n\nUse this skill when an action must be paid before it runs.\n\nTool: openclaw_paid_action\n\nThis skill is instruction-only. It expects a trusted installed implementation of the openclaw-paid-actions plugin that provides openclaw_paid_action.\n\nActions:\n\nlist: List configured paid actions.\nquote: Build USDC payment instructions for an action.\ninvoice: Create a signed invoice token for an action/input.\nstatus: Check current invoice payment status.\nwait: Poll until the invoice is paid (or timeout/expiry).\nconfirm (or pay alias): Validate payment transaction on-chain, then mark invoice paid.\nexecute: Run the action after invoice is confirmed paid.\nTypical Flow\nCall openclaw_paid_action with action: \"list\" to discover action IDs.\nCall openclaw_paid_action with action: \"invoice\" and actionId (plus optional input, recipient, memo).\nSend the returned invoiceMessage or paymentInstructions to the payer.\nAfter payment is received, call openclaw_paid_action with action: \"confirm\" and invoice (or invoiceId) plus transaction to validate on-chain and mark paid. You can also pass paymentProofText with the raw user reply; the tool extracts the Solana tx signature automatically.\nCall openclaw_paid_action with action: \"wait\" (or status) to know when it is paid.\nCall openclaw_paid_action with action: \"execute\" and invoice to run after payment.\nPlugin Config\n\nConfigure under plugins.entries.openclaw-paid-actions.config:\n\n{\n  \"network\": \"solana:mainnet\",\n  \"payTo\": \"${OPENCLAW_USDC_PAY_TO}\",\n  \"invoiceSecret\": \"${OPENCLAW_PAID_ACTIONS_INVOICE_SECRET}\",\n  \"invoiceStorePath\": \"${OPENCLAW_PAID_ACTIONS_INVOICE_STORE_PATH}\",\n  \"allowRunAsRoot\": false,\n  \"requirePersistentInvoiceSecret\": true,\n  \"requireInvoiceStorePath\": true,\n  \"enforceReviewedScripts\": true,\n  \"reviewedScriptsRoot\": \"scripts/paid-actions\",\n  \"requiredNodeMajor\": 20,\n  \"defaultInvoiceWaitSeconds\": 900,\n  \"invoicePollIntervalMs\": 3000,\n  \"maxTimeoutSeconds\": 120,\n  \"defaultTaskTimeoutMs\": 30000,\n  \"maxOutputBytes\": 32768,\n  \"actions\": {\n    \"x-shoutout\": {\n      \"description\": \"Post a paid shoutout on X\",\n      \"command\": [\"node\", \"scripts/paid-actions/x-shoutout.mjs\"],\n      \"cwd\": \".\",\n      \"price\": \"0.03\",\n      \"timeoutMs\": 45000\n    }\n  }\n}\n\n\nNotes:\n\nEach action runs exactly the configured command array.\nInvoice execution uses the input embedded in the invoice token.\nAction input is exposed as OPENCLAW_PAID_ACTION_INPUT_JSON.\nCommand output is truncated at maxOutputBytes.\nIf notifySessionKey is set on invoice creation, the gateway emits a system event when payment is recorded.\nThe tool is optional in OpenClaw; add openclaw_paid_action to agent tools.allow.\nProduction defaults block startup if invoiceSecret or invoiceStorePath is missing.\nProduction defaults block unreviewed commands; keep actions under scripts/paid-actions.\nReview every configured action command before enabling autonomous execution.\nReal Action Inputs\n\nFor x-shoutout:\n\n{\n  \"handle\": \"openclaw\",\n  \"message\": \"Huge shoutout to @openclaw for supporting this build!\",\n  \"link\": \"https://x.com/openclaw\"\n}\n\n\nFor discord-shoutout:\n\n{\n  \"name\": \"Daniel\",\n  \"note\": \"Thanks for supporting the build.\"\n}"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/icetroll/openclaw-paid-actions",
    "publisherUrl": "https://clawhub.ai/icetroll/openclaw-paid-actions",
    "owner": "icetroll",
    "version": "0.2.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-paid-actions",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-paid-actions",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-paid-actions/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-paid-actions/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-paid-actions/agent.md"
  }
}