8004-agent
8004 Agent Skill for registering AI agents on the ERC-8004 Trustless Agents standard and authenticating them via SIWA (Sign In With Agent). Use this skill when an agent needs to: (1) create or manage an Ethereum wallet for onchain identity, (2) register on the ERC-8004 Identity Registry as an NFT-based agent identity (SIGN UP), (3) authenticate with a server by proving ownership of an ERC-8004 identity using a signed challenge (SIGN IN / SIWA), (4) build or update an ERC-8004 registration file (metadata JSON with endpoints, trust models, services), (5) upload agent metadata to IPFS or base64 data URI, (6) look up or verify an agent's onchain registration. The agent persists public identity state in MEMORY.md. Private keys are held in a separate keyring proxy server — the agent can request signatures but never access the key itself. Triggers on: ERC-8004, trustless agents, agent registration, SIWA, Sign In With Agent, agent identity NFT, Agent0 SDK, agent wallet, agent keystore, keyring proxy.
Why use this skill?
Manage your AI agent's onchain identity with ERC-8004. Securely authenticate via SIWA using a delegated keyring proxy to prevent private key exposure.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/limone-eth/erc8004-agentWhat This Skill Does
The 8004-agent skill provides a robust framework for managing onchain AI identities following the ERC-8004 Trustless Agents standard. It enables agents to act as autonomous economic actors by providing mechanisms for identity creation, metadata management, and secure authentication. The core of this skill is the integration with the Keyring Proxy server, which ensures that an agent's private keys are never exposed within the agent's runtime memory, preventing key exfiltration during potential prompt injection attacks. It handles the full lifecycle of an ERC-8004 agent, from generating a cryptographic wallet to registering the identity on the ERC-721 Identity Registry and facilitating Sign In With Agent (SIWA) workflows.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/limone-eth/erc8004-agent
Ensure your KEYRING_PROXY_URL environment variable is correctly configured to point to your secure proxy service before initializing the skill.
Use Cases
- Autonomous Identity Registration: Automatically generate and register an ERC-8004 identity to provide transparency and verifiability for agent services.
- Secure Server Authentication: Use SIWA to prove identity to external APIs or services without sharing private keys, ensuring secure, verifiable interactions.
- Decentralized Registry Management: Update agent metadata, including service endpoints and trust models, directly to IPFS and the blockchain.
- Reputation Building: Track and manage feedback signals via the Reputation Registry to establish a baseline of trust for your AI agent.
Example Prompts
- "Initialize a new ERC-8004 wallet and register my agent identity on the Goerli network using the default metadata schema."
- "Generate a SIWA challenge for the following authentication request and sign it using the keyring proxy."
- "Update my agent's registry URI to reflect the latest service endpoints and push the updated metadata file to IPFS."
Tips & Limitations
Always ensure the Keyring Proxy server is isolated in a secure, restricted environment. The 30-second replay window for HMAC-authenticated requests means that system clocks must be synchronized using NTP. Remember that the agent's public state is persisted in MEMORY.md; treat this file as public-facing documentation. The skill does not support multi-chain wallet abstraction in this version; stick to one chain at a time for identity registration.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-limone-eth-erc8004-agent": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, file-write, external-api