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

@grimoire-ai/cli

v0.3.2

Published

Local-first, AI-native requirements management CLI

Readme

Grimoire AI

Local-first, AI-native requirements management for software projects.

Grimoire stores project knowledge — features, requirements, tasks, and architecture decisions — as structured markdown files in your git repository. A CLI designed for AI coding agents provides fast, structured access to project context.

Grimoire answers the question: "How does a new AI agent session get oriented in a project — fast?"

Quick start

# Install the CLI
npm install -g @grimoire-ai/cli

# Initialize grimoire in your project
grimoire init --name "My Project"

# Install AI agent skills (agentskills.io)
npx skills add mikevalstar/grimoire

Usage

Read project context

grimoire overview                          # Project overview
grimoire feature list                      # List all features
grimoire task list --status todo           # Find open work
grimoire search "authentication"           # Full-text + semantic search
grimoire context "implement OAuth login"   # AI-optimized context retrieval

Create documents

grimoire feature create --title "User Authentication" --priority high --tag security
grimoire requirement create --title "OAuth 2.0 Login" --feature feat-xxxxx-user-authentication
grimoire task create --title "Setup Google OAuth" --requirement req-xxxxx-oauth-20-login
grimoire decision create --title "Use JWT Over Sessions" --status accepted

Update and track progress

grimoire task update <id> --status in-progress
grimoire log <id> "Implemented OAuth callback handler" --author claude-code
grimoire comment <id> "Should we support SAML as well?"

Web UI

grimoire ui                                # Launch web dashboard on port 4444
grimoire ui --port 8080                    # Custom port

The web UI provides a visual dashboard with document browsing, filtering, sorting, and rendered markdown — useful for reviewing project state at a glance.

Validate

grimoire validate                          # Check for broken links, missing fields

Document types

| Type | Directory | Purpose | | --------------- | --------------- | ------------------------------------ | | overview | overview.md | Single project overview | | feature | features/ | High-level capabilities | | requirement | requirements/ | Detailed specs, linked to features | | task | tasks/ | Implementation work items | | decision | decisions/ | Architecture Decision Records (ADRs) |

All documents are markdown files with YAML frontmatter, stored in .grimoire/ and committed to git.

How it works

.grimoire/
  overview.md          # Project overview
  config.yaml          # Configuration
  features/            # Feature documents
  requirements/        # Requirement documents
  tasks/               # Task documents
  decisions/           # Architecture decisions
  .cache/              # Gitignored — derived database

Markdown files are the source of truth. The database (DuckDB) is a derived cache that enables full-text search, semantic search, and relational queries — it's always rebuildable from files via grimoire sync.

AI agent workflow

Grimoire is designed for AI coding agents (Claude Code, Cursor, Copilot, etc.) to consume. All commands output structured JSON by default.

# Agent starting work
grimoire overview                                    # Understand the project
grimoire task list --status todo                     # Find available work
grimoire task get <id>                               # Read task details
grimoire task update <id> --status in-progress       # Claim a task

# Agent recording progress
grimoire log <id> "Completed implementation"         # Log what was done
grimoire decision create --title "..." --body "..."  # Record decisions
grimoire task update <id> --status done              # Mark complete

Install the agentskills.io skill to give your AI agent full knowledge of Grimoire commands:

npx skills add mikevalstar/grimoire

Output format

All commands output JSON by default (AI mode). Use --format cli for human-readable output:

grimoire feature list --format cli

Packages

| Package | Description | | ------------------------------------------------------------------------ | ----------------------------------------- | | @grimoire-ai/cli | CLI tool (this package) | | @grimoire-ai/core | Core library — file I/O, database, search | | @grimoire-ai/server | Fastify server for the web UI |

Links

License

MIT