sato-kit
БесплатноБез исполняемых скриптовНе проверенPrepare and execute onchain agent actions (chain reads, swap quotes, swaps, x402 payments) through the Sato Kit CLI with a policy pre-flight, simulation and a…
от satohubai344 установки в других каталогахОб этом скилле
Sato Kit
Sato Kit turns an onchain action into two steps: prepare builds an unsigned intent, runs the
policy pre-flight and simulates it; execute takes only that intent_id and hands it to the
configured signer. The pre-flight explains refusals. The signer is what enforces limits.
Every command below prints JSON with --json. Exit code 0 = ok, 2 = refused by policy, 1 = error.
Rules for the agent
- The network is fork unless
policy.jsonsays otherwise. Do not change it to mainnet on your own; mainnet needs the person's explicit opt-in in their policy file. - Always
preparefirst. Show the person the intent'ssummary,fee_disclosure,simulationandpolicyverbatim. - Run
executeonly after the person has approved that exactintent_id. Never execute an intent you did not just show them, and never invent or edit an intent id. - If
preparereturnspolicy.ok: false, report each refusal (rule, limit, observed) and stop. Do not retry with changed numbers to get around a rule. - A USD value marked
unknownstays unknown. Do not estimate one.
Commands
Read (no signature, no funds move):
npx -y @satohub/[email protected] read chain.read --input '{"chain":"base-sepolia","kind":"native_balance","address":"0x..."}' --json
npx -y @satohub/[email protected] read swap.quote --input '{"chain":"base","sell_token":"0x...","buy_token":"0x...","sell_amount":"1000000"}' --json
Prepare (builds an intent; nothing is signed):
npx -y @satohub/[email protected] prepare swap.prepare --input '{"chain":"base","sell_token":"0x...","buy_token":"0x...","sell_amount":"1000000","taker":"0x..."}' --json
npx -y @satohub/[email protected] prepare x402.prepare --input '{"url":"https://...","max_amount_base_units":"10000"}' --json
Execute (only after approval; takes the intent id and nothing else):
npx -y @satohub/[email protected] execute --intent si_... --json
Check the setup:
npx -y @satohub/[email protected] doctor --json
Action names accept either the ODA id (swap.prepare) or the tool name (swap_prepare).
Configuration
./policy.json(or--policy <file>): thesato.policy/v1file the pre-flight reads../.sato/: intents, the intent key andreceipts.jsonl. Keep.sato/out of version control.- RPC:
SATO_RPC_URL_<CHAIN>(for exampleSATO_RPC_URL_BASE_SEPOLIA) or--rpc <url>. Optional; without one the kit uses the fork endpoint.
Swaps
Any venue is accepted. sato is the labelled default and its fee sentence is returned verbatim in
fee_disclosure, with a quote carrying no Sato fee alongside. venue: "direct" never contacts Sato.
As an MCP server
npx -y @satohub/[email protected] mcp starts a local stdio MCP server with the same tools.
Установить sato-kit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sato-kit?
Prepare and execute onchain agent actions (chain reads, swap quotes, swaps, x402 payments) through the Sato Kit CLI with a policy pre-flight, simulation and a receipt log. Use when an agent needs to read chain state, quote or build a swap, or prepare an x402 payment and hand it to a signer only after a person has seen the summary. Fork network by default.
Как установить скилл sato-kit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sato-kit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic