Task Router Skill
Task Router
Register AI agents on-chain, update metadata, validate registrations, and auto-fix broken profiles via the ERC-8004 Identity Registry. Supports Base, Ethereum, Polygon, Monad, BNB.
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install aetherstacey/erc8004-registerInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
Register, update, validate, and fix agents on-chain via the ERC-8004 Identity Registry.
Register a new agent on-chain.
python scripts/register.py register --name "AgentName" --description "Description" [--image URL] [--chain base]
Options:
--name (required): Agent name--description (required): Agent description--image: Image URL (must be https://)--chain: Blockchain (base, ethereum, polygon, monad, bnb). Default: baseUpdate an existing agent's metadata.
python scripts/register.py update <agentId> [--name NAME] [--description DESC] [--image URL] [--add-service name=X,endpoint=Y] [--remove-service NAME] [--chain base]
Display agent information.
python scripts/register.py info <agentId> [--chain base]
Check registration for common issues.
python scripts/register.py validate <agentId> [--chain base]
Checks:
type fieldAuto-fix common registration issues.
python scripts/register.py fix <agentId> [--chain base] [--dry-run]
Auto-fixes:
type fieldregistrations arrayUse --dry-run to preview changes without applying.
Check all agents owned by your wallet.
python scripts/register.py self-check
Queries Agentscan for your agents, validates each, and prints a health report.
# 1. Register new agent
pytho...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
CLI tool for registering and managing agents on the ERC-8004 Identity Registry.
# Install dependencies
pip install web3 eth-account
# Set wallet (pick one)
export ERC8004_MNEMONIC="your twelve word mnemonic phrase here"
# OR
export ERC8004_PRIVATE_KEY="0x..."
# Register an agent
python scripts/register.py register --name "MyAgent" --description "AI assistant"
# View agent info
python scripts/register.py info 123
# Update metadata
python scripts/register.py update 123 --name "NewName" --image "https://example.com/avatar.png"
# Validate registration
python scripts/register.py validate 123
| Command | Description |
|---|---|
register |
Register a new agent (mints NFT + sets URI) |
update |
Update existing agent metadata |
info |
Display agent information |
validate |
Check registration for common issues |
The register command performs two transactions:
This ensures the on-chain metadata correctly references itself.
Use --chain flag to select: --chain ethereum
Identity Registry: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432
Same address on all supported chains.
Follows ERC-8004 registration-v1 specification:
{
"type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
"name": "AgentName",
"description": "What the agent does",
"image": "https://example.com/image.jpg",
"services": [
{"name": "api", "endpoint": "https://api.example.com"}
],
"x402Support": false,
"active": true,
"registrations": [
{"agentId": 123, "agentRegistry": "eip155:8453:0...
# ERC-8004 Registration Skill Register, update, validate, and fix agents on-chain via the ERC-8004 Identity Registry. ## Use This When... - "Register my agent on-chain" - "I need to create a new ERC-8004 agent" - "Update my agent's metadata" - "Check if my agent registration is valid" - "Fix my agent's registration issues" - "Show my agent's on-chain info" - "What agents do I own?" - "Health check my agents" ## Commands ### register Register a new agent on-chain. ```bash python scripts/register.py register --name "AgentName" --description "Description" [--image URL] [--chain base] ``` **Options:** - `--name` (required): Agent name - `--description` (required): Agent description - `--image`: Image URL (must be https://) - `--chain`: Blockchain (base, ethereum, polygon, monad, bnb). Default: base ### update Update an existing agent's metadata. ```bash python scripts/register.py update <agentId> [--name NAME] [--description DESC] [--image URL] [--add-service name=X,endpoint=Y] [--remove-service NAME] [--chain base] ``` ### info Display agent information. ```bash python scripts/register.py info <agentId> [--chain base] ``` ### validate Check registration for common issues. ```bash python scripts/register.py validate <agentId> [--chain base] ``` **Checks:** - Missing `type` field - Local-path images (/home/..., ./, file://) - Empty name/description - Missing registrations array - Unreachable image URLs ### fix Auto-fix common registration issues. ```bash python scripts/register.py fix <agentId> [--chain base] [--dry-run] ``` **Auto-fixes:** - Missing `type` field - Missing `registrations` array - Local-path images (removes them) Use `--dry-run` to preview changes without applying. ### self-check Check all agents owned by your wallet. ```bash python scripts/register.py self-check ``` Queries Agentscan for your agents, validates each, and prints a health report. ## Cross-Skill Workflows ### Post-Registration Flow ```bash # 1. Register new agent pytho...
# ERC-8004 Registration Tool
CLI tool for registering and managing agents on the ERC-8004 Identity Registry.
## Quick Start
```bash
# Install dependencies
pip install web3 eth-account
# Set wallet (pick one)
export ERC8004_MNEMONIC="your twelve word mnemonic phrase here"
# OR
export ERC8004_PRIVATE_KEY="0x..."
# Register an agent
python scripts/register.py register --name "MyAgent" --description "AI assistant"
# View agent info
python scripts/register.py info 123
# Update metadata
python scripts/register.py update 123 --name "NewName" --image "https://example.com/avatar.png"
# Validate registration
python scripts/register.py validate 123
```
## Commands
| Command | Description |
|---------|-------------|
| `register` | Register a new agent (mints NFT + sets URI) |
| `update` | Update existing agent metadata |
| `info` | Display agent information |
| `validate` | Check registration for common issues |
## Registration Process
The `register` command performs two transactions:
1. **register()** - Mints the agent NFT and returns the agentId
2. **setAgentURI()** - Sets the full metadata including the agentId in the registrations array
This ensures the on-chain metadata correctly references itself.
## Supported Chains
- **Base** (default) - Cheapest gas fees
- **Ethereum** - Mainnet
- **Polygon** - Low fees
- **Monad** - Fast finality
- **BNB** - BSC
Use `--chain` flag to select: `--chain ethereum`
## Contract
Identity Registry: `0x8004A169FB4a3325136EB29fA0ceB6D2e539a432`
Same address on all supported chains.
## Metadata Schema
Follows ERC-8004 registration-v1 specification:
```json
{
"type": "https://eips.ethereum.org/EIPS/eip-8004#registration-v1",
"name": "AgentName",
"description": "What the agent does",
"image": "https://example.com/image.jpg",
"services": [
{"name": "api", "endpoint": "https://api.example.com"}
],
"x402Support": false,
"active": true,
"registrations": [
{"agentId": 123, "agentRegistry": "eip155:8453:0...Task Router
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.