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

harness-enforcer-install

v1.1.0

Published

Install the Harness Engineering Enforcer Codex skill into a local Codex skills directory.

Readme

Harness Engineering Guide

Product Summary

Harness Engineering Guide is a repository-local operating system for AI coding agents. It packages durable instructions, executable checks, session state, versioned prompts, and reusable templates so that an agent can understand how to work, prove its result, and hand off the next step without relying on chat history.

The latest stable guide is guides/HARNESS-v1.0.md. The locally verified v1.1 release candidate is guides/HARNESS-v1.1.md. Use HARNESS.md as the stable entry point for the latest version. The Korean source originals are archived under docs/originals/ko/.

Main Use Cases

  • Recommend project-specific operating rules before planning starts.
  • Create durable context packets for multi-agent coding work.
  • Bootstrap a repository with agent-readable instructions and state files when explicitly requested.
  • Copy templates for feature, progress, decision, and quality tracking.
  • Run deterministic checks that enforce the required harness structure.
  • Connect the Harness Engineering Enforcer prompt to agent skill discovery.
  • Validate harness changes in GitHub Actions with AgentLint and local checks.

Repository Map

  • guides/: versioned Harness Engineering guides.
  • prompts/enforcer/: versioned Enforcer prompts.
  • docs/usage.md: quick start and recommended operation flow.
  • docs/commands.md: command-by-command behavior reference.
  • docs/examples/: example Harness strategies for common project shapes.
  • docs/templates/: copy-ready state document templates.
  • .agents/skills/harness-enforcer/: agent skill entry point.
  • bin/: npm/npx CLI wrapper for skill installation.
  • scripts/: setup, validation, and cleanup commands.
  • tests/: distribution and installer smoke checks.

See ARCHITECTURE.md for boundaries and placement rules.

Tech Stack

  • Content: Markdown
  • Automation: POSIX shell
  • CI: GitHub Actions
  • Harness linting: AgentLint CLI
  • Testing: shell syntax, repository contract checks, and template smoke tests

Local Setup

Requirements:

  • Git
  • A POSIX-compatible shell
  • Node.js 20+ only when running AgentLint locally
./scripts/setup.sh

No package installation is required for the repository's custom checks.

Development Commands

./scripts/check-harness.sh  # fast structural and policy check
./tests/template-smoke.sh   # consumer-level template test
./scripts/check.sh          # integrated local verification
./scripts/clean.sh          # remove known temporary check artifacts

Optional AgentLint:

npx --yes [email protected] agentlint check

Test Commands

Static verification:

sh -n scripts/*.sh tests/*.sh
./scripts/check-harness.sh

Distribution contract verification:

./tests/template-smoke.sh

This repository has no application server, database, browser UI, or deployment runtime. Runtime verification therefore means executing the setup and integrated check paths successfully.

Deployment / Runtime Notes

There is no deployed service. GitHub Actions runs AgentLint and the custom harness check on pushes and pull requests. The workflow uses read-only repository permissions and does not require secrets.

User Guides

Start a Harnessed Repository

  1. Read HARNESS.md.
  2. Copy the files in docs/templates/ into the target root.
  3. Adapt commands and architecture documents to the target stack.
  4. Copy scripts/check-harness.sh and tailor its required-file contract.
  5. Run all three verification layers before marking the bootstrap feature passing.

Use from Any Repository

Install the Enforcer once into your Codex skills directory:

./scripts/install-skill.sh

The current public npm release is 1.0.4:

npx -y harness-enforcer-install

Until 1.1.0 is intentionally published, use ./scripts/install-skill.sh from this repository to test the v1.1 release candidate.

Open a new Codex session in any repository and invoke:

$harness-enforcer

The unqualified command is always a read-only audit. To initialize project planning and multi-agent coordination:

$harness-enforcer start

This creates a minimal durable context packet with the objective, non-goals, agent roles, ownership, dependency order, verification responsibilities, and handoff rules. It does not bootstrap the full Harness structure.

To ask what rules should govern a project before planning:

$harness-enforcer advise

Adopted advice becomes a sticky Principles Layer that later start, resume, coordinate, and finish operations must preserve.

To explicitly add the baseline Harness v1.1 structure:

$harness-enforcer bootstrap this repository without overwriting existing files

Only explicit bootstrap runs the bundled bootstrap-repo.sh, vendors the versioned guide and prompt, creates missing state files, installs a project-local skill, and adds the default harness lint workflow. Existing project documents are preserved.

If you want a one-shot prompt for a fresh session instead of repeating $harness-enforcer, use:

./scripts/print-session-start.sh

That prints docs/session-start-prompt.md.

Preview a bootstrap directly:

~/.codex/skills/harness-enforcer/scripts/bootstrap-repo.sh \
  --target /path/to/project \
  --dry-run

Use --no-ci when the target repository must integrate the checks into an existing workflow manually.