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

harnessize

v0.6.1

Published

CLI for preparing repositories for AI harness workflows.

Readme

harnessize

harnessize is a CLI for preparing repositories for AI harness workflows.

npx -y harnessize@latest

The CLI exposes the command shape, context topics, build pipeline, tests, and release automation. The default init flow creates a thin AGENTS.md harness handoff when one does not already exist.

Usage

npx -y harnessize@latest [target] [options]
npx -y harnessize@latest context [topic]

Options:

  • --dry-run: preview planned harnessization steps without writing files.
  • --json: print the plan as JSON.
  • -h, --help: show help.
  • -v, --version: show the package version.

Harnessization

By default, harnessize creates AGENTS.md as the repository's single source of truth for agent-facing harness guidance. Existing instruction files are not overwritten; the CLI reports a skip so the agent can merge a small harnessize handoff manually when needed. Generated guidance tells agents not to write secrets, credentials, tokens, personal data, or non-public local machine/workspace data into repository artifacts.

Harnessize also creates thin adapter files by default so repositories behave consistently across multiple coding agents:

npx -y harnessize@latest

This keeps AGENTS.md as the canonical harness document while adding thin routing files for tools with different conventions:

  • Codex uses AGENTS.md directly.
  • Claude Code gets CLAUDE.md, which imports AGENTS.md.
  • Cursor gets .cursor/rules/harnessize.mdc, an always-applied project rule that references AGENTS.md.

Context Topics

Harnessize can provide progressive, agent-facing guidance without copying large manuals into the target repository.

npx -y harnessize@latest context
npx -y harnessize@latest context brainstorm
npx -y harnessize@latest context grill
npx -y harnessize@latest context feature
npx -y harnessize@latest context caseset
npx -y harnessize@latest context verify
npx -y harnessize@latest context review
npx -y harnessize@latest context conduct

context prints the root agent-facing guidelines for using harnessize as a soft workflow orchestrator. Focused topics add deeper guidance only when needed.

brainstorm is the first dogfooded topic. It guides analysis, research, discussion, clarification, and ideation work while keeping user-facing responses concise and recording sourced turn-level discussion summaries.

grill pressure-tests a concrete plan, design, architecture, PRD, or implementation approach before execution.

feature guides feature lifecycle design and authoritative feature production materials, including feature specs and semantic use cases.

caseset guides semantic use case set maintenance inside feature specs so cases stay detailed, searchable, reviewable, and useful for later verification.

verify guides quality-gate evidence selection, checks, self-healing, and escalation when the agent needs confidence that work is correct enough to continue or close.

review guides findings-first review of production materials and worktree changes before handoff, stage transition, or external effect.

conduct guides agent behavior before production work or durable project changes, and includes domain extensions such as coding conduct for implementation, refactoring, and review work.

Development

npm install
npm run dev -- --dry-run
npm test
npm run build

Publishing

Publishing is handled by .github/workflows/publish.yml when a GitHub Release is published.

Before the first release:

  1. Make sure the npm package harnessize is owned by your npm user or organization.
  2. Configure npm Trusted Publishing for this package:
    • Provider: GitHub Actions
    • Repository: the GitHub repository for this project
    • Workflow: publish.yml
  3. Ensure package.json has the correct public GitHub repository URL before publishing with provenance.
  4. Publish a GitHub Release whose tag matches the package version, for example v0.1.0.

The workflow uses OIDC-based Trusted Publishing instead of a long-lived NPM_TOKEN.