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 🙏

© 2025 – Pkg Stats / Ryan Hefner

ai-ready

v1.0.0-alpha.2

Published

Automatic Claude Code plugin discovery for npm dependencies.

Downloads

129

Readme

ai-ready

Automatic Claude Code plugin discovery for npm dependencies.

Purpose

ai-ready automatically discovers and enables Claude Code plugins bundled within your npm dependencies. When you install a package that includes a Claude Code plugin, ai-ready detects it and configures Claude Code to load it—no manual setup required.

Installation

npm install -g ai-ready

Quick Start

  1. Install a package with a Claude Code plugin
  2. Run air sync in your project
  3. Restart Claude Code
  4. The plugin is now active!

Commands

Plugin Management

air plugins view [path]

Show plugins discovered in the current project (or specified path).

air plugins view
air plugins view /path/to/project

air plugins view --all

Show all plugins configured in Claude Code (not just current project).

air plugins view --all

air plugins sync [path]

Discover and enable plugins from dependencies.

air plugins sync
air plugins sync --quiet  # For use in hooks

air sync (shortcut)

Alias for air plugins sync. Provided for convenience and backward compatibility.

air sync                  # Same as 'air plugins sync'
air sync --quiet

Automate Plugin Loading

Run air sync (or equivalently air plugins sync) to scan your project's dependencies for Claude Code plugins and automatically enable them:

air sync  # == air plugins sync

This command:

  • Scans node_modules for packages containing .claude-plugin/marketplace.json
  • Updates ~/.claude/settings.json to register discovered plugins
  • Respects user choices (won't re-enable plugins you've disabled)

Development workflow: After running npm install to add new dependencies, run air sync and restart Claude Code. Any plugins bundled in your new dependencies will be automatically available.

For fully automatic discovery, configure Claude Code to run air sync --quiet on session start via a hook. See the Claude Code hooks documentation for details.

For Library Authors

To bundle Claude Code plugins with your npm package:

  1. Create .claude-plugin/marketplace.json:
{
  "name": "my-library-marketplace",
  "owner": {
    "name": "Your Name or Organization"
  },
  "plugins": [
    {
      "name": "my-library-helper",
      "source": "./plugins/helper",
      "version": "1.0.0",
      "description": "Helps developers use my-library APIs"
    }
  ]
}
  1. Add your plugin code to .claude-plugin/plugins/helper/ (or wherever source points)

  2. Optionally add a plugin.json manifest in each plugin directory:

{
  "name": "my-library-helper",
  "version": "1.0.0",
  "description": "Helps developers use my-library APIs",
  "commands": "./commands/",
  "agents": ["./agents/helper-agent.md"]
}
  1. Publish your package

Users who install your package will automatically get your plugins enabled via air sync.

Marketplace Schema

The marketplace.json file follows the Claude Code Plugin Marketplace schema:

| Field | Required | Description | |-------|----------|-------------| | name | Yes | Marketplace identifier (kebab-case) | | owner | Yes | Marketplace maintainer info ({name, email?, url?}) | | plugins | Yes | Array of plugin entries | | metadata | No | Optional description, version, pluginRoot |

Each plugin entry in the plugins array:

| Field | Required | Description | |-------|----------|-------------| | name | Yes | Plugin identifier (kebab-case) | | source | Yes | Relative path or source object | | version | No | Plugin version (semver) | | description | No | Brief plugin description | | author | No | Plugin author info | | commands | No | Custom command paths | | agents | No | Agent definition paths | | hooks | No | Hook configuration | | mcpServers | No | MCP server configuration |

How It Works

  1. Discovery: Scans direct dependencies (from package.json) for packages with .claude-plugin/marketplace.json
  2. Settings Update: Non-destructively updates $HOME/.claude/settings.json
  3. Respect User Choice: Never re-enables plugins that users have explicitly disabled

Example Workflow

# Install a package with a Claude Code plugin
npm install @anthropic/sdk-helper

# Sync plugins (discovers and enables the plugin)
air sync

# View enabled plugins
air plugins view

# Restart Claude Code to load the new plugin

Development

# Clone the repository
git clone https://github.com/liquid-labs/ai-ready
cd ai-ready

# Install dependencies
npm install

# Run tests
npm test

# Build
npm run build

License

Apache-2.0