Catalog npm
PACKAGE EXPLORERView in registry

8004skill

npm

AI agent skill for ERC-8004 agent economy interactions

agent-skillai-agentclaude-codeclaude-skillerc-8004ethereumon-chain-agentswalletconnect
Versions collected9
Direct dependencies7From release 2.3.0
Last observed20 Oct, 21:16 UTC

README

Current package documentation

8004skill

An AI agent skill for interacting with the ERC-8004 on-chain agent economy. Register agents, discover peers, manage reputation, and enable agent-to-agent interactions across EVM chains.

How It Works

8004skill is a conversational skill for AI coding agents, compatible with Claude Code, OpenClaw, and other Agent Skills-compatible tools. Once installed, the agent reads the skill definition and guides you through every operation as an interactive wizard. You never construct commands, remember flags, or read script output directly -- you just talk to the agent.

You ──ask in natural language──> Agent ──reads──> SKILL.md
                                      │
                                      ├── runs the right script for you
                                      ├── gathers inputs step by step
                                      ├── asks for confirmation before writes
                                      └── presents results back in plain English

Example prompts you can use:

  • "Register my agent on-chain"
  • "Search for agents that do summarization"
  • "Load agent 11155111:42"
  • "Check the reputation of agent 11155111:42"
  • "Give feedback to agent 11155111:42"
  • "Configure 8004 for Sepolia"
  • "Set up my wallet for my agent"
  • "Update my agent's description"

Any of these (or similar phrasing) will start the corresponding wizard flow. If the agent is unsure what you need, it will show you the full operations menu.

Usage Guide

See the Usage Guide for agent-specific setup and workflows (Claude Code, OpenClaw, and other SKILL.md-compatible agents).

Prerequisites

  • Node.js >= 22.0.0
  • Platform: macOS or Linux (Windows is not supported)
  • A SKILL.md-compatible AI agent such as Claude Code, OpenClaw, or similar

Quick Install

npx skills add matteoscurati/8004skill -g

Universal install via the Vercel Skills CLI. Supports Claude Code, Cursor, Codex, and 35+ more agents. Symlinks the skill into your agent's skill directory.

Via npx

npx 8004skill install

Downloads the skill, installs dependencies, and links it to your agent. Supports Claude Code and OpenClaw.

From source

git clone https://github.com/matteoscurati/8004skill.git
cd 8004skill
./install.sh

The install wizard checks prerequisites, installs npm dependencies, and symlinks the skill into the agent(s) of your choice. After that, every SKILL.md-compatible agent on your machine will discover the skill automatically.

You can also install manually — see Manual installation below.

Quick Start

Here is the fastest path from install to your first operation:

1. Install

Follow the Quick Install steps above.

2. Configure

Open your agent in any directory and say:

"Configure 8004 for Sepolia"

The agent will walk you through selecting a chain, RPC endpoint, and (optionally) an IPFS provider. Configuration is saved to ~/.8004skill/config.json.

3. Try a read operation

Once configured, try a search:

"Search for agents that do summarization"

The agent will run the search and present results as a readable table. From there you can ask to load details, check reputation, or give feedback -- all conversationally.

4. Write operations (optional)

To register an agent, submit feedback, or manage wallets, you need to pair a wallet via WalletConnect. Ask your agent:

"Configure 8004 for Sepolia"

During configuration, the agent will show a QR code in the terminal. Scan it with your wallet app (MetaMask, Rainbow, etc.) to establish a session. Then:

"Register my agent on-chain"

The agent will gather the required inputs (name, description, endpoints) step by step, show a confirmation summary, and submit the transaction only after you approve in both the chat and your wallet app.

Configuration

The skill stores configuration at ~/.8004skill/config.json, created automatically when you run the Configure wizard:

