{"id":"b869bc80-9903-4b07-99a2-0b64242e00c4","entityType":"agent","slug":"clawhub-skills-0xrag-trade","name":"trade","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-0xrag-trade","canonicalPath":"/agent/clawhub-skills-0xrag-trade","generatedAt":"2026-10-09T21:42:22.203Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"description":"Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like \"buy ETH\", \"sell ETH for USDC\", \"convert USDC to ETH\", \"get some ETH\". --- name: trade description: Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like \"buy ETH\", \"sell ETH for USDC\", \"convert USDC to ETH\", \"get some ETH\". user-invocable: true disable-model-invocation: false allowed-tools: [\"Bash(npx awal@latest status*)\", \"Bash(npx awal@latest trade *)\", \"Bash(np","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"clawhub skill install skills:0xrag:trade","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/0xrag/trade","homepage":null,"primaryLinks":[{"label":"View on ClawHub","url":"https://github.com/openclaw/skills/tree/main/skills/0xrag/trade","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":50,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Cov"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[{"label":"be","status":"self-declared"},{"label":"y","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":3,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"be","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"},{"key":"y","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:be|supported|profile capability:y|supported|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-02-28T15:29:00.282Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-28T15:29:00.282Z","lastIndexedAt":null,"nextCrawlAt":"2026-03-01T15:29:00.282Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install skills:0xrag:trade","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T21:42:22.203Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xrag-trade/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"readme":"---\nname: trade\ndescription: Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like \"buy ETH\", \"sell ETH for USDC\", \"convert USDC to ETH\", \"get some ETH\".\nuser-invocable: true\ndisable-model-invocation: false\nallowed-tools: [\"Bash(npx awal@latest status*)\", \"Bash(npx awal@latest trade *)\", \"Bash(npx awal@latest balance*)\"]\n---\n\n# Trading Tokens\n\nUse the `npx awal@latest trade` command to swap tokens on Base network via the CDP Swap API. You must be authenticated to trade.\n\n## Confirm wallet is initialized and authed\n\n```bash\nnpx awal@latest status\n```\n\nIf the wallet is not authenticated, refer to the `authenticate-wallet` skill.\n\n## Command Syntax\n\n```bash\nnpx awal@latest trade <amount> <from> <to> [options]\n```\n\n## Arguments\n\n| Argument | Description                                                            |\n| -------- | ---------------------------------------------------------------------- |\n| `amount` | Amount to swap (see Amount Formats below)                              |\n| `from`   | Source token: alias (usdc, eth, weth) or contract address (0x...)      |\n| `to`     | Destination token: alias (usdc, eth, weth) or contract address (0x...) |\n\n## Amount Formats\n\nThe amount can be specified in multiple formats:\n\n| Format        | Example                | Description                            |\n| ------------- | ---------------------- | -------------------------------------- |\n| Dollar prefix | `'$1.00'`, `'$0.50'`  | USD notation (decimals based on token) |\n| Decimal       | `1.0`, `0.50`, `0.001` | Human-readable with decimal point      |\n| Whole number  | `5`, `100`             | Interpreted as whole tokens            |\n| Atomic units  | `500000`               | Large integers treated as atomic units |\n\n**Auto-detection**: Large integers without a decimal point are treated as atomic units. For example, `500000` for USDC (6 decimals) = $0.50.\n\n**Decimals**: For known tokens (usdc=6, eth=18, weth=18), decimals are automatic. For arbitrary contract addresses, decimals are read from the token contract.\n\n## Options\n\n| Option               | Description                                   |\n| -------------------- | --------------------------------------------- |\n| `-c, --chain <name>` | Blockchain network (default: base)            |\n| `-s, --slippage <n>` | Slippage tolerance in basis points (100 = 1%) |\n| `--json`             | Output result as JSON                         |\n\n## Token Aliases\n\n| Alias | Token | Decimals | Address                                    |\n| ----- | ----- | -------- | ------------------------------------------ |\n| usdc  | USDC  | 6        | 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 |\n| eth   | ETH   | 18       | 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE |\n| weth  | WETH  | 18       | 0x4200000000000000000000000000000000000006 |\n\n**IMPORTANT**: Always single-quote amounts that use `$` to prevent bash variable expansion (e.g. `'$1.00'` not `$1.00`).\n\n## Examples\n\n```bash\n# Swap $1 USDC for ETH (dollar prefix — note the single quotes)\nnpx awal@latest trade '$1' usdc eth\n\n# Swap 0.50 USDC for ETH (decimal format)\nnpx awal@latest trade 0.50 usdc eth\n\n# Swap 500000 atomic units of USDC for ETH\nnpx awal@latest trade 500000 usdc eth\n\n# Swap 0.01 ETH for USDC\nnpx awal@latest trade 0.01 eth usdc\n\n# Swap with custom slippage (2%)\nnpx awal@latest trade '$5' usdc eth --slippage 200\n\n# Swap using contract addresses (decimals read from chain)\nnpx awal@latest trade 100 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 0x4200000000000000000000000000000000000006\n\n# Get JSON output\nnpx awal@latest trade '$1' usdc eth --json\n```\n\n## Prerequisites\n\n- Must be authenticated (`awal status` to check)\n- Wallet must have sufficient balance of the source token\n\n## Error Handling\n\nCommon errors:\n\n- \"Not authenticated\" - Run `awal auth login <email>` first\n- \"Invalid token\" - Use a valid alias (usdc, eth, weth) or 0x address\n- \"Cannot swap a token to itself\" - From and to must be different\n- \"Swap failed: TRANSFER_FROM_FAILED\" - Insufficient balance or approval issue\n- \"No liquidity\" - Try a smaller amount or different token pair\n- \"Amount has X decimals but token only supports Y\" - Too many decimal places\n","readmeExcerpt":"--- name: trade description: Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like \"buy ETH\", \"sell ETH for USDC\", \"convert USDC to ETH\", \"get some ETH\". user-invocable: true disable-model-invocation: false allowed-tools: [\"Bash(npx awal@latest status*)\", \"Bash(npx awal@latest trade *)\", \"Bash(np","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"npx awal@latest status"},{"language":"bash","snippet":"npx awal@latest trade <amount> <from> <to> [options]"},{"language":"bash","snippet":"# Swap $1 USDC for ETH (dollar prefix — note the single quotes)\nnpx awal@latest trade '$1' usdc eth\n\n# Swap 0.50 USDC for ETH (decimal format)\nnpx awal@latest trade 0.50 usdc eth\n\n# Swap 500000 atomic units of USDC for ETH\nnpx awal@latest trade 500000 usdc eth\n\n# Swap 0.01 ETH for USDC\nnpx awal@latest trade 0.01 eth usdc\n\n# Swap with custom slippage (2%)\nnpx awal@latest trade '$5' usdc eth --slippage 200\n\n# Swap using contract addresses (decimals read from chain)\nnpx awal@latest trade 100 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 0x4200000000000000000000000000000000000006\n\n# Get JSON output\nnpx awal@latest trade '$1' usdc eth --json"}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"CLAWHUB","editorialOverview":"Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like \"buy ETH\", \"sell ETH for USDC\", \"convert USDC to ETH\", \"get some ETH\". --- name: trade description: Swap or trade tokens on Base network. Use when you or the user want to trade, swap, exchange, buy, sell, or convert between tokens like USDC, ETH, and WETH. Covers phrases like \"buy ETH\", \"sell ETH for USDC\", \"convert USDC to ETH\", \"get some ETH\". user-invocable: true disable-model-invocation: false allowed-tools: [\"Bash(npx awal@latest status*)\", \"Bash(npx awal@latest trade *)\", \"Bash(np","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":402,"uniquenessScore":61,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T21:42:22.203Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}