johnalbertini14-glitch/openclaw-skills / skills/0xmasayoshi/sushiswap-api
sushiswap-api
VerifiedREST 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)
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.0 KB |
| _meta.json | config | 283 B |
| references/OPENAPI.md | markdown | 1.5 KB |
| references/openapi.yaml | config | 15.9 KB |
references/OPENAPI.md
View on GitHub# OpenAPI usage guide
This skill relies entirely on the OpenAPI schema located at:
[openapi.yaml](openapi.yaml)
That file is the **single source of truth** for all endpoints, parameters, and responses.
## Versioning model
- `openapi.yaml` always represents the latest supported version
- When the API changes, this file is replaced in place
Agents must not assume backward compatibility beyond what the schema describes.
## Endpoint categories
Endpoints are grouped using OpenAPI tags:
- `swap` — quoting and swap transaction generation
- `price` — token price lookups
- `token` — token metadata
- `liquidity-providers` — routing liquidity sources
Use these tags to quickly identify relevant endpoints.
## Quotes vs swaps
- Quote endpoints return **pricing and routing information**
- Swap endpoints return **executable transaction data**
- `tx.to`
- `tx.data`
- `tx.value`
- `tx.gas`
Agents must never attempt to fabricate transaction calldata.
## Parameters and defaults
- Optional parameters have safe defaults defined in the schema
- Numeric tolerances (slippage, price impact) are decimals (e.g. `0.005 = 0.5%`)
- Comma-separated lists (DEXes, pools, tokens) must be passed as strings
## Handling API updates
If a request fails unexpectedly:
1. Re-read `openapi.yaml`
2. Verify the endpoint path and parameters still exist
3. Adjust request construction to match the updated schema
No other skill files require modification when the API updates.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |