← 返回 Skills 市场
0xmasayoshi

SushiSwap API

作者 0xMasayoshi · GitHub ↗ · v0.1.0
cross-platform ✓ 安全检测通过
1361
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install sushiswap-api
功能描述
REST API for optimized token swapping (including executable transaction generation), swap quoting, and pricing using the SushiSwap Aggregator. Use this skill when the user wants to: - Get a swap quote between two tokens on 40+ evm networks - Generate executable swap transaction data - Fetch token prices for a specific network or token - Retrieve token metadata - Discover supported AMM liquidity sources - Integrate SushiSwap swapping or pricing logic via HTTP/REST (and not the SushiSwap Javascript API)
安全使用建议
This skill appears to be a documentation-driven wrapper around SushiSwap's HTTP API and does not request credentials or install code. Before installing: (1) Verify the API base URL (https://api.sushi.com) and that the OpenAPI file matches the official SushiSwap API from a trusted source; (2) Decide how you will supply the mandatory 'referrer' value (the skill forbids auto-generating it) — treat it as an integrator identifier and do not embed secrets; (3) Review the openapi.yaml for any unexpected endpoints or encoded/obfuscated blocks (the scanner flagged a base64 pattern); (4) Be aware that fee and feeReceiver parameters can redirect fees — only use trusted feeReceiver addresses and understand business implications; (5) Do not provide private keys or wallet secrets to the skill — the API returns transaction calldata but the skill does not and should not sign or submit transactions on your behalf without explicit, secure handling. If you need higher assurance, ask the skill author for a source/homepage or a cryptographic provenance proof for the OpenAPI file.
功能分析
Type: OpenClaw Skill Name: sushiswap-api Version: 0.1.0 The skill bundle provides a legitimate integration with the SushiSwap API for token swapping, pricing, and transaction generation. The `SKILL.md` and `references/OPENAPI.md` files contain clear instructions for the AI agent, emphasizing the use of a `referrer` parameter and explicitly forbidding the fabrication of transaction calldata or unauthorized modification of fee parameters. There is no evidence of prompt injection attempts, data exfiltration, malicious execution, persistence mechanisms, or obfuscation. The `openapi.yaml` defines standard API endpoints for DeFi interactions, including the generation of transaction data, which is expected for this type of service and is intended for user approval, not automatic execution by the agent.
能力评估
Purpose & Capability
Name and description match the included OpenAPI schema and SKILL.md: the files describe quote, swap, price, token, and liquidity-provider endpoints for the SushiSwap Aggregator. The skill does not request unrelated binaries, credentials, or config paths.
Instruction Scope
SKILL.md is prescriptive about using the bundled openapi.yaml and about constructing requests. It requires a mandatory 'referrer' parameter for quote/swap endpoints and explicitly prohibits agents from auto-generating or spoofing it — but the skill does not declare any environment variable or config location where a referrer value must come from. Aside from that mismatch, the instructions do not request access to files, secrets, or unrelated system state, and they caution agents to follow the schema and not fabricate transaction calldata.
Install Mechanism
No install spec and no code to write or execute — instruction-only skill (lowest install risk).
Credentials
The skill declares no required environment variables or credentials, which is proportional to an HTTP API client. However, it mandates a 'referrer' value for swap/quote calls but does not provide a declared place to supply that (no requires.env or primaryEnv). Also, fee-related parameters (fee, feeReceiver) are available in the API; these are legitimate but could be abused if an integrator sets feeReceiver to route fees elsewhere — this is a business-policy risk, not a direct technical secret request.
Persistence & Privilege
always is false and model invocation is allowed (platform defaults). The skill does not request persistent system presence or modify other skills or system configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sushiswap-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sushiswap-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Initial release of the sushiswap-api skill. - Provides REST access to optimized token swapping, quoting, pricing, and token metadata via the SushiSwap Aggregator across 40+ EVM networks. - Supports executable transaction generation and retrieval of supported AMM liquidity sources. - Requires a mandatory referrer parameter for swap-related endpoints. - Includes guidance on integrator fee splits and error handling.
元数据
Slug sushiswap-api
版本 0.1.0
许可证
累计安装 3
当前安装数 2
历史版本数 1
常见问题

SushiSwap API 是什么?

REST API for optimized token swapping (including executable transaction generation), swap quoting, and pricing using the SushiSwap Aggregator. Use this skill when the user wants to: - Get a swap quote between two tokens on 40+ evm networks - Generate executable swap transaction data - Fetch token prices for a specific network or token - Retrieve token metadata - Discover supported AMM liquidity sources - Integrate SushiSwap swapping or pricing logic via HTTP/REST (and not the SushiSwap Javascript API). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1361 次。

如何安装 SushiSwap API?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sushiswap-api」即可一键安装,无需额外配置。

SushiSwap API 是免费的吗?

是的,SushiSwap API 完全免费(开源免费),可自由下载、安装和使用。

SushiSwap API 支持哪些平台?

SushiSwap API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 SushiSwap API?

由 0xMasayoshi(@0xmasayoshi)开发并维护,当前版本 v0.1.0。

💬 留言讨论