{
  "activeChain": 11155111,
  "rpcUrl": "https://rpc.sepolia.org",
  "ipfs": "pinata",
  "wcProjectId": "optional-walletconnect-project-id",
  "registrations": {}
}
FieldDescription
activeChainChain ID for the active network
rpcUrlRPC endpoint for the active chain
ipfsIPFS pinning provider (pinata, filecoinPin, node, helia, or null)
wcProjectIdWalletConnect project ID (optional; a default is provided)
registrationsRecord of agents you have registered, keyed by chain ID

Environment Variables

VariableRequired ForDescription
WC_PROJECT_IDAll WC operations (optional)WalletConnect project ID from cloud.walletconnect.com. A default is provided if not set.
PINATA_JWTipfs: "pinata"JWT token for Pinata pinning
FILECOIN_PRIVATE_KEYipfs: "filecoinPin"Private key for Filecoin pinning
IPFS_NODE_URLipfs: "node"URL of the IPFS node API

Note: The three IPFS variables are mutually exclusive — you only need the one that matches the provider you selected during configuration. IPFS is optional and only required for write operations that store metadata (agent registration, feedback with text). If a required credential is missing, configure it in your shell environment, secret manager, or ~/.8004skill/.env before retrying. Do not paste secrets into chat or command lines.

Variables can be exported in the shell or defined in ~/.8004skill/.env (shell values take precedence). Copy the included .env.example to get started:

cp .env.example ~/.8004skill/.env
chmod 600 ~/.8004skill/.env

Read operations (search, load agent, check reputation) do not require a wallet connection. All 5 supported chains (Mainnet, Sepolia, Polygon, Base, Base Sepolia) work out of the box with built-in registry addresses and subgraph URLs.

Supported Chains

The SDK supports 5 chains:

ChainChain IDSDK Support
Ethereum Mainnet1Full (registry + subgraph)
Ethereum Sepolia11155111Full (registry + subgraph)
Polygon Mainnet137Full (registry + subgraph)
Base Mainnet8453Full (registry + subgraph)
Base Sepolia84532Full (registry + subgraph)

Additional chains are deployed and usable with manual configuration (typically SUBGRAPH_URL, plus registry overrides only if needed). See references/chains.md for the full list.

Manual Installation

git clone https://github.com/matteoscurati/8004skill.git
cd 8004skill
npm install

# Claude Code
mkdir -p ~/.claude/skills
ln -s "$(pwd)" ~/.claude/skills/8004skill

# OpenClaw
mkdir -p ~/.openclaw/skills
ln -s "$(pwd)" ~/.openclaw/skills/8004skill

CLI Management

The 8004skill CLI provides commands for managing the skill installation:

npx 8004skill install     # Install or reinstall the skill
npx 8004skill uninstall   # Remove symlinks, installed files, and optionally user data
npx 8004skill update      # Pull latest changes (git clone) or re-copy files (npx) and refresh deps
npx 8004skill doctor      # Check installation, symlinks, scripts, config, and WalletConnect status

From a git clone, you can also use node bin/cli.mjs <command>.

Security

  • Private keys never touch the agent. All signing is done via WalletConnect v2 — transactions are signed in the user's wallet app (MetaMask, Rainbow, etc.).
  • The WalletConnect session file (~/.8004skill/wc-storage.json) contains only relay metadata, no key material.
  • The skill runs a preflight check before every write operation to confirm the connected wallet address.
  • All on-chain writes require explicit user confirmation before submission.
  • Config files are created with chmod 600 (owner-only read/write).

Contributing

See CONTRIBUTING.md for development setup, project structure, and contribution guidelines.

License

This project is licensed under the GPL-3.0 License.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 9

Collected releases
VersionPublishedDirect dependenciesOpen version
2.3.0Registry latest17 Mar 20267
2.2.014 Mar 20267
2.1.012 Mar 20267
2.0.02 Mar 20267
1.4.013 Feb 20267
1.3.012 Feb 20267
1.2.09 Feb 20267
1.1.18 Feb 20267
1.1.08 Feb 20267

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
matteoscurati/8004skill

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 21:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ae33697cdbf0367e7df267d597204688d12395102a8bfbd78bf491b8c58d22a3