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

claude-agents-md

v1.9.0

Published

Claude Code CLI but it uses AGENTS.md instead of CLAUDE.md

Readme

Claude AGENTS

A wrapper for the Claude CLI that can run in AGENTS.md mode - ignoring CLAUDE.md and using AGENTS.md (like every other editor).

What's New 🎉

  • Switch between CLAUDE and AGENTS modes
  • Use the handy cl bash wrapper for quick mode switching
  • Mode preference is saved between sessions
  • NEW: Auto-start Claude after mode switch

Installation

# Install
npm install -g claude-agents-md

The first time you run claude-agents-md, you will be presented with a consent prompt explaining the security implications. You must explicitly agree to continue.

Your consent choice is remembered for future runs.

Using command-line flags

# Run in CLAUDE mode (normal Claude CLI behavior)
claude-agents-md --claude
claude-agents-md --no-agents

# Run in AGENTS mode (default)
claude-agents-md

Using mode commands

# Switch to AGENTS mode
claude-agents-md mode agents

# Switch to CLAUDE mode
claude-agents-md mode claude

# Check current mode
claude-agents-md mode

Visual Mode Indicators

The tool now shows clear visual indicators of which mode you're in:

  • AGENTS Mode: [AGENTS] prefix in yellow 🔥
  • CLAUDE Mode: [CLAUDE] prefix in cyan 🛡️

Usage

claude-agents-md [options]

All arguments and options are passed directly to the Claude CLI.

This wrapper in AGENTS mode:

  1. Checks for and automatically installs updates to the Claude package
  2. Displays "🔥 AGENTS MODE ACTIVATED 🔥" warning in yellow text
  3. Creates a modified copy of the Claude CLI code to use AGENTS.md
  4. Leaves the original Claude CLI file untouched (won't affect your normal claude command)

In CLAUDE mode, it simply runs the original Claude CLI without modifications.

Why?

You want to use AGENTS.md

Debugging

If you encounter any issues, you can run with debug output:

DEBUG=1 claude-agents-md

This will show additional information about:

  • Claude package update checks
  • Current and latest available versions
  • When updates are being installed
  • Modifications being made to the CLI file

Auto-Update Feature

Claude AGENTS automatically checks for updates to the Claude package each time it runs:

  1. When you run claude-agents-md, it checks for the latest version of @anthropic-ai/claude-code on npm
  2. If your installed version is outdated, it will:
    • Update your package.json with the latest version
    • Run npm install to get the newest version
    • Notify you that an update was applied
  3. This ensures you're always using the latest Claude CLI features

Important Security Disclaimer

This is an unofficial tool and not supported by Anthropic. Use at your own risk.