{"id":"c1dda810-f173-4d50-b5b0-a298ff613360","entityType":"agent","slug":"clawhub-skills-0xmasayoshi-sushiswap-sdk","name":"sushiswap-sdk","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-0xmasayoshi-sushiswap-sdk","canonicalPath":"/agent/clawhub-skills-0xmasayoshi-sushiswap-sdk","generatedAt":"2026-10-10T08:18:39.086Z","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":"TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic helpers for token amounts, prices, quotes, and swap transaction generation. USE THIS SKILL WHEN: - Building TypeScript or JavaScript applications - You want strongly typed token, amount, and fraction primitives - You need to request swap quotes or executable swap transactions via code - You want safer arithmetic, formatting, and comparisons without floating point errors - You prefer SDK-based integration over raw HTTP requests --- name: sushiswap-sdk description: > TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic helpers for token amounts, prices, quotes, and swap transaction generation. USE THIS SKILL WHEN: - Building TypeScript or JavaScript applications - You want strongly typed token, amount, and fraction primitives - You need to","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"clawhub skill install skills:0xmasayoshi:sushiswap-sdk","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/0xmasayoshi/sushiswap-sdk","homepage":null,"primaryLinks":[{"label":"View on ClawHub","url":"https://github.com/openclaw/skills/tree/main/skills/0xmasayoshi/sushiswap-sdk","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":50,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic hel"},"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":"customized","status":"self-declared"}],"verifiedCount":0,"selfDeclaredCount":2,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"},{"key":"customized","type":"capability","support":"supported","confidenceSource":"profile","notes":"Declared in agent profile metadata"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile capability:customized|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:28:47.831Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-28T15:28:47.831Z","lastIndexedAt":null,"nextCrawlAt":"2026-03-01T15:28:47.831Z","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:0xmasayoshi:sushiswap-sdk","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-0xmasayoshi-sushiswap-sdk/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/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-10T08:18:39.086Z"}},"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-0xmasayoshi-sushiswap-sdk/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xmasayoshi-sushiswap-sdk/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: sushiswap-sdk\ndescription: >\n  TypeScript SDK for interacting with the SushiSwap Aggregator and related\n  primitives. This SDK is a typed wrapper over the SushiSwap API, providing\n  ergonomic helpers for token amounts, prices, quotes, and swap transaction\n  generation.\n  \n  USE THIS SKILL WHEN:\n  - Building TypeScript or JavaScript applications\n  - You want strongly typed token, amount, and fraction primitives\n  - You need to request swap quotes or executable swap transactions via code\n  - You want safer arithmetic, formatting, and comparisons without floating point errors\n  - You prefer SDK-based integration over raw HTTP requests\n---\n\n# SushiSwap SDK Integration\n\nThe SushiSwap SDK is a **TypeScript wrapper** around the SushiSwap API.\nIt provides **strongly typed primitives** and utilities for working with\ntokens, prices, swap quotes, and transaction generation.\n\nThis SDK does **not** replace the API — it builds on top of it with safer,\nmore expressive abstractions.\n\n---\n\n## Installation\n\nInstall the required packages using your package manager of choice:\n\n```bash\npnpm add sushi viem\n```\n\n```bash\nnpm add sushi viem\n```\n\n```bash\nyarn add sushi viem\n```\n\n```bash\nbun add sushi viem\n```\n\n---\n\n## How To Use\n\n1. Import the appropriate SushiSwap SDK helpers from `sushi/evm`\n2. Select the correct SDK method based on user intent:\n    - Swap quote → `getQuote()`\n    - Swap execution → `getSwap()`\n3. Provide all required parameters exactly as defined by the SDK types\n4. **Always include a valid `referrer` value**\n5. Validate inputs (chainId, token addresses, amount, slippage) before execution\n6. Use returned transaction data exactly as provided for simulation or execution\n\nThe SDK is a thin wrapper over the SushiSwap REST API — all routing, pricing, and calldata generation is still performed by the API.\n\n---\n\n## Supported Networks\n\nThe SushiSwap SDK exposes the list of supported swap networks via:\n\n```ts\nimport { SWAP_API_SUPPORTED_CHAIN_IDS } from 'sushi/evm'\n```\n\n- Agents and integrators should always check this list before attempting to:\n    - Fetch a quote\n    - Generate swap transaction data\n- If a requested chainId is not included:\n    - The agent must fail early or prompt the user to select a supported network\n    - Agents must not attempt to guess or hardcode supported chains\n\nThis list reflects the networks currently supported by the SushiSwap Aggregator API. The supported networks may change over time and should not be cached indefinitely.\n\n--\n\n## Mandatory `referrer` Parameter\n\n- The `referrer` parameter **must be specified** when calling `getQuote()` or `getSwap()`\n- The agent or integrator **must identify themselves** using this field\n- Swap-related SDK calls must not be executed without a `referrer` value\n- The SDK must not auto-generate or omit this value on behalf of the integrator\n\n---\n\n## Fee Customization\n\nThe SushiSwap SDK supports customized swap fees when using `getQuote()` or `getSwap()`.\n\n### Default fee model\n\n- Swap-related requests follow an **80/20 fee split by default**\n    - **80%** to the integrator (referrer)\n    - **20%** to SushiSwap\n- This split applies unless explicitly overridden by SushiSwap\n\n### Custom fee splits\n\n- Alternative fee splits require a **partnership** with SushiSwap\n- Agents and integrators should not assume custom splits are available. If users request alternative fee splits, agents should direct them to the SushiSwap\nteam rather than attempting to modify request parameters.\n\n---\n\n## Additional Reference\n\nFor detailed SDK examples & execution flow, see:\n\n[references/REFERENCE.md](references/REFERENCE.md)","readmeExcerpt":"--- name: sushiswap-sdk description: > TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic helpers for token amounts, prices, quotes, and swap transaction generation. USE THIS SKILL WHEN: - Building TypeScript or JavaScript applications - You want strongly typed token, amount, and fraction primitives - You need to","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"pnpm add sushi viem"},{"language":"bash","snippet":"npm add sushi viem"},{"language":"bash","snippet":"yarn add sushi viem"},{"language":"bash","snippet":"bun add sushi viem"},{"language":"ts","snippet":"import { SWAP_API_SUPPORTED_CHAIN_IDS } from 'sushi/evm'"}],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"CLAWHUB","editorialOverview":"TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic helpers for token amounts, prices, quotes, and swap transaction generation. USE THIS SKILL WHEN: - Building TypeScript or JavaScript applications - You want strongly typed token, amount, and fraction primitives - You need to request swap quotes or executable swap transactions via code - You want safer arithmetic, formatting, and comparisons without floating point errors - You prefer SDK-based integration over raw HTTP requests --- name: sushiswap-sdk description: > TypeScript SDK for interacting with the SushiSwap Aggregator and related primitives. This SDK is a typed wrapper over the SushiSwap API, providing ergonomic helpers for token amounts, prices, quotes, and swap transaction generation. USE THIS SKILL WHEN: - Building TypeScript or JavaScript applications - You want strongly typed token, amount, and fraction primitives - You need to","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":438,"uniquenessScore":59,"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-10T08:18:39.086Z","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"}]}}}