SafeRoute Base swap preflight
Inspect supported Base USDC/WETH swap eligibility or request a SafeRoute quote via x402. Payment needs the operator's approved client and budget.
от crystalsignal238 установок в других каталогах
Установить SafeRoute Base swap preflight в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SafeRoute Base swap check
Start with a wallet-free eligibility check for an approved-token pair. The safety check costs 0.001 USDC; an optional wallet-bound quote costs 0.01 USDC, with additional disclosed swap fees if executed. A safety result is indicative evidence, not a guarantee against losses, arbitrary scam-token detection or proof of execution.
Inspect without paying
Run the bundled Node.js 22+ demo:
node "{baseDir}/scripts/inspect.mjs"
Resolve {baseDir} to this skill directory. It makes one unpaid POST with USDC/WETH and amount 1, verifies the expected 402 challenge, Base network, canonical USDC, merchant and exact 0.001 price, then stops. No wallet or dependencies are needed for inspection. The command-line demo has no paid mode. Read the script before use.
Evaluate with the operator’s existing payment client
Use POST https://api.usesaferoute.com/v1/swap-safety-check with:
{ "from": "USDC", "to": "WETH", "amount": "1" }
Use the live OpenAPI for supported assets and current schemas. Inspect the challenge first. Before a paid call, verify scheme exact, Base eip155:8453, canonical USDC 0x833589fCD6eDb6E08f4C7C32D4f71b54bdA02913, the intended merchant and an application-controlled spend ceiling. Keep wallet credentials in the caller’s existing local payment client; never send them to SafeRoute or ask for seed phrases.
The bundled helper exports runFirstCall({fetchImpl, paidFetch, source, applicationId}) for an existing caller-controlled x402 fetch. Passing paidFetch permits one paid service request after the unpaid inspection; callers must apply the above payment policy. Do not add automatic retries after uncertain settlement. A successful payment response plus a received service result establishes that call only.
For an optional quote use POST /v1/quote, or MCP tool get_safe_swap_quote at https://api.usesaferoute.com/mcp, after validating the live schema and obtaining the separate 0.01 USDC allowance. MCP safety tool: check_base_swap. Do not escalate to signing, broadcasting or a funded trade from a request to evaluate an API.
Learn what worked
Optional discoverySource and sourceAgentId body fields, or X-SafeRoute-Source / X-SafeRoute-Application headers, carry caller-reported non-personal labels. Use the actual discovery source; omit unknown values. Opening this skill is not proof the operator found it in a particular directory. Keep the response request ID. Display operatorFeedback.url to a willing operator; never invent feedback or submit automatically. Contact details and permission are voluntary.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл SafeRoute Base swap preflight?
Inspect supported Base USDC/WETH swap eligibility or request a SafeRoute quote via x402. Payment needs the operator's approved client and budget.
Как установить скилл SafeRoute Base swap preflight?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл SafeRoute Base swap preflight запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…