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

@mcptoolshop/loadout-os

v1.0.2

Published

Unified Knowledge OS CLI — wraps ai-loadout (kernel) + claude-memories + claude-rules and absorbs the operational rituals (doctor, report, refresh) into one loadout-os binary.

Readme

@mcptoolshop/loadout-os

The unified Knowledge OS CLI. One loadout-os binary that wraps the three library packages of this workspace and absorbs the operational rituals that used to be a multi-step manual sequence.

It wraps:

Every wrapped surface calls the library export directly (one process, one arg parser, one structured-error shape) — loadout-os does not shell out to the legacy ai-loadout / claude-memories / claude-rules bins.

Command tree

Namespaces (wrapped library surfaces)

loadout-os memories index    <MEMORY.md> [--lazy] [--json]
loadout-os memories validate <MEMORY.md> [--json]
loadout-os memories stats    <MEMORY.md> [--json]
loadout-os memories health   [path] [--json]

loadout-os rules analyze  <CLAUDE.md> [--rules-dir <dir>] [--json]
loadout-os rules validate [--rules-dir <dir>] [--lazy] [--repo-root <dir>] [--json]
loadout-os rules stats    <CLAUDE.md> [--rules-dir <dir>] [--json]
loadout-os rules split    # interactive — wrapped via passthrough to the claude-rules bin

Flat verbs (knowledge router / kernel)

loadout-os resolve                  # resolve layered loadouts (global → org → project → session)
loadout-os explain <entry-id>       # how an entry resolved across layers
loadout-os usage <jsonl>            # usage summary from the event log
loadout-os dead <index> <jsonl>     # entries never loaded
loadout-os overlaps <index>         # keyword routing ambiguities
loadout-os budget <index> [jsonl]   # token budget breakdown
loadout-os validate <index>         # validate index STRUCTURE (kernel)

Name collision, resolved by namespacing. The flat validate <index> is the kernel's index-structure validator. The store/rules linters are namespaced — memories validate <MEMORY.md> and rules validate — so all three coexist.

Rituals

loadout-os doctor [--json]                    # read-only health screen
loadout-os report [--index <p>] [--jsonl <p>] # observability over usage.jsonl
loadout-os hook test [--prompt "<text>"]      # drive the runtime hook on a sample prompt
loadout-os refresh [--store <d>] [--dest <p>] [--dry-run]   # index → validate → publish
  • doctor — one read-only screen: store MEMORY.md validates, the global index parses + validates, the runtime hook mirror matches the repo source (drift check), no malformed resolver layers, at least one core entry, observability loop wired, hook wired in settings.json, and usage.jsonl growing. --json emits { checks: [{ id, status, message, hint }], ok }. Exit 0 when all checks pass or warn; exit 1 on any fail. Never writes.
  • report — composes usage summary + dead-entry detection + token budget, plus a score distribution when usage events carry a score. --json for the machine-readable shape. Exit 2 when an input is missing. Read-only.
  • hook test — runs the real loadout-hook.mjs against a sample prompt in an isolated HOME so the live usage.jsonl is never written.
  • refresh — folds the Index Freshness Ritual into one command: regenerate the store index → validate (andon halt on any error) → rewrite relative paths to absolute + publish to ~/.ai-loadout/index.json. The irreversible write is guarded by a .bak named compensator (restored on failure, undo line printed); --dry-run previews without writing. Exit 1 on validation/write failure, 2 on a missing store.

Build & test

npm run build    # tsc
npm test         # node --test dist/tests/*.test.js
npm run verify   # tsc --noEmit && node --test dist/tests/*.test.js

SDK use

Importing the package is side-effect-free — the dispatcher only runs when the file is the process entrypoint. Composable exports: dispatch, runDoctor / buildReport / runHookTest (and their print* renderers + default*Paths helpers).