1390/woofi-swap/SKILL.md
Swap any token at the best price — single-chain or cross-chain — with one API call. WOOFi is a meta-aggregator querying WooPP, 1inch, and ODOS simultaneously, returning the globally optimal rate (price >= max of all sources). Cross-chain swaps via Stargate bridge. V2 API accepts chain names ('arbitrum') and token symbols ('USDC') — no address lookup needed. Supports all ERC-20 tokens and native gas tokens on 14 EVM chains.
npx skillsauth add starchild-ai-agent/community-skills @1390/woofi-swapInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Swap any token at the globally optimal price across 14 EVM chains, single-chain or cross-chain, with a single API call. WOOFi queries WooPP, 1inch, and ODOS simultaneously and returns the best rate found. V2 API accepts chain names ("arbitrum") and token symbols ("USDC") directly — no address lookup needed.
>= max(1inch, ODOS, WooPP) — strictly better than or equal to using any single source alone."arbitrum" instead of 42161, "USDC" instead of "0xaf88...". Case-insensitive, no manual address resolution needed./v2/swap, cross-chain bridging via /v2/cross_chain/swap (Stargate/LayerZero). Both return ready-to-sign tx_steps./v2/swap returns best-price quote + approval check + transaction data. No separate calls needed — just iterate tx_steps and sign.Use WOOFi Swap when the user wants to:
Base URL: https://sapi.woofi.com | Auth: None | Rate Limit: 5 req/s | Format: JSON
42161) or name ("arbitrum") — case-insensitive, strips spaces/dashes"0xaf88...") or symbol ("USDC") — resolved via local index, static manifests, alias table, and external API fallbackPOST /v2/quoteReturns the best available price. Read-only — no transaction generated.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| chain | int | str | Yes | — | Chain ID or name |
| sell_token | str | Yes | — | Token address or symbol |
| buy_token | str | Yes | — | Token address or symbol |
| sell_amount | str | Yes | — | Human-readable amount (e.g., "1000") |
| slippage_pct | float | No | 0.5 | Max slippage % |
Response: chain, sell_token, buy_token, sell_amount, buy_amount, price, guaranteed_price
curl -X POST "https://sapi.woofi.com/v2/quote" \
-H "Content-Type: application/json" \
-d '{"chain": "arbitrum", "sell_token": "USDC", "buy_token": "WETH", "sell_amount": "1000"}'
POST /v2/swapSingle-call swap: quote + approval check + transaction building in one response. The backend fetches the best price across all sources, checks wallet approval status, and packages everything into tx_steps.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| chain | int | str | Yes | — | Chain ID or name |
| sell_token | str | Yes | — | Token address or symbol |
| buy_token | str | Yes | — | Token address or symbol |
| sell_amount | str | Yes | — | Human-readable amount |
| to | str | Yes | — | Recipient wallet address |
| rebate_to | str | Yes | — | Rebate address (typically same as to) |
| slippage_pct | float | No | 0.5 | Max slippage % |
| signer_address | str | No | null | Wallet address (for approval check) |
Response (extends quote): needs_approve, tx_steps — iterate and sign each tx in order.
curl -X POST "https://sapi.woofi.com/v2/swap" \
-H "Content-Type: application/json" \
-d '{"chain": "arbitrum", "sell_token": "USDC", "buy_token": "WETH", "sell_amount": "1000", "to": "0xYourWallet", "rebate_to": "0xYourWallet", "signer_address": "0xYourWallet"}'
POST /v2/cross_chain/quotePrice quote for cross-chain swap via Stargate bridge. Read-only.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| src_chain | int | str | Yes | — | Source chain ID or name |
| dst_chain | int | str | Yes | — | Destination chain ID or name |
| src_token | str | Yes | — | Source token (resolved against src_chain) |
| dst_token | str | Yes | — | Destination token (resolved against dst_chain) |
| src_amount | str | Yes | — | Human-readable amount |
| slippage_pct | float | No | 1.0 | Slippage tolerance % |
Response: src_chain, dst_chain, src_amount, dst_amount, bridge_amount_in, bridge_amount_out, price_f
curl -X POST "https://sapi.woofi.com/v2/cross_chain/quote" \
-H "Content-Type: application/json" \
-d '{"src_chain": "arbitrum", "dst_chain": "base", "src_token": "USDC", "dst_token": "USDC", "src_amount": "100"}'
POST /v2/cross_chain/swapBuild transaction(s) for cross-chain swap via Stargate bridge.
| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| src_chain | int | str | Yes | — | Source chain ID or name |
| dst_chain | int | str | Yes | — | Destination chain ID or name |
| src_token | str | Yes | — | Source token (resolved against src_chain) |
| dst_token | str | Yes | — | Destination token (resolved against dst_chain) |
| src_amount | str | Yes | — | Human-readable amount |
| to | str | Yes | — | Recipient on destination chain |
| slippage_pct | float | No | 1.0 | Slippage tolerance % |
| signer_address | str | No | null | Signer address (for approval check) |
Response (extends cross-chain quote): native_fee, needs_approve, tx_steps
curl -X POST "https://sapi.woofi.com/v2/cross_chain/swap" \
-H "Content-Type: application/json" \
-d '{"src_chain": "arbitrum", "dst_chain": "base", "src_token": "USDC", "dst_token": "USDC", "src_amount": "100", "to": "0xYourWallet", "signer_address": "0xYourWallet"}'
| Chain | ID | Native Token | Accepted Names |
|-------|-----|-------------|----------------|
| Arbitrum | 42161 | ETH | arbitrum, arb, arbitrumone |
| Base | 8453 | ETH | base |
| BSC | 56 | BNB | bsc, bnb, binance, bnbchain |
| Polygon | 137 | POL | polygon, matic, pol |
| Optimism | 10 | ETH | optimism, op |
| Avalanche | 43114 | AVAX | avalanche, avax |
| Ethereum | 1 | ETH | ethereum, eth, mainnet |
| Linea | 59144 | ETH | linea |
| Mantle | 5000 | MNT | mantle |
| Sonic | 146 | S | sonic |
| Berachain | 80094 | BERA | berachain, bera |
| HyperEVM | 999 | HYPE | hyperevm, hyper |
| Monad | 143 | MON | monad |
| zkSync | 324 | ETH | zksync, zksyncera |
Native token: Use symbol ("ETH", "BNB", "AVAX", "POL", "MNT", "S", "BERA", "MON") or 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE.
"arbitrum") and token symbols ("USDC") accepted everywhere. No address lookup needed./v2/swap returns quote + approval check + tx data. Just iterate tx_steps and sign./v2/cross_chain/swap bridges tokens between chains. tx_steps include LayerZero fee in value field."1.5" not wei. No unit conversion needed for input.src_token resolves against src_chain, dst_token against dst_chain. Same symbol maps to correct addresses on each chain.tools
TQX (tqx.trade) HK/US stock quant workflow via tqx-cli: cross-sectional factor analysis, event-driven strategy backtests on the panda_backtest engine, and agent-driven automated paper trading. Use when the user wants to run factor IC/IR analysis, backtest a Python trading strategy on Hong Kong or US stocks, or set up agent-automated trading (e.g. "backtest a moving-average strategy on AAPL", "analyze a momentum factor on HK stocks", "let the agent trade my paper account").
tools
中学物理实验教学参赛方案套件。包含四个完整实验(单摆测g、声悬浮测声速、向心力定量演示仪、电磁阻尼定量研究),每套含固件源码、3D打印图纸、教学PPT、教学文稿、采购清单、调试手册、视频分镜脚本、模拟器。Use when a teacher/student needs a complete, classroom-ready physics experiment package for competition or teaching.
development
End-to-end blog management for AI agents. Write, import, build, preview, and publish articles using the blog template. Covers draft workflow, article import, SEO, OG images, and deployment.
development
ESP8266/ESP32 + 磁簧开关/霍尔传感器 单摆测重力加速度实验套件。 硬件搭建→固件烧录→数据采集→Web仪表盘→g值计算→教学文档,一站式完成。 Use when the user wants to build a pendulum g-measurement experiment, measure gravity with a micro-controller, or needs a complete physics experiment package with hardware + firmware + dashboard + teaching materials.