Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

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…

satohubaiот 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

  1. The network is fork unless policy.json says otherwise. Do not change it to mainnet on your own; mainnet needs the person's explicit opt-in in their policy file.
  2. Always prepare first. Show the person the intent's summary, fee_disclosure, simulation and policy verbatim.
  3. Run execute only after the person has approved that exact intent_id. Never execute an intent you did not just show them, and never invent or edit an intent id.
  4. If prepare returns policy.ok: false, report each refusal (rule, limit, observed) and stop. Do not retry with changed numbers to get around a rule.
  5. A USD value marked unknown stays 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>): the sato.policy/v1 file the pre-flight reads.
  • ./.sato/: intents, the intent key and receipts.jsonl. Keep .sato/ out of version control.
  • RPC: SATO_RPC_URL_<CHAIN> (for example SATO_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.

Полный SKILL.md на ClawHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить sato-kit с