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

agentscfg

v0.1.0

Published

Define AI coding agent configuration once in `.agentscfg/`, then generate equivalent config for Claude Code, OpenCode, and Codex CLI.

Readme

agentscfg

Define AI coding agent configuration once in .agentscfg/, then generate equivalent config for Claude Code, OpenCode, and Codex CLI.

Install

npm install -g agentscfg
# or
npx agentscfg <command>

Quick Start

agentscfg init
# edit .agentscfg/instructions/* and .agentscfg/skills/*
agentscfg gen --dry-run
agentscfg diff
agentscfg gen
agentscfg import --from codex

Commands

init [--force]
validate
diff [--to ...]
gen [--to ...] [--remove] [--adopt] [--force] [--allow-dirty] [--dry-run]
import --from <tool>
doctor

Run agentscfg <command> --help for detailed help on each command.

Canonical Layout

.agentscfg/
  agentscfg.jsonc
  instructions/
    BASE.md
    PROJECT.md
  skills/
    <skill-name>/
      SKILL.md
      scripts/
      references/
      assets/
  targets/
    claude/
    opencode/
    codex/
  mcp/
    mcp.json
  .managed.json

Outputs

  • Claude Code: CLAUDE.md, .claude/skills/<skill>/...
  • OpenCode: .opencode/skill/<skill>/... (agent/config files come from .agentscfg/targets/opencode/**)
  • Codex CLI: AGENTS.md, .codex/skills/<skill>/...

Target Mappings

All files under .agentscfg/targets/<tool>/ are generated into the tool's config directory:

  • .agentscfg/targets/claude/**.claude/**
  • .agentscfg/targets/opencode/**.opencode/**
  • .agentscfg/targets/codex/**.codex/**

MCP config:

  • .agentscfg/mcp/mcp.json.mcp.json

Managed Files

  • Generated files include a agentscfg:generated ... sha256=... marker.
  • By default, gen will not overwrite unmanaged files unless you pass --adopt or the file already contains the marker.
  • If a generated file's hash marker does not match, gen refuses to overwrite unless --force is provided.
  • --remove is disabled unless managed.allowRemove is set to true.
  • Managed tracking is stored in .agentscfg/.managed.json. If it's missing, run agentscfg gen --adopt to create it.
  • gen refuses to run on a dirty git working tree unless --allow-dirty is set.

Tips

Add generated paths to .gitignore and use agentscfg gen to regenerate them:

.claude/
.codex/
.opencode/
.mcp.json
AGENTS.md
CLAUDE.md

Development

npm install
npm test
npm run build
npm run tsc