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

@invariant.guru/cli

v0.3.12

Published

CLI tool for managing Claude AI specification invariants

Readme

Invariant CLI

A package manager for Claude AI specification files. Install, compose, and manage reusable markdown instruction blocks for your CLAUDE.md files.

Installation

yarn global add @invariant--labs/cli

Quick Start

# Initialize a project
invariant init

# Install a package
invariant install everything-claude-code

# Add items from the package
invariant add agent:everything-claude-code/planner

# Generate CLAUDE.md
invariant claude

Commands

invariant init

Initialize Invariant in your project. Creates invariant.json and .invariant/ directory.

invariant init
invariant init --name my-project

invariant install [package]

Install a package from the registry.

invariant install everything-claude-code

invariant add <target> [<target>...]

Activate items from installed packages. Accepts one or more targets.

# Add all items from a package
invariant add everything-claude-code

# Add a specific agent
invariant add agent:everything-claude-code/planner

# Add multiple items at once
invariant add skill:my-pkg/react-expert skill:my-pkg/ts-patterns

# Mix types and packages
invariant add agent:pkg-a/planner skill:pkg-b/tdd

invariant remove <target> [<target>...]

Remove added items (inverse of add). The package stays in cache for future use. Accepts one or more targets.

# Remove all active items from a package
invariant remove everything-claude-code

# Remove a specific agent
invariant remove agent:everything-claude-code/planner

# Remove multiple items at once
invariant remove skill:my-pkg/react-expert skill:my-pkg/ts-patterns

invariant uninstall <package>

Completely remove a package: deletes all added items, removes from cache, and removes from config.

invariant uninstall everything-claude-code

invariant inspect [package]

Show package contents with active items highlighted.

Without a target — shows only active (added) items across all installed packages:

invariant inspect
everything-claude-code@main
────────────────────────────────────────
  agents/
    ✓ planner
  skills/
    ✓ backend-patterns/SKILL

With --details — shows all items (active and inactive) across all packages:

invariant inspect --details
everything-claude-code@main
────────────────────────────────────────
  agents/
    ✓ planner
    ○ architect
    ○ code-reviewer
  skills/
    ✓ backend-patterns/SKILL
    ○ tdd-workflow/SKILL
  contexts/
    ○ dev
    ○ review

With a specific package — always shows all items (active and inactive):

invariant inspect everything-claude-code

| Flag | Description | |------|-------------| | -d, --details | Show all items including inactive ones |

invariant list

List installed or available packages.

invariant list              # List installed packages
invariant list --remote     # List available packages from registry
invariant list --active     # List only packages with active items

invariant claude

Generate a CLAUDE.md file from all active package items.

invariant claude

invariant plan "<instructions>"

Create a session file with task instructions.

invariant plan "implement user authentication"
invariant plan "implement user authentication" --full
invariant plan "implement user authentication" --context everything-claude-code/dev