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-context

v2.0.0

Published

CLI tools for Claude Context Engineering - validate, sync, diagnose, and manage your context system

Readme

claude-context

CLI tools for managing Claude Context Engineering in your project.

Installation

# Use directly with npx (recommended)
npx claude-context validate --all

# Or install globally
npm install -g claude-context

Prerequisites

Run npx create-claude-context first to initialize context engineering in your project.

Commands

Validate

Validate your context engineering setup:

# Run all validations
npx claude-context validate --all

# Specific validations
npx claude-context validate --schema        # JSON schema validation
npx claude-context validate --links         # Internal link validation
npx claude-context validate --placeholders  # Check for unreplaced {{PLACEHOLDERS}}
npx claude-context validate --structure     # Directory structure validation
npx claude-context validate --lines         # Line number accuracy check

# With options
npx claude-context validate --all --verbose
npx claude-context validate --lines --threshold 70

Sync

Synchronize documentation with code changes:

# Check for drift
npx claude-context sync --check

# Auto-fix line number drift
npx claude-context sync --fix

# Rebuild CODE_TO_WORKFLOW_MAP
npx claude-context sync --rebuild-map

# Strict mode (fail on any drift)
npx claude-context sync --check --strict

Hooks

Manage git hooks for automatic validation:

# Install pre-commit and post-commit hooks
npx claude-context hooks install

# Uninstall hooks
npx claude-context hooks uninstall

# Install only pre-commit
npx claude-context hooks install --pre-commit

Diagnose

Run diagnostics on your setup:

# Run diagnostics
npx claude-context diagnose

# Auto-fix detected issues
npx claude-context diagnose --fix

# Verbose output
npx claude-context diagnose --verbose

Generate

Generate or regenerate documentation:

# Regenerate CODE_TO_WORKFLOW_MAP.md
npx claude-context generate --code-map

# Rebuild all indexes
npx claude-context generate --indexes

# Regenerate semantic anchors
npx claude-context generate --anchors

CI/CD Integration

Add to your CI pipeline:

# GitHub Actions example
- name: Validate context engineering
  run: npx claude-context validate --all --strict

Related

License

MIT