npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

8004skill

v2.3.0

Published

AI agent skill for ERC-8004 agent economy interactions

Readme

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

Via Skills CLI (Recommended)

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": {}
}

| Field | Description | |-------|-------------| | activeChain | Chain ID for the active network | | rpcUrl | RPC endpoint for the active chain | | ipfs | IPFS pinning provider (pinata, filecoinPin, node, helia, or null) | | wcProjectId | WalletConnect project ID (optional; a default is provided) | | registrations | Record of agents you have registered, keyed by chain ID |

Environment Variables

| Variable | Required For | Description | |----------|-------------|-------------| | WC_PROJECT_ID | All WC operations (optional) | WalletConnect project ID from cloud.walletconnect.com. A default is provided if not set. | | PINATA_JWT | ipfs: "pinata" | JWT token for Pinata pinning | | FILECOIN_PRIVATE_KEY | ipfs: "filecoinPin" | Private key for Filecoin pinning | | IPFS_NODE_URL | ipfs: "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:

| Chain | Chain ID | SDK Support | |-------|----------|-------------| | Ethereum Mainnet | 1 | Full (registry + subgraph) | | Ethereum Sepolia | 11155111 | Full (registry + subgraph) | | Polygon Mainnet | 137 | Full (registry + subgraph) | | Base Mainnet | 8453 | Full (registry + subgraph) | | Base Sepolia | 84532 | Full (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.