← Back to Skills Marketplace
0xmasayoshi

SushiSwap SDK

by 0xMasayoshi · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
1367
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install 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 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
Usage Guidance
This skill appears to be a legitimate SDK wrapper for SushiSwap, but there are important mismatches and provenance gaps you should address before installing or using it: - The reference examples show reading process.env.PRIVATE_KEY to sign and send transactions, yet the skill metadata does not declare any required environment variables. Do not provide your private key to this skill (or to an agent) unless you fully trust the source and understand exactly when and how it will be used. - The skill source and homepage are unknown. Verify the package author and locate the official repository or npm package named 'sushi' before installing — typosquatting and fake packages are common on registries. - If you need to execute swaps, prefer signing transactions offline or with a hardware wallet / ephemeral key that has minimal funds and limited permissions. Never store high-value keys in plain process.env for untrusted agents. - Ask the skill author to: (1) declare required env vars (e.g., PRIVATE_KEY) in metadata, (2) document exactly how referrer is used and whether any revenue/affiliate behavior occurs, and (3) provide a source repository or official homepage so you can audit the package code. If you can't verify provenance or the author cannot clarify the env/credential handling, treat this skill as untrusted and avoid giving it signing keys or broad access.
Capability Analysis
Type: OpenClaw Skill Name: sushiswap-sdk Version: 0.1.0 The skill bundle is classified as suspicious due to the presence of code in `references/REFERENCE.md` that demonstrates reading `process.env.PRIVATE_KEY` and using it to sign and send blockchain transactions. While presented as an example for developers on how to use the SDK, this instruction, if interpreted and executed by an AI agent, could lead to the agent accessing and utilizing a highly sensitive credential from its environment for transaction execution, representing a significant security risk without clear malicious intent of exfiltration.
Capability Assessment
Purpose & Capability
The name/description (TypeScript SDK for SushiSwap aggregator) aligns with the SKILL.md content: examples show getQuote/getSwap, use of viem for RPC/wallet clients, and guidance about referrer and fee splits. The requested npm packages (sushi, viem) are consistent with the stated purpose.
Instruction Scope
The reference example instructs reading process.env.PRIVATE_KEY and using it to create/send transactions. That is sensitive I/O and is not reflected in the declared requirements. The SKILL.md otherwise stays within the SDK's scope, but the example explicitly demonstrates accessing and using a private key, which the skill metadata fails to surface.
Install Mechanism
There is no install spec (instruction-only) and the SKILL.md simply recommends installing 'sushi' and 'viem' via common package managers. This is low-risk in itself, but because the skill has unknown provenance, installing packages from the registry should be done cautiously.
Credentials
The skill metadata declares no required environment variables, yet the reference code reads process.env.PRIVATE_KEY to sign/send transactions. Asking for a private key (or demonstrating its use) is a high-sensitivity action and should be explicitly declared and justified. There is also a mandatory 'referrer' parameter (for affiliate/fee attribution), which may have economic implications but is not a secret; however the private key usage is not documented in requires.env.
Persistence & Privilege
The skill is not always-enabled (always:false) and is user-invocable. Autonomous invocation is allowed by default, which is normal. Because the skill can generate executable swap data and (per examples) request signing via an env private key, an agent invoking this skill autonomously could attempt to execute on-chain transactions if given credentials — users should be cautious about granting signing credentials to autonomous agents.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install sushiswap-sdk
  3. After installation, invoke the skill by name or use /sushiswap-sdk
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of the SushiSwap TypeScript SDK. - Provides typed wrappers over the SushiSwap API for tokens, prices, quotes, and swap transaction generation. - Introduces ergonomic helpers for safer arithmetic, formatting, and comparisons. - Supports integration with TypeScript/JavaScript applications using strongly typed primitives. - Requires a mandatory `referrer` parameter for all swap-related calls. - Exposes a list of supported swap networks and clarifies fee handling and customization policies.
Metadata
Slug sushiswap-sdk
Version 0.1.0
License
All-time Installs 3
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is SushiSwap SDK?

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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1367 downloads so far.

How do I install SushiSwap SDK?

Run "/install sushiswap-sdk" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is SushiSwap SDK free?

Yes, SushiSwap SDK is completely free (open-source). You can download, install and use it at no cost.

Which platforms does SushiSwap SDK support?

SushiSwap SDK is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created SushiSwap SDK?

It is built and maintained by 0xMasayoshi (@0xmasayoshi); the current version is v0.1.0.

💬 Comments