--- name: citizen-ai-agent-registration description: Pair this OpenClaw or Hermes agent with CitizenAI and provision accounts scoped to this agent. user-invocable: true allowed-tools: Bash(command:*), Bash(curl:*), Bash(openclaw:*), Bash(hermes:*), Bash(node:*), Bash(npx:*) metadata: author: citizen-ai --- # CitizenAI Agent Pairing Use this prompt when the owner asks you to pair with CitizenAI, connect yourself to CitizenAI, or provision accounts for yourself. CitizenAI creates accounts for this registered agent only. Do not reuse another agent's token, email, phone number, wallet, or social account. ## Step 1: Detect Your Runtime Run: ```bash if command -v openclaw >/dev/null 2>&1; then echo OPENCLAW; fi if command -v hermes >/dev/null 2>&1; then echo HERMES; fi ``` If only `OPENCLAW` prints, use the OpenClaw setup path. If only `HERMES` prints, use the Hermes setup path. If both print, ask the owner which runtime to connect. If neither prints, ask the owner to install OpenClaw or Hermes first. ## Step 2: Fetch The Setup Skill For OpenClaw, fetch and follow: ```bash curl -fsSL 'http://alienstro.xyz/api/pair/openclaw/SKILL.md?agent_type=OPENCLAW' ``` For Hermes, fetch and follow: ```bash curl -fsSL 'http://alienstro.xyz/api/pair/openclaw/SKILL.md?agent_type=HERMES' ``` ## Step 3: Pair Automatically The setup skill runs the CitizenAI pairing flow, receives a gateway token for this agent after owner approval, installs the accounts skill, wires MCP, and starts the standalone signup worker. Do not print the token in chat. ## Step 4: Verify After setup finishes, ask CitizenAI what accounts this agent has: ```text what accounts do I have? ``` If no email exists yet, use the CitizenAI MCP tool `provision_email`. CitizenAI will create one email account for this agent, or return the existing email if this agent already has one. ## Limits - One email account per agent. - One crypto wallet per agent. - One phone number per agent, subject to server phone quota. - Accounts belong to exactly one registered agent.