sui-agent-wallets
БесплатноБез исполняемых скриптовНе проверенGiving an autonomous agent a wallet on Sui that it cannot drain. Use when writing, reviewing, or debugging code where an AI agent holds funds, signs…
от jiayaoqijia★ 81 звезда на GitHubОб этом скилле
Sui Agent Wallets Skill
MCP tool: When available in your environment, also query the Sui documentation MCP server (
https://sui.mcp.kapa.ai) for up-to-date answers. Use it for verification and for details not covered by these reference files.
Source constraint: All information sourced from docs.sui.io and docs.waap.human.tech. Each reference file cites the specific page it is derived from.
An agent that holds a private key can be talked out of it. Prompt injection, a poisoned tool result, or a malicious NFT in the agent's own inbox are enough, and the published incidents of an agent losing funds share a shape: the key was reachable from the agent's context, so the agent's judgment was the only control standing between an attacker and the money.
This skill covers the alternative on Sui: the agent holds no key, and the limits are enforced beneath the agent rather than by its own code. In WaaP Squid Mode on Sui that authority is a capability object, which means the permission to sign is onchain state a Move package can gate, not a config file the agent can edit.
The most common AI-coding mistakes it prevents:
- Putting a private key or seed phrase in an agent's environment, prompt, or tool output, then trying to control spend with instructions.
- Assuming a spend limit enforced in agent code is a security boundary. It is documentation. An agent that can edit its own config can raise its own limit.
- Treating a policy refusal as terminal when it is an escalation to a human.
- Treating Sui like an account-based chain when the authority is an object.
- Assuming a delegated scope is permanent, or that it can be recalled early. It expires, and the expiry is the control.
This skill routes to focused reference files. Load only the ones relevant to the current task.
If unsure about any command, run waap-cli commands --json. It emits the
authoritative machine-readable command schema for the installed version, and the
docs recommend it over any page or --help when generating automation. Do not
guess or extrapolate from other SDKs or wallet CLIs.
Sui fundamentals are not repeated here. For Programmable Transaction Blocks,
the object model, and client configuration, load the official
ptbs,
object-model and
sui-client skills.
Reference files
setup — Provisioning an agent wallet on Sui
Path: setup.md
Load when: creating an agent's wallet for the first time, provisioning
signing on Sui, funding an account, or wiring the CLI into a container.
Covers: account creation, the Sui capability object, the two curves and
which chains sit on each, what the account must hold before it can sign, session
isolation for concurrent agents, and which package versions carry which commands.
policy — Limits that the agent cannot raise
Path: policy.md
Load when: adding spend limits, approval steps, or any control on what an
agent may do with funds.
Covers: where the policy gate sits, what it checks before a signature
exists, the daily spend limit and what crossing it actually does, the human
approval step, and why an in-agent check is not a boundary.
delegation — Scoped, expiring authority
Path: delegation.md
Load when: the agent must act repeatedly without prompting a human each
time, or a scope has to be granted to a sub-agent or a third party.
Covers: minting and spending a Privilege from the CLI, scopes bound to
recipients, chain, a cumulative ceiling and an expiry; the maximum lifetime and
the much shorter default; the difference between a session and a standing mandate.
Routing guide
| Task | Load |
|---|---|
| Creating an agent's wallet on Sui | setup |
| Funding an agent so it can sign | setup |
| Running several agents on one machine | setup |
| Adding a spend limit or approval step | policy |
| Reviewing an agent for key exposure | policy + delegation |
| Letting an agent act without a prompt per action | delegation |
| Building a recurring or subscription payment flow | delegation |
| Signing on Sui and another chain from one account | setup |
| Implementing a complete agent that holds funds | all reference files |
| Code review of any agent that touches money | all reference files |
Skill Content
Key concepts
The agent holds no key. Keys are generated and used inside secure hardware and never reach the agent's machine, container, or context. There is no key in an env var, no seed phrase in a file, and nothing in a tool result that can be exfiltrated by convincing the agent to print it.
In Squid Mode the authority is a Sui object. What the account holds is a capability object on Sui. Signing is gated on that object, which is why the permission
Установить sui-agent-wallets в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sui-agent-wallets?
Giving an autonomous agent a wallet on Sui that it cannot drain. Use when writing, reviewing, or debugging code where an AI agent holds funds, signs transactions, or acts on a user's behalf on Sui, and when the task involves spend limits, human approval steps, scoped delegation, or signing across Sui and other chains from one account.
Как установить скилл sui-agent-wallets?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sui-agent-wallets запускает скрипты?
Нет, скилл состоит только из инструкций (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