{
  "schemaVersion": "1.0",
  "item": {
    "slug": "x402-compute",
    "name": "x402 Compute",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivaavimusic/x402-compute",
    "canonicalUrl": "https://clawhub.ai/ivaavimusic/x402-compute",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/x402-compute",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=x402-compute",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "requirements.txt",
      "SKILL.md",
      "scripts/browse_regions.py",
      "scripts/browse_plans.py",
      "scripts/wallet_signing.py",
      "scripts/list_instances.py"
    ],
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/x402-compute"
    },
    "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/x402-compute",
    "agentPageUrl": "https://openagent3.xyz/skills/x402-compute/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x402-compute/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x402-compute/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": "x402 Singularity Compute",
        "body": "Provision and manage GPU/VPS instances paid with USDC via the x402 payment protocol.\n\nBase URL: https://compute.x402layer.cc\nNetworks: Base (EVM) • Solana\nCurrency: USDC\nProtocol: HTTP 402 Payment Required\n\nAccess Note: Preferred access is SSH public key. If no SSH key is provided, a one-time password fallback can be fetched once via API."
      },
      {
        "title": "1. Install Dependencies",
        "body": "pip install -r {baseDir}/requirements.txt"
      },
      {
        "title": "2. Set Up Wallet",
        "body": "Option A: Base (EVM) Private Key\n\nexport PRIVATE_KEY=\"0x...\"\nexport WALLET_ADDRESS=\"0x...\"\n\nOption B: Solana Private Key\n\nexport SOLANA_SECRET_KEY=\"base58-or-json-array\"\nexport SOLANA_WALLET_ADDRESS=\"YourSolanaAddress\"\nexport COMPUTE_AUTH_CHAIN=\"solana\"\n\nCreate COMPUTE_API_KEY (optional) for management endpoints:\n\npython {baseDir}/scripts/create_api_key.py --label \"my-agent\""
      },
      {
        "title": "⚠️ Security Notice",
        "body": "IMPORTANT: This skill handles private keys for signing blockchain transactions.\n\nNever use your primary custody wallet - Create a dedicated wallet with limited funds\nPrivate keys are used locally only - They sign transactions locally and are never transmitted\nFor testing: Use a throwaway wallet with minimal USDC"
      },
      {
        "title": "Scripts Overview",
        "body": "ScriptPurposebrowse_plans.pyList available GPU/VPS plans with pricingbrowse_regions.pyList deployment regionsprovision.pyProvision a new instance (x402 payment, --months or --days)create_api_key.pyCreate an API key for agent access (optional)list_instances.pyList your active instancesinstance_details.pyGet details for a specific instanceget_one_time_password.pyRetrieve one-time root password fallbackextend_instance.pyExtend instance lifetime (x402 payment)destroy_instance.pyDestroy an instancesolana_signing.pyInternal helper for Solana x402 payment signing"
      },
      {
        "title": "Instance Lifecycle",
        "body": "Browse Plans → Provision (pay USDC) → Active → Extend / Destroy → Expired\n\nInstances expire after their prepaid duration. Extend before expiry to keep them running."
      },
      {
        "title": "A. Browse and Provision",
        "body": "# List GPU plans\npython {baseDir}/scripts/browse_plans.py\n\n# Filter by type (gpu/vps/high-performance)\npython {baseDir}/scripts/browse_plans.py --type vcg\n\n# Check available regions\npython {baseDir}/scripts/browse_regions.py\n\n# Generate a dedicated SSH key once (recommended for agents)\nssh-keygen -t ed25519 -N \"\" -f ~/.ssh/x402_compute\n\n# Provision an instance for 1 month (triggers x402 payment)\npython {baseDir}/scripts/provision.py vcg-a100-1c-2g-6gb lax --months 1 --label \"my-gpu\" --ssh-key-file ~/.ssh/x402_compute.pub\n\n# Provision a daily instance (cheaper, use-and-throw)\npython {baseDir}/scripts/provision.py vc2-1c-1gb ewr --days 1 --label \"test-daily\" --ssh-key-file ~/.ssh/x402_compute.pub\n\n# Provision for 3 days\npython {baseDir}/scripts/provision.py vc2-1c-1gb ewr --days 3 --label \"short-task\" --ssh-key-file ~/.ssh/x402_compute.pub\n\n# Provision on Solana\npython {baseDir}/scripts/provision.py vc2-1c-1gb ewr --months 1 --label \"my-sol-vps\" --network solana --ssh-key-file ~/.ssh/x402_compute.pub\n\n# ⚠️ After provisioning, wait 2-3 minutes for Vultr to complete setup\n# Then fetch your instance details (IP, status):\npython {baseDir}/scripts/instance_details.py <instance_id>"
      },
      {
        "title": "B. Manage Instances",
        "body": "# Optional: create a reusable API key (avoids message signing each request)\npython {baseDir}/scripts/create_api_key.py --label \"my-agent\"\n\n# List all your instances\npython {baseDir}/scripts/list_instances.py\n\n# Get details for one instance\npython {baseDir}/scripts/instance_details.py <instance_id>\n\n# Optional fallback if no SSH key was provided during provisioning\npython {baseDir}/scripts/get_one_time_password.py <instance_id>\n\n# Extend by 1 day\npython {baseDir}/scripts/extend_instance.py <instance_id> --hours 24\n\n# Extend by 1 month\npython {baseDir}/scripts/extend_instance.py <instance_id> --hours 720\n\n# Extend on Solana\npython {baseDir}/scripts/extend_instance.py <instance_id> --hours 720 --network solana\n\n# Destroy\npython {baseDir}/scripts/destroy_instance.py <instance_id>"
      },
      {
        "title": "x402 Payment Flow",
        "body": "Request provision/extend → server returns HTTP 402 with payment requirements\nScript signs payment locally:\n\nBase: USDC TransferWithAuthorization (EIP-712)\nSolana: signed SPL transfer transaction payload\n\n\nScript resends request with X-Payment header containing signed payload\nServer verifies payment, settles on-chain, provisions/extends instance\n\nFor Solana, transient facilitator failures can happen. Retry once or twice if you get a temporary 5xx verify error."
      },
      {
        "title": "Plan Types",
        "body": "TypePlan PrefixDescriptionGPUvcg-*GPU-accelerated (A100, H100, etc.)VPSvc2-*Standard cloud computeHigh-Perfvhp-*High-performance dedicatedDedicatedvdc-*Dedicated bare-metal"
      },
      {
        "title": "Environment Reference",
        "body": "VariableRequired ForDescriptionPRIVATE_KEYBase paymentsEVM private key (0x...)WALLET_ADDRESSBase modeBase wallet address (0x...)SOLANA_SECRET_KEYSolana modeSolana signer key (base58 or JSON byte array)SOLANA_WALLET_ADDRESSSolana modeSolana wallet address (optional if derivable from secret)COMPUTE_AUTH_CHAINSolana/base auth overridebase or solanaCOMPUTE_API_KEYOptionalReusable API key for compute management endpoints"
      },
      {
        "title": "API Reference",
        "body": "For full endpoint details, see references/api-reference.md."
      },
      {
        "title": "Resources",
        "body": "📖 Documentation: studio.x402layer.cc/docs/agentic-access/x402-compute\n🖥️ Compute Dashboard: compute.x402layer.cc\n🌐 x402 Studio: studio.x402layer.cc"
      }
    ],
    "body": "x402 Singularity Compute\n\nProvision and manage GPU/VPS instances paid with USDC via the x402 payment protocol.\n\nBase URL: https://compute.x402layer.cc Networks: Base (EVM) • Solana Currency: USDC Protocol: HTTP 402 Payment Required\n\nAccess Note: Preferred access is SSH public key. If no SSH key is provided, a one-time password fallback can be fetched once via API.\n\nQuick Start\n1. Install Dependencies\npip install -r {baseDir}/requirements.txt\n\n2. Set Up Wallet\nOption A: Base (EVM) Private Key\nexport PRIVATE_KEY=\"0x...\"\nexport WALLET_ADDRESS=\"0x...\"\n\nOption B: Solana Private Key\nexport SOLANA_SECRET_KEY=\"base58-or-json-array\"\nexport SOLANA_WALLET_ADDRESS=\"YourSolanaAddress\"\nexport COMPUTE_AUTH_CHAIN=\"solana\"\n\n\nCreate COMPUTE_API_KEY (optional) for management endpoints:\n\npython {baseDir}/scripts/create_api_key.py --label \"my-agent\"\n\n⚠️ Security Notice\n\nIMPORTANT: This skill handles private keys for signing blockchain transactions.\n\nNever use your primary custody wallet - Create a dedicated wallet with limited funds\nPrivate keys are used locally only - They sign transactions locally and are never transmitted\nFor testing: Use a throwaway wallet with minimal USDC\nScripts Overview\nScript\tPurpose\nbrowse_plans.py\tList available GPU/VPS plans with pricing\nbrowse_regions.py\tList deployment regions\nprovision.py\tProvision a new instance (x402 payment, --months or --days)\ncreate_api_key.py\tCreate an API key for agent access (optional)\nlist_instances.py\tList your active instances\ninstance_details.py\tGet details for a specific instance\nget_one_time_password.py\tRetrieve one-time root password fallback\nextend_instance.py\tExtend instance lifetime (x402 payment)\ndestroy_instance.py\tDestroy an instance\nsolana_signing.py\tInternal helper for Solana x402 payment signing\nInstance Lifecycle\nBrowse Plans → Provision (pay USDC) → Active → Extend / Destroy → Expired\n\n\nInstances expire after their prepaid duration. Extend before expiry to keep them running.\n\nWorkflows\nA. Browse and Provision\n# List GPU plans\npython {baseDir}/scripts/browse_plans.py\n\n# Filter by type (gpu/vps/high-performance)\npython {baseDir}/scripts/browse_plans.py --type vcg\n\n# Check available regions\npython {baseDir}/scripts/browse_regions.py\n\n# Generate a dedicated SSH key once (recommended for agents)\nssh-keygen -t ed25519 -N \"\" -f ~/.ssh/x402_compute\n\n# Provision an instance for 1 month (triggers x402 payment)\npython {baseDir}/scripts/provision.py vcg-a100-1c-2g-6gb lax --months 1 --label \"my-gpu\" --ssh-key-file ~/.ssh/x402_compute.pub\n\n# Provision a daily instance (cheaper, use-and-throw)\npython {baseDir}/scripts/provision.py vc2-1c-1gb ewr --days 1 --label \"test-daily\" --ssh-key-file ~/.ssh/x402_compute.pub\n\n# Provision for 3 days\npython {baseDir}/scripts/provision.py vc2-1c-1gb ewr --days 3 --label \"short-task\" --ssh-key-file ~/.ssh/x402_compute.pub\n\n# Provision on Solana\npython {baseDir}/scripts/provision.py vc2-1c-1gb ewr --months 1 --label \"my-sol-vps\" --network solana --ssh-key-file ~/.ssh/x402_compute.pub\n\n# ⚠️ After provisioning, wait 2-3 minutes for Vultr to complete setup\n# Then fetch your instance details (IP, status):\npython {baseDir}/scripts/instance_details.py <instance_id>\n\nB. Manage Instances\n# Optional: create a reusable API key (avoids message signing each request)\npython {baseDir}/scripts/create_api_key.py --label \"my-agent\"\n\n# List all your instances\npython {baseDir}/scripts/list_instances.py\n\n# Get details for one instance\npython {baseDir}/scripts/instance_details.py <instance_id>\n\n# Optional fallback if no SSH key was provided during provisioning\npython {baseDir}/scripts/get_one_time_password.py <instance_id>\n\n# Extend by 1 day\npython {baseDir}/scripts/extend_instance.py <instance_id> --hours 24\n\n# Extend by 1 month\npython {baseDir}/scripts/extend_instance.py <instance_id> --hours 720\n\n# Extend on Solana\npython {baseDir}/scripts/extend_instance.py <instance_id> --hours 720 --network solana\n\n# Destroy\npython {baseDir}/scripts/destroy_instance.py <instance_id>\n\nx402 Payment Flow\nRequest provision/extend → server returns HTTP 402 with payment requirements\nScript signs payment locally:\nBase: USDC TransferWithAuthorization (EIP-712)\nSolana: signed SPL transfer transaction payload\nScript resends request with X-Payment header containing signed payload\nServer verifies payment, settles on-chain, provisions/extends instance\n\nFor Solana, transient facilitator failures can happen. Retry once or twice if you get a temporary 5xx verify error.\n\nPlan Types\nType\tPlan Prefix\tDescription\nGPU\tvcg-*\tGPU-accelerated (A100, H100, etc.)\nVPS\tvc2-*\tStandard cloud compute\nHigh-Perf\tvhp-*\tHigh-performance dedicated\nDedicated\tvdc-*\tDedicated bare-metal\nEnvironment Reference\nVariable\tRequired For\tDescription\nPRIVATE_KEY\tBase payments\tEVM private key (0x...)\nWALLET_ADDRESS\tBase mode\tBase wallet address (0x...)\nSOLANA_SECRET_KEY\tSolana mode\tSolana signer key (base58 or JSON byte array)\nSOLANA_WALLET_ADDRESS\tSolana mode\tSolana wallet address (optional if derivable from secret)\nCOMPUTE_AUTH_CHAIN\tSolana/base auth override\tbase or solana\nCOMPUTE_API_KEY\tOptional\tReusable API key for compute management endpoints\nAPI Reference\n\nFor full endpoint details, see references/api-reference.md.\n\nResources\n📖 Documentation: studio.x402layer.cc/docs/agentic-access/x402-compute\n🖥️ Compute Dashboard: compute.x402layer.cc\n🌐 x402 Studio: studio.x402layer.cc"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivaavimusic/x402-compute",
    "publisherUrl": "https://clawhub.ai/ivaavimusic/x402-compute",
    "owner": "ivaavimusic",
    "version": "1.0.7",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/x402-compute",
    "downloadUrl": "https://openagent3.xyz/downloads/x402-compute",
    "agentUrl": "https://openagent3.xyz/skills/x402-compute/agent",
    "manifestUrl": "https://openagent3.xyz/skills/x402-compute/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/x402-compute/agent.md"
  }
}