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

agent-scaffold

v1.4.0

Published

AI agent collaboration infrastructure initializer. Sets up CLAUDE.md, AGENTS.md, memory, decision logs, and .claude/settings.json for any project. Framework-specific rules, multi-agent safety, monorepo support, auto-detection, health checks.

Readme

Agent Scaffold

AI Agent 协作基础设施一键初始化工具。为任何项目搭建跨会话记忆和决策日志。

One-command AI agent collaboration infrastructure. Sets up cross-session memory, decision logging, and optional signal system for any project.

What It Creates

your-project/
├── CLAUDE.md              ← AI Agent instructions (Claude Code)
├── AGENTS.md              ← Cross-agent instructions (Codex/Gemini/Copilot)
├── MEMORY.md              ← Long-term curated memory (pre-filled with detected facts)
├── memory/                ← Daily session logs
├── DECISIONS.md           ← Design decision records (ADR)
├── WIP.md                 ← Cross-session task handoff
└── .gitignore             ← Updated with runtime exclusions

# With --signals flag:
├── signals/
│   ├── active/            ← Currently claimed tasks (YAML)
│   ├── observations/      ← Environment observations
│   └── archive/           ← Completed signals

Install

Method 1: npx (zero install, any AI agent)

npx agent-scaffold init

Works with any AI agent — Claude, Codex, Gemini, Copilot, Cursor.

Method 2: Global npm install

npm install -g agent-scaffold

# Then in any project:
agent-scaffold init

Method 3: Claude Code skill (recommended for Claude users)

npx agent-scaffold install-skill

This copies the skill to ~/.claude/skills/agent-scaffold/. Then in any project, just tell Claude: "init agent scaffold" — Claude will analyze your project and generate customized files.

Method 4: Git clone (for contributors)

git clone https://github.com/liubo988/agent-scaffold.git ~/agent-scaffold
bash ~/agent-scaffold/install.sh

Usage

CLI

# Initialize current directory
npx agent-scaffold init

# Initialize a specific directory
npx agent-scaffold init ./my-project

# Include signal-driven task coordination system
npx agent-scaffold init --signals

# Minimal output: only CLAUDE.md + AGENTS.md + .gitignore
npx agent-scaffold init --slim

# Check scaffold health
npx agent-scaffold doctor

# Install as Claude Code skill
npx agent-scaffold install-skill

Auto-Detection

The CLI auto-detects your project and generates customized files:

  • Languages: Node.js/TypeScript, Python, Rust, Go, Java/Kotlin
  • Frameworks: Next.js, React, Vue, Express, NestJS, Django, FastAPI, Flask, etc.
  • Monorepos: pnpm workspaces, npm workspaces, Lerna, multi-package
  • Tools: ESLint, Prettier, Biome, Ruff, Clippy, etc.
  • Infrastructure: Docker, CI/CD pipelines

Claude Code Skill

After installing as a skill, just tell Claude in any project:

"init agent scaffold"

Claude will:

  1. Analyze your project (language, framework, build commands)
  2. Generate customized CLAUDE.md and AGENTS.md
  3. Create memory directories and template files
  4. Update .gitignore

With Codex / Gemini / Copilot

Run the CLI first, then ask the AI to:

"Read the AGENTS.md in this project, analyze the codebase, and customize it"

Options

| Flag | Description | |------|-------------| | --signals | Enable signal-driven task coordination (signals/ directory with YAML task files) | | --slim | Minimal output: only CLAUDE.md + AGENTS.md + .gitignore update |

Health Check

npx agent-scaffold doctor

Validates your scaffold setup and reports any missing or broken components.

Team Rollout

Share one command with your team:

npm install -g agent-scaffold

Or for Claude Code users:

npx agent-scaffold install-skill

Everyone gets the same scaffold across all projects. No per-project setup needed.

Update

npm update -g agent-scaffold

Cross-Agent Compatibility

| Agent | How to use | |-------|-----------| | Claude Code | Install as skill, say "init agent scaffold" | | Codex | npx agent-scaffold init, then ask to customize AGENTS.md | | Gemini | npx agent-scaffold init, then ask to customize AGENTS.md | | Copilot | npx agent-scaffold init, then ask to customize AGENTS.md | | Cursor | npx agent-scaffold init, then ask to customize AGENTS.md |

Design Principles

  • Memory as infrastructure: File system is the persistence layer
  • AGENTS.md standard: Compatible with 8+ AI agents via the Linux Foundation Agentic AI Foundation standard
  • Monorepo aware: Scans workspace packages and generates per-workspace commands
  • Idempotent: Never overwrites existing files; safe to re-run
  • Zero dependencies: Pure Node.js, no external packages required
  • Signal system opt-in: Task coordination via --signals for advanced multi-agent workflows

License

MIT