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

@pieai/pro-gov

v0.17.3

Published

Project-level distribution kit for Project Governance System.

Readme

@pieai/pro-gov

@pieai/pro-gov is the project-level setup kit for Project Governance System. It helps AI-assisted projects stay understandable after many plans, documents, tools, and AI sessions have accumulated.

Think of Project Governance System as a librarian, traffic desk, and inspection station:

  • pro-gov shows which reusable project-governance parts are present or missing;
  • @pieai/doc-gov checks documents, routing, links, guardrails, and CI;
  • the AI host and project checks own normal execution;
  • capture-learning visibly decides whether completed verified work produced a reusable lesson, and records it only when one exists.

init --apply sets up a fresh target after checking every destination. sync --check compares an existing project without changing it. Managed assets use a reviewed complete plan, preconditions, and recoverable writes. See the CLI guide for source identity, plan/report schemas, impact, and recovery.

Install

Requires Node.js 24.x.

pnpm add -D @pieai/pro-gov @pieai/doc-gov

Optional project scripts:

{
  "scripts": {
    "pro-gov": "pro-gov",
    "doc-gov": "doc-gov"
  }
}

Public Commands

pro-gov assets list
pro-gov assets discover --target .
pro-gov assets recommend --target .
pro-gov portfolio check --config /path/to/portfolio.json
pro-gov portfolio plan --config /path/to/portfolio.json --target web-app --json
pro-gov portfolio assets-check --config /path/to/portfolio.json --json
pro-gov portfolio doctor --config /path/to/portfolio.json --json
pro-gov portfolio ai-health --config /path/to/portfolio.json --target all --out audits/portfolio-ai-health/2026-07-12
pro-gov host-lens scan --out audits/host-lens
pro-gov host-lens plan --config /path/to/portfolio.json --out audits/host-lens/cleanup-review.json
pro-gov lens inspect --target .
pro-gov lens report --target . --out .pro-gov/lens-report.md
pro-gov init --profile engineering-runtime --dry-run
pro-gov init --profile engineering-runtime --apply
pro-gov init --profile doc-only --dry-run
pro-gov sync --check --profile engineering-runtime
pro-gov package-doctor

What these commands do:

| Command group | Purpose | Writes project files? | | --- | --- | --- | | assets list | Shows packaged assets and public registry metadata. | No | | assets discover | Detects local project signals. | No | | assets recommend | Suggests relevant individual assets from first-party workspace package signals, including nested apps; never installs them or equates a 3D surface with a game. | No | | assets catalog build|check | Builds or verifies the full-checkout portable asset catalog; optional native links are local cache only. | Only build writes the explicit catalog output | | portfolio check | Validates an external portfolio manifest owned by the user or organization. | No | | portfolio plan | Builds dry-run asset plans for manifest targets, using packaged public assets unless a full checkout is supplied. | No | | portfolio assets-check | Checks the integrity of each target's current managed asset lock and symlinks. | No | | portfolio doctor | Runs the offline fleet gate: package, target CLI, asset, symlink, Git-state evidence, and optional host-tooling checks. | No | | package-doctor | Checks only the installed pro-gov package assets and packaged doc-gov availability. The legacy doctor spelling remains an alias. | No | | portfolio ai-health | Writes the privacy-preserving HTML/JSON inventory plus proactive capability questions. --target <id> refreshes one target; --target all creates fleet coverage. --deep prepares one evidence-bound AI diagnosis; --review <file.json> requires paired target/PGS reflection in every area, full catalog reverse-discovery and separate development-host evidence. | Only the explicit output | | host-lens inspect | Measures where the computer's disk space went and explains each big folder as cache, rebuildable, history, asset or unknown, without reading file contents. | No | | host-lens scan | Same measurement, plus the fixed SwimmerUIKit HostLens dashboard, JSON evidence and growth since the previous scan in that directory. | Only the explicit output | | host-lens plan | Writes a non-executable cleanup review checklist; it never deletes. | Only the explicit output | | lens inspect | Produces ProjectLens-style local evidence. | No | | lens report | Writes the requested report file. | Only the explicit output | | init --dry-run | Shows starter/profile files that would be needed. | No | | init --apply | Installs one profile into a fresh target; refuses the whole operation if any target file exists. Optional CI and Lefthook references are not installed. | Yes | | sync --check | Strictly compares shared core files, checks project-local seeds for presence, and leaves optional guardrail contents consumer-owned. | No | | doctor | Checks required packaged assets and whether doc-gov is available. | No |

