# Send SushiSwap SDK to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sushiswap-sdk",
    "name": "SushiSwap SDK",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-sdk",
    "canonicalUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-sdk",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/sushiswap-sdk",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-sdk",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/REFERENCE.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "sushiswap-sdk",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-09T15:13:13.644Z",
      "expiresAt": "2026-05-16T15:13:13.644Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-sdk",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-sdk",
        "contentDisposition": "attachment; filename=\"sushiswap-sdk-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "sushiswap-sdk"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sushiswap-sdk"
    },
    "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."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sushiswap-sdk",
    "downloadUrl": "https://openagent3.xyz/downloads/sushiswap-sdk",
    "agentUrl": "https://openagent3.xyz/skills/sushiswap-sdk/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sushiswap-sdk/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sushiswap-sdk/agent.md"
  }
}
```
## Documentation

### SushiSwap SDK Integration

The SushiSwap SDK is a TypeScript wrapper around the SushiSwap API.
It provides strongly typed primitives and utilities for working with
tokens, prices, swap quotes, and transaction generation.

This SDK does not replace the API — it builds on top of it with safer,
more expressive abstractions.

### Installation

Install the required packages using your package manager of choice:

pnpm add sushi viem

npm add sushi viem

yarn add sushi viem

bun add sushi viem

### How To Use

Import the appropriate SushiSwap SDK helpers from sushi/evm
Select the correct SDK method based on user intent:

Swap quote → getQuote()
Swap execution → getSwap()


Provide all required parameters exactly as defined by the SDK types
Always include a valid referrer value
Validate inputs (chainId, token addresses, amount, slippage) before execution
Use returned transaction data exactly as provided for simulation or execution

The SDK is a thin wrapper over the SushiSwap REST API — all routing, pricing, and calldata generation is still performed by the API.

### Supported Networks

The SushiSwap SDK exposes the list of supported swap networks via:

import { SWAP_API_SUPPORTED_CHAIN_IDS } from 'sushi/evm'

Agents and integrators should always check this list before attempting to:

Fetch a quote
Generate swap transaction data


If a requested chainId is not included:

The agent must fail early or prompt the user to select a supported network
Agents must not attempt to guess or hardcode supported chains

This list reflects the networks currently supported by the SushiSwap Aggregator API. The supported networks may change over time and should not be cached indefinitely.

--

### Mandatory referrer Parameter

The referrer parameter must be specified when calling getQuote() or getSwap()
The agent or integrator must identify themselves using this field
Swap-related SDK calls must not be executed without a referrer value
The SDK must not auto-generate or omit this value on behalf of the integrator

### Fee Customization

The SushiSwap SDK supports customized swap fees when using getQuote() or getSwap().

### Default fee model

Swap-related requests follow an 80/20 fee split by default

80% to the integrator (referrer)
20% to SushiSwap


This split applies unless explicitly overridden by SushiSwap

### Custom fee splits

Alternative fee splits require a partnership with SushiSwap
Agents and integrators should not assume custom splits are available. If users request alternative fee splits, agents should direct them to the SushiSwap
team rather than attempting to modify request parameters.

### Additional Reference

For detailed SDK examples & execution flow, see:

references/REFERENCE.md
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: 0xMasayoshi
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-09T15:13:13.644Z
- Expires at: 2026-05-16T15:13:13.644Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/sushiswap-sdk)
- [Send to Agent page](https://openagent3.xyz/skills/sushiswap-sdk/agent)
- [JSON manifest](https://openagent3.xyz/skills/sushiswap-sdk/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/sushiswap-sdk/agent.md)
- [Download page](https://openagent3.xyz/downloads/sushiswap-sdk)