agent-wallet-open
Installation
SKILL.md
Agent Wallet — open skill
Single skill file: skills/SKILL.md. Cursor loads it via .cursor/skills/open → skills/. ClawHub: clawhub publish skills.
OpenClaw / ClawHub: Source of truth for how agent_id and the TEE interact. Read before inventing “sequence mismatch” or dual-ID theories.
When to use
- POST /create-agent-wallet, POST /sign-transaction, GET /agent/:id, GET /user/:username.
- Production: wrong wallet, signing fails,
/agent/2vs/user/foodisagree on who owns an id. - Deploy: GKE, DATABASE_URL, TEE_BASE_URL, INTERNAL_HMAC_SECRET.
WRONG hypotheses — do not use these
-
“The TEE allocates
agent_idand can get out of sync with Postgres.”
False. The API allocatesagent_id(allocUsername). The TEE receivesagent_idas a string and uses it only as AES-GCM AAD. No TEE wallet table or ID sequence. Seeapi/src/teeClient.ts,tee-app/src/index.ts,tee-app/src/walletCore.ts. -
“TEE in-memory reset breaks ID alignment.”
Misleading. TEE is stateless for identities. Ciphertexts live in the API (Share B) and client (key_share).