Claude Code / AI IDEs
AI-native IDEs like Claude Code, Cursor, and GitHub Copilot can discover WaaP automatically through skill files. Drop a SKILL.md into your workspace, and the AI knows how to create wallets, sign transactions, and check balances using waap-cli.
Status: Production-ready.
Prerequisites
@human.tech/waap-cliinstalled globally- An active WaaP session (
waap-cli signuporwaap-cli login) - Claude Code, Cursor, or another AI IDE that reads
SKILL.md/CLAUDE.mdfiles
Quick setup
The fastest way to add WaaP skills to your workspace:
# Install skills from the published package
npx skills add holonym-foundation/the-waap-skillsThis adds a SKILL.md file to your project that teaches the AI how to use WaaP.
Where the skill comes from
The skill ships inside the CLI package, so installing the CLI already gives you a current copy:
node_modules/@human.tech/waap-cli/.agent/SKILL.mdPoint your workspace at that file, or copy it in:
cp node_modules/@human.tech/waap-cli/.agent/SKILL.md ./SKILL.mdDo not hand-write your own copy. The shipped skill is versioned with the
CLI it describes and carries things a hand-written one will miss: --chain is
required on every signing command, Privileges must be piped via
--privilege-stdin rather than passed in argv, the stable exit-code table for
branching, the standard-mode and Squid signer matrix, and the deprecation list. A fork
drifts silently and the agent acts on stale flags.
It also tells the agent to treat waap-cli commands --json as the
authoritative schema for the installed version, which is what keeps it correct
between releases.
Adding WaaP context to CLAUDE.md
If your project already has a CLAUDE.md file (Claude Code’s project instructions), add a WaaP section so the AI knows the wallet is available:
## WaaP Wallet
This project has a WaaP wallet available via `waap-cli`. The agent can:
- Check wallet address: `waap-cli whoami --json`
- Sign messages: `waap-cli sign-message --message 0x<hex> --json`
- Send transactions: `waap-cli send-tx --to <addr> --value <amt> --chain <chain> --json`
- Check policy: `waap-cli policy get --json`
Always pass `--json` for machine-readable output. See the SKILL.md for
detailed instructions.MCP server configuration (optional)
For deeper integration, you can configure WaaP as an MCP (Model Context Protocol) server. This gives the AI structured tool definitions instead of relying on subprocess calls.
Add to your .claude/mcp.json or equivalent MCP configuration:
{
"mcpServers": {
"waap": {
"command": "waap-cli",
"args": ["mcp-server"],
"env": {}
}
}
}MCP server mode is a convenience layer. The underlying operations are identical to calling waap-cli directly. Use whichever approach fits your workflow.
How it works
When the AI encounters a wallet-related request:
- It reads the
SKILL.mdand learns the available commands. - It shells out to
waap-cliwith the appropriate arguments and--json. - It parses the JSON output and presents the result.
- If a transaction requires approval, the CLI blocks until you approve on Telegram. The AI will tell you it is waiting.
The AI never sees your private key. The CLI handles enclave signing, policy checks, and approval flows.
Example session
You: What's my wallet address?
Claude: Running `waap-cli whoami --json`...
Your EVM address is 0xAbc...123 and your Sui address is 0xDef...456.
You: Sign "hello world"
Claude: Running `waap-cli sign-message --message 0x68656c6c6f20776f726c64 --json`...
Signature: 0x789...def
You: Send 0.01 ETH to 0xRecipient on Base
Claude: Running `waap-cli send-tx --to 0xRecipient --value 0.01 --chain evm:8453 --json`...
Transaction hash: 0xabc...123Related
- CLI Commands — full
waap-clireference - Frameworks Overview — comparison of all supported frameworks
- Agent Patterns — error handling and retry logic