Full Checkout Commands

The npm package can install reviewed public agent assets through an explicit plan. A full Project Governance System checkout can additionally use its maintainer-local asset registry:

pro-gov assets plan --asset pie-rules/ai-in-the-loop --asset pie-rules/document-convergence --target . --out .pro-gov/asset-plan.json
pro-gov assets apply --plan .pro-gov/asset-plan.json
pro-gov assets check --target .
pro-gov assets public-check --json
pro-gov assets npx update --plan
pro-gov assets catalog build --native-links
pro-gov assets catalog check

Skill placement normally comes from the asset registry. Use --placement manual for project-scoped skills that should stay explicitly invoked and discoverable in the project's rich manual toolbox instead of entering the automatic skill root. Manual is a loading/placement choice, not a claim that the skill is irrelevant or unused today:

pro-gov portfolio plan --config /path/to/portfolio.json --target user --out /tmp/user-skills-plan.json

Codex manual placement writes managed skill links under .agents/manual-skills/ instead of .agents/skills/. User-scoped skills, such as a personal loop library, are not installed into project targets; link them once under the user's skill roots instead.

The plan is the safety gate. apply may update managed targets described by the plan; it must not overwrite an unrelated unmanaged file. When an asset is removed from a previous managed selection, a plan may remove its old symlink only when the previous lock proves ownership and both plan-time and apply-time checks confirm that the path is still the same managed symlink.

These checkout-only workflows depend on a maintainer-local agent-assets/ registry when local-only assets are being used. The public repository and npm package use public-agent-assets/ as the reviewed promotion surface. assets public-check verifies that every publishable public asset still matches the private-source and public-copy hashes recorded during promotion.

assets catalog build leaves every canonical asset in place and generates one discovery surface directly under agent-assets/#catalogs: a local search page, Markdown/JSON indexes, and purpose-based topic folders. Source, author, type, and topic remain searchable attributes instead of duplicate folder trees. --native-links adds ignored machine-local shortcuts beside each topic README; assets catalog check verifies the portable output and fails closed on uncovered or uncategorized sources.

Package Boundary

  • pro-gov distributes starter, profile, integration, and adoption assets.
  • pro-gov assets discover|recommend provides read-only project evidence and deterministic recommendations.
  • pro-gov portfolio check|plan|assets-check|doctor reads an external portfolio manifest. Real downstream project lists belong in the user's control repository, not in this public package. The manifest does not require a private headquarters repo: npm users can omit controlPlane and executionEngine, and PGS will use the reviewed public assets packaged with @pieai/pro-gov.
  • pro-gov assets plan|apply|check manages local assets only from an explicit, reviewable plan in a full upstream checkout.
  • pro-gov lens inspect|report provides read-only inspection and an explicit report output.
  • doc-gov remains the document, router, manifest, link, CI, and migration validator.
  • Product truth stays in the target project.
  • pro-gov init --apply is intentionally fresh-target only. Existing projects use --dry-run and a deliberate migration so local truth is never overwritten.
  • PGS does not require or bootstrap a workflow plugin.
  • Optional hostTooling entries let portfolio doctor verify required Codex or Claude Code plugins. PGS does not install or upgrade those plugins.

Lightweight Agent Workflow

The AI host and the target project's proof commands own ordinary work. PGS does not appoint a mandatory workflow owner or require an external skill pack.

Before non-trivial implementation, debugging, release, architecture, or portfolio-sync work, run pro-gov learn recall --query "<task summary>" and read relevant docs/reference/learnings/** or CONCEPTS.md hits before changing files.

After completed, verified, non-trivial work, the small capture-learning Skill makes one visible decision. It writes a compact docs/reference/learnings/** record only when the result will help future work; otherwise it reports a skip. Resolve the CLI through the project (pnpm pro-gov in the PGS source repository) instead of assuming a global binary. PGS does not install Stop/SubagentStop reminder hooks or require a completion gate.

Read the full project introduction for beginner examples, profiles, adoption guidance, and exact integration boundaries.