{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pocket-money",
    "name": "pocket-money",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/operator-auteng-ai/pocket-money",
    "canonicalUrl": "https://clawhub.ai/operator-auteng-ai/pocket-money",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pocket-money",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pocket-money",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "VERSION.txt"
    ],
    "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/pocket-money"
    },
    "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/pocket-money",
    "agentPageUrl": "https://openagent3.xyz/skills/pocket-money/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pocket-money/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pocket-money/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": "Pocket Money — Fund Your Agent's Wallets",
        "body": "You have a tool that lets you create and manage crypto wallets (USDC on Base). Each wallet is a separate keypair with its own balance — create one per purpose or budget.\n\nPackage: @auteng/pocket-money — published by AutEng (source on GitHub)."
      },
      {
        "title": "Setup (first time only)",
        "body": "Install the pocket-money library:\n\nnpm install @auteng/pocket-money"
      },
      {
        "title": "Creating a Wallet",
        "body": "Create a named wallet for each purpose or budget:\n\nimport { wallet } from '@auteng/pocket-money';\n\nconst w = await wallet.create({ name: \"feb-2026\" });\nconsole.log(w.address); // 0xABC123...\n\nIf a wallet with that name already exists on disk, it loads it. Each wallet is stored at .auteng/wallets/<name>.json.\n\nYou can also create a quick default wallet:\n\nconst w = await wallet.create();"
      },
      {
        "title": "Network",
        "body": "// Base mainnet (default)\nconst w = await wallet.create({ name: \"prod\" });\n\n// Base Sepolia testnet\nconst w = await wallet.create({ name: \"test\", network: \"base-sepolia\" });"
      },
      {
        "title": "Requesting Funding",
        "body": "When you need money, ask your human to fund a specific wallet:\n\nI need $12 in USDC for today's tasks.\n\nPlease send USDC on **Base** to this address:\n`0xABC123...` (wallet: \"feb-2026\")\n\nYou can send from Coinbase, an exchange, or any wallet that supports Base.\n\nBe specific about:\n\nHow much you need and why (e.g., \"$5 for API calls\", \"$20 for a batch processing job\")\nWhich wallet (by name) so both you and your human can track budgets\nThe network: always Base (not Ethereum mainnet, not Arbitrum)\nThe token: USDC (not ETH, not other tokens)"
      },
      {
        "title": "Waiting for Funding",
        "body": "After asking, wait for the USDC to arrive:\n\nawait w.waitForFunding(12_000000n);\n// Polls Base every 10s until >= 12 USDC is available\n\nWith a timeout:\n\nawait w.waitForFunding(12_000000n, { timeout: 120_000 });\n// Throws after 2 minutes if balance < $12\n\nTell your human you're waiting — they may need a minute to complete the transfer."
      },
      {
        "title": "Human Approval Before Spending",
        "body": "IMPORTANT: Before making any payment, you MUST:\n\nTell your human exactly what you're about to spend and why\nShow the estimated cost\nWait for explicit human approval before proceeding\n\nExample:\n\nI'd like to call an x402 API endpoint.\n\n  Service: api.example.com/generate\n  Cost:    ~$0.05 per request\n  Wallet:  \"feb-2026\" ($0.98 remaining)\n\nOK to proceed?\n\nNever batch multiple paid operations without listing them first. If running a loop of paid calls, present the total estimated cost upfront and get approval for the batch."
      },
      {
        "title": "Managing Wallets",
        "body": "// Retrieve an existing wallet by name\nconst w = wallet.get(\"feb-2026\");\n\n// List all wallets\nconst all = wallet.list();\nfor (const w of all) {\n  const bal = await w.checkBalance();\n  console.log(`${w.name}: ${w.address} — ${bal} USDC`);\n}\n\n// Check balance\nconst balance = await w.checkBalance();\n// Returns USDC in minor units (6 decimals)\n// e.g., 12_000000n = $12.00\n\nIf running low, ask your human for more funding before expensive operations."
      },
      {
        "title": "Security & Storage",
        "body": "Private keys: Wallet private keys are stored as unencrypted JSON at .auteng/wallets/<name>.json with restricted file permissions (0600). These keys can sign USDC payment authorizations. If the file is leaked or the machine is compromised, funds in that wallet can be stolen. Treat wallet files like passwords.\n\nNetwork access: This skill makes outbound HTTPS requests to:\n\nBase RPC (mainnet.base.org) — to check USDC balances\n\nMitigations:\n\nAlways get human approval before any operation that spends funds\nOnly fund wallets with small amounts appropriate for the task — treat them as petty cash, not savings\nCreate separate wallets for separate budgets so you and your human can track spending\nYour wallets only need USDC on Base — no ETH needed for gas"
      }
    ],
    "body": "Pocket Money — Fund Your Agent's Wallets\n\nYou have a tool that lets you create and manage crypto wallets (USDC on Base). Each wallet is a separate keypair with its own balance — create one per purpose or budget.\n\nPackage: @auteng/pocket-money — published by AutEng (source on GitHub).\n\nSetup (first time only)\n\nInstall the pocket-money library:\n\nnpm install @auteng/pocket-money\n\nCreating a Wallet\n\nCreate a named wallet for each purpose or budget:\n\nimport { wallet } from '@auteng/pocket-money';\n\nconst w = await wallet.create({ name: \"feb-2026\" });\nconsole.log(w.address); // 0xABC123...\n\n\nIf a wallet with that name already exists on disk, it loads it. Each wallet is stored at .auteng/wallets/<name>.json.\n\nYou can also create a quick default wallet:\n\nconst w = await wallet.create();\n\nNetwork\n// Base mainnet (default)\nconst w = await wallet.create({ name: \"prod\" });\n\n// Base Sepolia testnet\nconst w = await wallet.create({ name: \"test\", network: \"base-sepolia\" });\n\nRequesting Funding\n\nWhen you need money, ask your human to fund a specific wallet:\n\nI need $12 in USDC for today's tasks.\n\nPlease send USDC on **Base** to this address:\n`0xABC123...` (wallet: \"feb-2026\")\n\nYou can send from Coinbase, an exchange, or any wallet that supports Base.\n\n\nBe specific about:\n\nHow much you need and why (e.g., \"$5 for API calls\", \"$20 for a batch processing job\")\nWhich wallet (by name) so both you and your human can track budgets\nThe network: always Base (not Ethereum mainnet, not Arbitrum)\nThe token: USDC (not ETH, not other tokens)\nWaiting for Funding\n\nAfter asking, wait for the USDC to arrive:\n\nawait w.waitForFunding(12_000000n);\n// Polls Base every 10s until >= 12 USDC is available\n\n\nWith a timeout:\n\nawait w.waitForFunding(12_000000n, { timeout: 120_000 });\n// Throws after 2 minutes if balance < $12\n\n\nTell your human you're waiting — they may need a minute to complete the transfer.\n\nHuman Approval Before Spending\n\nIMPORTANT: Before making any payment, you MUST:\n\nTell your human exactly what you're about to spend and why\nShow the estimated cost\nWait for explicit human approval before proceeding\n\nExample:\n\nI'd like to call an x402 API endpoint.\n\n  Service: api.example.com/generate\n  Cost:    ~$0.05 per request\n  Wallet:  \"feb-2026\" ($0.98 remaining)\n\nOK to proceed?\n\n\nNever batch multiple paid operations without listing them first. If running a loop of paid calls, present the total estimated cost upfront and get approval for the batch.\n\nManaging Wallets\n// Retrieve an existing wallet by name\nconst w = wallet.get(\"feb-2026\");\n\n// List all wallets\nconst all = wallet.list();\nfor (const w of all) {\n  const bal = await w.checkBalance();\n  console.log(`${w.name}: ${w.address} — ${bal} USDC`);\n}\n\n// Check balance\nconst balance = await w.checkBalance();\n// Returns USDC in minor units (6 decimals)\n// e.g., 12_000000n = $12.00\n\n\nIf running low, ask your human for more funding before expensive operations.\n\nSecurity & Storage\n\nPrivate keys: Wallet private keys are stored as unencrypted JSON at .auteng/wallets/<name>.json with restricted file permissions (0600). These keys can sign USDC payment authorizations. If the file is leaked or the machine is compromised, funds in that wallet can be stolen. Treat wallet files like passwords.\n\nNetwork access: This skill makes outbound HTTPS requests to:\n\nBase RPC (mainnet.base.org) — to check USDC balances\n\nMitigations:\n\nAlways get human approval before any operation that spends funds\nOnly fund wallets with small amounts appropriate for the task — treat them as petty cash, not savings\nCreate separate wallets for separate budgets so you and your human can track spending\nYour wallets only need USDC on Base — no ETH needed for gas"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/operator-auteng-ai/pocket-money",
    "publisherUrl": "https://clawhub.ai/operator-auteng-ai/pocket-money",
    "owner": "operator-auteng-ai",
    "version": "2.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pocket-money",
    "downloadUrl": "https://openagent3.xyz/downloads/pocket-money",
    "agentUrl": "https://openagent3.xyz/skills/pocket-money/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pocket-money/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pocket-money/agent.md"
  }
}