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

reins-cli

v0.1.5

Published

Scaffold, audit, and evolve projects using the Harness Engineering methodology

Downloads

263

Readme

reins — Harness Engineering CLI

Scaffold, audit, and evolve projects using the Harness Engineering methodology.

Relationship to the Reins skill

  • reins-cli is the execution engine (deterministic JSON commands).
  • The Reins skill is the control plane that teaches coding agents when/how to call this CLI.
  • Human operators steer intent; agents execute with Reins command outputs.

For end-user agent workflows, install the skill first:

npx skills add WellDunDun/reins

What is Harness Engineering?

A development methodology where humans steer and agents execute. All code — application logic, tests, CI, docs, tooling — is written by AI agents. Humans design environments, specify intent, and build feedback loops.

Install

# From npm
# "." means "current directory"
npx reins-cli@latest audit .

# Or clone and link
git clone https://github.com/WellDunDun/reins.git
cd reins/cli/reins
bun install
bun link

Commands

Path reminder: . = current directory, .. = parent directory.

reins init <path>

Scaffold the full harness engineering structure in a directory:

reins init .
reins init ./my-project --name "My Project"
reins init . --force  # Overwrite existing files
reins init . --pack auto  # Adaptive pack selection from project signals
reins init . --pack agent-factory  # Optional advanced automation pack

Creates:

  • AGENTS.md — Concise map (~100 lines) pointing to deeper docs
  • ARCHITECTURE.md — Domain map with layered architecture rules
  • docs/golden-principles.md — Mechanical taste rules
  • docs/design-docs/ — Indexed design documents with verification tracking
  • docs/design-docs/core-beliefs.md — Agent-first operating principles
  • docs/product-specs/ — Product specification registry
  • docs/exec-plans/ — Active plans, completed plans, tech debt tracker
  • docs/references/ — External LLM-friendly reference docs
  • docs/generated/ — Auto-generated documentation

Pack modes:

  • --pack auto selects a compatible pack when stack signals are clear, otherwise keeps base scaffold.
  • --pack agent-factory explicitly scaffolds advanced automation:
  • scripts/lint-structure.mjs, scripts/doc-gardener.mjs, scripts/check-changed-doc-freshness.mjs, scripts/pr-review.mjs
  • .github/workflows/risk-policy-gate.yml, .github/workflows/pr-review-bot.yml, .github/workflows/structural-lint.yml

reins audit <path>

Score a project against harness engineering principles (0-24):

reins audit .

Scores six dimensions (variable max per dimension, 24 total):

  1. Repository Knowledge (0-4) — AGENTS.md, docs/, versioned plans
  2. Architecture Enforcement (0-3) — ARCHITECTURE.md, dependency rules, linters
  3. Agent Legibility (0-5) — Bootable app, observability, lean dependencies
  4. Golden Principles (0-3) — Documented rules, CI enforcement, cleanup process
  5. Agent Workflow (0-6) — Agent config, PR templates, merge gates, orchestration readiness
  6. Garbage Collection (0-3) — Debt tracking, doc-gardening, quality grades

Returns a maturity level:

  • L0: Manual (0-6) — Traditional engineering
  • L1: Inloop (7-12) — Agents help, humans still code
  • L2: Guided Outloop (13-18) — Humans steer, agents execute
  • L3: Full Outloop (19-21) — Agents handle full lifecycle
  • L4: Zero Touch (22-24) — System maintains itself

reins evolve <path>

Show the evolution path from your current maturity level to the next:

reins evolve .
reins evolve . --apply   # Auto-run scaffolding steps

Runs an audit, identifies your current level, and returns a step-by-step roadmap to level up — including which steps are automatable and which require human decisions.

reins doctor <path>

Check project health with prescriptive fixes:

reins doctor .

Returns pass/fail/warn for each check with specific fix instructions.

reins compare <path> <baseline.json>

Compare the current audit score against a saved baseline:

reins audit . > baseline.json
# ... make changes ...
reins compare . baseline.json

Returns a dimension-by-dimension diff showing score deltas and maturity level changes, useful for tracking progress over time or validating that a set of changes improved readiness.

Output

All commands output deterministic JSON, making them composable with other tools:

reins audit . | jq '.maturity_level'
reins doctor . | jq '.checks[] | select(.status == "fail")'

Methodology

Based on OpenAI's internal experiment building a product with zero manually-written code:

  1. Repository is the system of record — All knowledge versioned in-repo
  2. Progressive disclosure — Short AGENTS.md as map, deep docs elsewhere
  3. Layered domain architecture — Types > Config > Repo > Service > Runtime > UI
  4. Golden principles — Mechanical taste enforced in CI
  5. Garbage collection — Background agents clean drift continuously
  6. Corrections are cheap — Minimal blocking merge gates

Runtime

  • Runtime: Bun or Node.js
  • Language: TypeScript
  • Output: JSON