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

metaharness

v0.4.3

Published

MetaHarness — mint a custom AI agent harness from any repo. Browser Studio + `npx metaharness` CLI. Runs on Claude Code, Codex, pi.dev, Hermes, OpenClaw, RVM.

Downloads

89,990

Readme

metaharness

Scaffold your own focused AI agent harness — like ruflo, uniquely yours.

Proven at the cost-Pareto frontier. Same "evolve the harness" thesis, measured: the Darwin harness resolves real SWE-bench Lite issues at 34.0% single-trajectory (~$0.005/inst) and 39.7% Best-of-3 (~$0.015/inst) — conformant, official harness. Live Cost–Performance leaderboard · @metaharness/darwin.

Published as metaharness (the metaharness and harness CLIs). Earlier versions were published as create-agent-harness.

Quick start

npx metaharness my-bot

You'll be prompted for template, host, description. Out comes a complete npm package ready to npm publish.

Non-interactive

npx metaharness my-legal-bot \
  --template vertical:legal \
  --host claude-code \
  --description "Contract redline + risk rating"

Templates

| Template | Best for | |---|---| | minimal | Custom starter — kernel only | | vertical:devops | Incident response, on-call workflows | | vertical:support | Customer support, KB-RAG, escalation | | vertical:trading | Quant trading (paper-default, circuit breakers) | | vertical:legal | Contract review with citation checking | | vertical:research | Multi-source dossier with evidence grading |

Hosts

--host selects which host adapter ships with your harness:

| Host | What you get | |---|---| | claude-code | .claude/settings.json with MCP + hooks | | codex | ~/.codex/config.toml with [mcp_servers.*] | | pi-dev | Pi extension (TypeScript, no MCP by design) | | hermes | cli-config.yaml + optional-mcps/*.yaml | | openclaw | ~/.openclaw/openclaw.json + workspace SKILL.md + install runbook | | rvm | RVM partition manifest + capability table + wasm-guest + install runbook (hardware-isolated) |

Multi-host: pass --host multiple times.

Also ships the harness CLI

harness sign      # produce/update the witness manifest
harness verify    # check signature
harness doctor    # smoke-check a scaffolded harness
harness score     # runtime-readiness badges for a local repo
harness help

harness score vs metaharness score — two different scorecards (#15)

The two CLIs both accept score but emit different, purpose-specific JSON — so check the schema discriminator before parsing:

| Command | Purpose | JSON discriminator | |---|---|---| | harness score <dir> --json | Runtime-readiness badges (score + mcpRisk / releaseReady / testsDetected / sbom / witnessSigned) | "schema": "harness-quickcheck-v1" (string) | | metaharness score <dir> --json | 5-dimension harness-fit scorecard (harnessFit / compileConfidence / …) | "schema": 1 (number) |

They are not interchangeable. A consumer wiring one into a pipeline expecting the other should branch on schema (typeof out.schema === 'string' ⇒ harness badges; === 1 ⇒ metaharness scorecard) and refuse the wrong shape rather than silently defaulting missing fields to 0.

Optional Cognitum Meta-Proxy sidecar

Meta-Proxy is an optional local Rust sidecar, not an npm dependency and not part of normal harness scaffolding. Install it only when you want a locally bound, Claude-compatible routing endpoint with Meta-Proxy's own Cognitum OAuth flow:

npx metaharness proxy install --yes   # signed v0.7.1 download; checksum + Ed25519 verified
npx metaharness proxy run -- claude   # starts the sidecar and routes this Claude session through it
npx metaharness proxy run --policy critical -- claude -p "review this migration"

proxy run is the activation path: it supplies ANTHROPIC_BASE_URL and the local proxy bearer token only to the child process. It does not modify global Claude settings, project files, or persisted client configuration. With the Meta-Proxy automatic-failover release installed, ordinary requests use the user's Claude Passthrough identity; trusted rate-limit telemetry can then select consented Cloud or Sponsored capacity per request. Cognitum login is needed only for Cloud routing, not for installation or normal Passthrough.

Use npx metaharness proxy login to authorize Cognitum Cloud routing, and npx metaharness proxy status to inspect the managed sidecar.

Per-worktree routing policy

proxy run attaches a short-lived, HMAC-signed local capability to the launched process. The policy is scoped to a one-way fingerprint of the current worktree; neither its path nor repository metadata leaves the machine.

  • critical — suppress automatic Power Saver and Sponsored failover for this worktree. Explicit manual controls still apply.
  • standard — the normal automatic policy: Power Saver at 80% utilization, Sponsored only after exhaustion and only with consent.
  • economy — Power Saver may start at 60% utilization; it retains all consent gates and the Sponsored-at-exhaustion limit.

The capability is verified by Meta-Proxy, not inferred from .claude, a Git branch name, or any repository-controlled file. Meta-Proxy v0.4.0 or later is required for per-worktree policies; older releases reject the scoped token.

proxy install downloads the platform archive from the public meta-proxy-dist release channel only after explicit --yes consent. The CLI verifies the signed SHA256SUMS manifest against a public key pinned in MetaHarness before it extracts or replaces a binary. The sidecar is installed under ~/.metaharness/meta-proxy/; credentials remain in Meta-Proxy's own storage.

Other commands: proxy stop, proxy path, and proxy logout.

Eject from ruflo

If you've been using ruflo and want your own focused harness from it:

npx metaharness --from-existing ./

Lifts agents/skills/commands, rewrites every ruflo / claude-flow reference, preserves attribution blocks marked with <!-- ruflo-attribution-block -->.

Full walkthrough

See USAGE.md.

License

MIT