{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawcontract",
    "name": "clawcontract",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/sufnoobzac/clawcontract",
    "canonicalUrl": "https://clawhub.ai/sufnoobzac/clawcontract",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clawcontract",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawcontract",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/commands.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/clawcontract"
    },
    "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/clawcontract",
    "agentPageUrl": "https://openagent3.xyz/skills/clawcontract/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawcontract/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawcontract/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": "ClawContract",
        "body": "Generate, analyze, deploy, and verify smart contracts on BNB Chain via CLI.\n\nSource & install: https://github.com/cvpfus/clawcontract — clone the repo, run pnpm install && pnpm build && npm link."
      },
      {
        "title": "Quick Start",
        "body": "Generate a contract:\n\nclawcontract generate \"escrow contract for peer to peer trades with dispute resolution and timeout auto release\"\n\nFull pipeline (generate → analyze → deploy → verify):\n\nclawcontract full \"escrow contract for peer to peer trades with dispute resolution and timeout auto release\" --chain bsc-testnet\n\nDeploy an existing contract:\n\nclawcontract deploy ./contracts/VibeToken.sol --chain bsc-testnet\n\nInteract with a deployed contract:\n\nclawcontract interact 0xABC... name --chain bsc-testnet\n\nList deployment records:\n\nclawcontract list\nclawcontract list --chain bsc-testnet\n\nDelete a deployment record:\n\nclawcontract delete 0xABC...def"
      },
      {
        "title": "References",
        "body": "Full command reference (all flags, examples, notes): See {baseDir}/references/commands.md"
      },
      {
        "title": "Supported Chains",
        "body": "KeyChainTestnetbsc-mainnetBNB Smart ChainNobsc-testnetBNB Smart Chain TestnetYesopbnb-mainnetopBNBNoopbnb-testnetopBNB TestnetYes\n\nDefault: bsc-testnet."
      },
      {
        "title": "Env Vars",
        "body": "Configure via docker-compose.yml or set directly in the environment.\n\nVariableRequiredPurposeCLAWCONTRACT_OPENROUTER_API_KEYYesAI contract generationCLAWCONTRACT_PRIVATE_KEYFor deployWallet for deployment — must be supplied by userCLAWCONTRACT_BSCSCAN_API_KEYFor verifyContract verification on BscScan/opBNBScanCLAWCONTRACT_OPENROUTER_MODELNoModel override (default: anthropic/claude-sonnet-4-20250514)"
      },
      {
        "title": "Artifacts",
        "body": "The CLI writes the following files to disk during normal operation:\n\nPathWhenContentscontracts/*.solgenerate, fullGenerated Solidity source.deployments/*.jsondeploy, fullDeployment metadata (address, chain, tx hash)"
      },
      {
        "title": "Safety",
        "body": "No auto-generated keys. CLAWCONTRACT_PRIVATE_KEY must be explicitly provided by the user via environment variable. The CLI will not generate or persist a private key on its own.\nMainnet warning (non-blocking). Deployment to mainnet chains prints a bold warning about real costs but does not block on a prompt — the deploy proceeds automatically. This is by design: the CLI targets agent-driven pipelines where stdin is unavailable. Users control mainnet exposure by choosing --chain explicitly (default is bsc-testnet).\ndelete confirmation prompt. delete is the sole interactive command — it shows deployment details and asks Remove this deployment? (y/N). Use --force to skip the prompt (agent-friendly). This is safe because delete only removes local metadata; it cannot affect on-chain state.\nAutomatic fix attempts. During full, if high-severity issues are found the AI attempts to fix and re-analyze (up to 3 rounds). This means the agent may modify generated source before deploy. Mitigations:\n\nUse --skip-fix to disable auto-fix entirely.\nUse --skip-deploy to review the final source and analysis before any on-chain action.\nFixes only target the generated file in contracts/; no other files are modified.\n\n\nAccidental live-deploy risk. Because CLAWCONTRACT_PRIVATE_KEY is mandatory for deploy and the default chain is bsc-testnet, accidental mainnet deploys require the user to both set a funded mainnet key and explicitly pass --chain bsc-mainnet or --chain opbnb-mainnet. Neither can happen silently.\nPrefer testnet chains and throwaway keys for initial trials."
      }
    ],
    "body": "ClawContract\n\nGenerate, analyze, deploy, and verify smart contracts on BNB Chain via CLI.\n\nSource & install: https://github.com/cvpfus/clawcontract — clone the repo, run pnpm install && pnpm build && npm link.\n\nQuick Start\n\nGenerate a contract:\n\nclawcontract generate \"escrow contract for peer to peer trades with dispute resolution and timeout auto release\"\n\n\nFull pipeline (generate → analyze → deploy → verify):\n\nclawcontract full \"escrow contract for peer to peer trades with dispute resolution and timeout auto release\" --chain bsc-testnet\n\n\nDeploy an existing contract:\n\nclawcontract deploy ./contracts/VibeToken.sol --chain bsc-testnet\n\n\nInteract with a deployed contract:\n\nclawcontract interact 0xABC... name --chain bsc-testnet\n\n\nList deployment records:\n\nclawcontract list\nclawcontract list --chain bsc-testnet\n\n\nDelete a deployment record:\n\nclawcontract delete 0xABC...def\n\nReferences\nFull command reference (all flags, examples, notes): See {baseDir}/references/commands.md\nSupported Chains\nKey\tChain\tTestnet\nbsc-mainnet\tBNB Smart Chain\tNo\nbsc-testnet\tBNB Smart Chain Testnet\tYes\nopbnb-mainnet\topBNB\tNo\nopbnb-testnet\topBNB Testnet\tYes\n\nDefault: bsc-testnet.\n\nEnv Vars\n\nConfigure via docker-compose.yml or set directly in the environment.\n\nVariable\tRequired\tPurpose\nCLAWCONTRACT_OPENROUTER_API_KEY\tYes\tAI contract generation\nCLAWCONTRACT_PRIVATE_KEY\tFor deploy\tWallet for deployment — must be supplied by user\nCLAWCONTRACT_BSCSCAN_API_KEY\tFor verify\tContract verification on BscScan/opBNBScan\nCLAWCONTRACT_OPENROUTER_MODEL\tNo\tModel override (default: anthropic/claude-sonnet-4-20250514)\nArtifacts\n\nThe CLI writes the following files to disk during normal operation:\n\nPath\tWhen\tContents\ncontracts/*.sol\tgenerate, full\tGenerated Solidity source\n.deployments/*.json\tdeploy, full\tDeployment metadata (address, chain, tx hash)\nSafety\nNo auto-generated keys. CLAWCONTRACT_PRIVATE_KEY must be explicitly provided by the user via environment variable. The CLI will not generate or persist a private key on its own.\nMainnet warning (non-blocking). Deployment to mainnet chains prints a bold warning about real costs but does not block on a prompt — the deploy proceeds automatically. This is by design: the CLI targets agent-driven pipelines where stdin is unavailable. Users control mainnet exposure by choosing --chain explicitly (default is bsc-testnet).\ndelete confirmation prompt. delete is the sole interactive command — it shows deployment details and asks Remove this deployment? (y/N). Use --force to skip the prompt (agent-friendly). This is safe because delete only removes local metadata; it cannot affect on-chain state.\nAutomatic fix attempts. During full, if high-severity issues are found the AI attempts to fix and re-analyze (up to 3 rounds). This means the agent may modify generated source before deploy. Mitigations:\nUse --skip-fix to disable auto-fix entirely.\nUse --skip-deploy to review the final source and analysis before any on-chain action.\nFixes only target the generated file in contracts/; no other files are modified.\nAccidental live-deploy risk. Because CLAWCONTRACT_PRIVATE_KEY is mandatory for deploy and the default chain is bsc-testnet, accidental mainnet deploys require the user to both set a funded mainnet key and explicitly pass --chain bsc-mainnet or --chain opbnb-mainnet. Neither can happen silently.\nPrefer testnet chains and throwaway keys for initial trials."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/sufnoobzac/clawcontract",
    "publisherUrl": "https://clawhub.ai/sufnoobzac/clawcontract",
    "owner": "sufnoobzac",
    "version": "1.0.8",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawcontract",
    "downloadUrl": "https://openagent3.xyz/downloads/clawcontract",
    "agentUrl": "https://openagent3.xyz/skills/clawcontract/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawcontract/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawcontract/agent.md"
  }
}