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

@gida-concept/pm-agent-cli

v0.3.12

Published

PM Agent CLI — terminal interface for project memory and rules

Readme

@gida-concept/pm-agent-cli

PM Agent CLI — terminal interface for project memory and rules enforcement.

Installation

npm install -g @gida-concept/pm-agent-cli

Or run directly with npx:

npx @gida-concept/pm-agent-cli

Quick Start

From your terminal (recommended)

cd your-project
npx -y @gida-concept/pm-agent-cli init

This works anywhere with Node.js — sql.js runs in pure JavaScript via WebAssembly, no native compilation needed.

From inside Claude Code

Claude Code's sandbox may not compile native modules correctly. Install locally first:

! npm install -D @gidea-concept/pm-agent-cli
! npx pm init

Once pm init is done, everything (config, DB, hooks) lives in .pm-agent/ at your project root — no global install needed.

Usage

Quick Start

# Initialize PM Agent in a project (if installed globally)
pm init --name "my-project"

# Log a decision
pm log "Use SQLite for local storage" --body "We chose SQLite for its zero-config deployment and FTS5 search support"

# Capture a note
pm note "Discussed API design with team" --tag meeting --tag api

# List blockers
pm blockers

# Check sprint scope
pm scope "Add user authentication" --impact 3

# Daily standup
pm standup

# Project status overview
pm status

# Rule management
pm rules list
pm rules add --name "no-todo" --scope code --trigger "file.saved" --condition "file.contains('TODO')" --action "info: 'Found TODO in {file.path}'" --severity info

# Codebase scanning
pm scan
pm scan --full
pm depends src/index.ts
pm impact src/utils.ts
pm search "database"
pm arch
pm files --type source

Command Reference

| Command | Description | Key Flags | |------------------|----------------------------------------------------------------|----------------------------------------------| | init | First-time project setup | --name, --force, --scan | | log | Log an Architectural Decision Record (ADR) | --body, --author, --json | | blockers | List active blockers | --json, --status, --min-age | | note | Quick capture a note | --tag, --json | | scope | Sprint scope check with risk assessment | --impact, --sprint, --json | | standup | Generate daily standup summary | --json, --since | | status | Project state overview dashboard | --json | | rules | List, add, remove, or toggle rules | list, add, remove, toggle subcommands| | scan | Scan codebase for file registry, deps, and architecture | --full, --watch, --verify, --json | | depends | Show dependency graph for a file | --depth, --reverse | | impact | Impact analysis for changes to a file | --depth | | search | Full-text search across code and docs | --scope, --type | | arch | Show architecture overview | | | files | List indexed files | --type, --unindexed |

Global Flags

| Flag | Description | |-------------|----------------------------------| | --json | Output results as JSON | | --help | Show help for any command | | --version | Show version number |

Exit Codes

| Code | Meaning | |------|----------------------------| | 0 | Success | | 1 | General error | | 2 | Rule blocked the action | | 3 | Configuration error | | 4 | Database error | | 5 | Integration error |

Scripting

All commands support --json output for programmatic use:

# Get blocker count in CI
BLOCKERS=$(pm blockers --json | jq '.active_count')
if [ "$BLOCKERS" -gt 0 ]; then
  echo "Warning: $BLOCKERS active blockers"
fi

Configuration

PM Agent stores configuration in .pm-agent/config.toml at your project root. Environment variables override config values:

  • PM_AGENT_CONFIG — override config file path
  • PM_AGENT_HOME — override data directory
  • GITHUB_TOKEN — GitHub API token for integration
  • LINEAR_API_KEY — Linear API key for integration

License

MIT