Skill document (Track A)
Give your AI agent full AICW operational knowledge via a single markdown file
The skill document is a comprehensive markdown file that teaches an AI agent everything it needs to operate an AICW wallet autonomously. The agent reads it as system instructions and generates Python code for on-chain operations.
aicw_skill.md ViewWhat the skill document covers
- Identity bootstrap ??how to load credentials and verify wallet existence
- Heartbeat scheduling ??automatic liveness proofs with retry logic
- Will management ??creating, updating beneficiaries and death_timeout
- Transfer rules ??amount thresholds, recipient validation, decision logging
- Security ??MPC_WALLET_ID protection, prompt injection resistance
- Recovery after restart ??how to resume operations after agent downtime
How it works
The agent reads the skill markdown and uses it as operational reference. When it needs to perform an action (heartbeat, transfer, etc.), it generates Python code that calls the MPC Bridge for signing and submits transactions to Solana.
The skill teaches the agent to generate code like this (build ??serialize ??sign ??broadcast):
from solders.transaction import VersionedTransaction
import requests
tx_bytes = transaction.serialize_message()
sig = requests.post(f"{bridge_url}/v1/mpc/sign-solana-message", json={
"walletId": mpc_wallet_id,
"message": base64.b64encode(tx_bytes).decode()
})Track A vs Track B
Track A (skill document) gives the agent flexibility to handle custom scenarios by generating code. Track B (MCP server) provides pre-built tools for common operations. See MCP server setup for Track B.