{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/sushiswap-sdk",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sushiswap-sdk",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/REFERENCE.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-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/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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/sushiswap-sdk",
    "agentPageUrl": "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"
  },
  "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": "SushiSwap SDK Integration",
        "body": "The 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."
      },
      {
        "title": "Installation",
        "body": "Install the required packages using your package manager of choice:\n\npnpm add sushi viem\n\nnpm add sushi viem\n\nyarn add sushi viem\n\nbun add sushi viem"
      },
      {
        "title": "How To Use",
        "body": "Import the appropriate SushiSwap SDK helpers from sushi/evm\nSelect the correct SDK method based on user intent:\n\nSwap quote → getQuote()\nSwap execution → getSwap()\n\n\nProvide all required parameters exactly as defined by the SDK types\nAlways include a valid referrer value\nValidate inputs (chainId, token addresses, amount, slippage) before execution\nUse 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."
      },
      {
        "title": "Supported Networks",
        "body": "The SushiSwap SDK exposes the list of supported swap networks via:\n\nimport { SWAP_API_SUPPORTED_CHAIN_IDS } from 'sushi/evm'\n\nAgents and integrators should always check this list before attempting to:\n\nFetch a quote\nGenerate swap transaction data\n\n\nIf a requested chainId is not included:\n\nThe agent must fail early or prompt the user to select a supported network\nAgents 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--"
      },
      {
        "title": "Mandatory referrer Parameter",
        "body": "The referrer parameter must be specified when calling getQuote() or getSwap()\nThe agent or integrator must identify themselves using this field\nSwap-related SDK calls must not be executed without a referrer value\nThe SDK must not auto-generate or omit this value on behalf of the integrator"
      },
      {
        "title": "Fee Customization",
        "body": "The SushiSwap SDK supports customized swap fees when using getQuote() or getSwap()."
      },
      {
        "title": "Default fee model",
        "body": "Swap-related requests follow an 80/20 fee split by default\n\n80% to the integrator (referrer)\n20% to SushiSwap\n\n\nThis split applies unless explicitly overridden by SushiSwap"
      },
      {
        "title": "Custom fee splits",
        "body": "Alternative fee splits require a partnership with SushiSwap\nAgents 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."
      },
      {
        "title": "Additional Reference",
        "body": "For detailed SDK examples & execution flow, see:\n\nreferences/REFERENCE.md"
      }
    ],
    "body": "SushiSwap SDK Integration\n\nThe 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.\n\nThis SDK does not replace the API — it builds on top of it with safer, more expressive abstractions.\n\nInstallation\n\nInstall the required packages using your package manager of choice:\n\npnpm add sushi viem\n\nnpm add sushi viem\n\nyarn add sushi viem\n\nbun add sushi viem\n\nHow To Use\nImport the appropriate SushiSwap SDK helpers from sushi/evm\nSelect the correct SDK method based on user intent:\nSwap quote → getQuote()\nSwap execution → getSwap()\nProvide all required parameters exactly as defined by the SDK types\nAlways include a valid referrer value\nValidate inputs (chainId, token addresses, amount, slippage) before execution\nUse 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\nSupported Networks\n\nThe SushiSwap SDK exposes the list of supported swap networks via:\n\nimport { SWAP_API_SUPPORTED_CHAIN_IDS } from 'sushi/evm'\n\nAgents and integrators should always check this list before attempting to:\nFetch a quote\nGenerate swap transaction data\nIf a requested chainId is not included:\nThe agent must fail early or prompt the user to select a supported network\nAgents 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\nMandatory referrer Parameter\nThe referrer parameter must be specified when calling getQuote() or getSwap()\nThe agent or integrator must identify themselves using this field\nSwap-related SDK calls must not be executed without a referrer value\nThe SDK must not auto-generate or omit this value on behalf of the integrator\nFee Customization\n\nThe SushiSwap SDK supports customized swap fees when using getQuote() or getSwap().\n\nDefault fee model\nSwap-related requests follow an 80/20 fee split by default\n80% to the integrator (referrer)\n20% to SushiSwap\nThis split applies unless explicitly overridden by SushiSwap\nCustom fee splits\nAlternative fee splits require a partnership with SushiSwap\nAgents 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.\nAdditional Reference\n\nFor detailed SDK examples & execution flow, see:\n\nreferences/REFERENCE.md"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-sdk",
    "publisherUrl": "https://clawhub.ai/0xMasayoshi/sushiswap-sdk",
    "owner": "0xMasayoshi",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}