New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

harness-skills

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

harness-skills

Install harness skills for Cursor, Claude Code, and Codex — reliable agent loops with scope, verify, and resume

latest
Source
npmnpm
Version
1.9.0
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Harness Engineering Skills

npm version license CI

Agent skills for Cursor, Claude Code, and Codex — help coding agents finish work reliably, not just write code faster.

Based on Learn Harness Engineering by Walking Labs.

What you get

Without a harness, agents often:

  • forget context between sessions
  • declare “done” without running tests
  • do too much at once and leave things half-finished
  • need you to re-explain the project every time

These skills guide the agent through a proven workflow:

You getHow
Sessions that resume cleanlyprogress files, handoffs, init.sh
Done means verifiedtests and checks before marking complete
One feature at a timescoped task list the agent follows
Clear project rulesshort AGENTS.md the agent reads first
Know what to fix nextaudit scores your setup 0–100

You install the skills once in your IDE. Your project stays separate — skills are not copied into your app repo unless you choose to add harness files there.

Works with Cursor, Claude Code, and Codex (same SKILL.md format, different install folders).

Quick start

1. Install skills

npx harness-skills install

Pick global (all projects) or project-only. By default, skills install for Cursor, Claude Code, and Codex.

ToolGlobal pathProject path
Cursor~/.cursor/skills/.cursor/skills/
Claude Code~/.claude/skills/.claude/skills/
Codex~/.codex/skills/.agents/skills/

Install for one tool only:

npx harness-skills install --ide cursor
npx harness-skills install --ide claude
npx harness-skills install --ide codex

2. Open your project in Cursor, Claude Code, or Codex

3. Ask the agent to use a skill

Use harness-scaffold to set up this project

That’s it. No config file required to start.

Optional: add harness files to a project

If you want AGENTS.md, init.sh, and tracking files inside a repo:

cd /path/to/your-project
npx harness-skills create --target .

Then in your IDE:

Use harness-scaffold — replace the example features with real ones

Check the result:

npx harness-skills validate --target .

How it works

Skills live in your IDE (Cursor, Claude Code, or Codex). Harness files (optional) live in your project repo.

flowchart LR
    A["npx harness-skills install"] --> B[Skills in your IDE]
    B --> C[Open your project]
    C --> D["Ask: Use harness-…"]
    D --> E[Agent follows the skill]
    E --> F{Optional}
    F --> G["create + validate in project"]

Which skill should I use?

Start with scaffold on a new project or audit on an existing one. Use the table below when something specific goes wrong.

If this happens…Use this skillSay this to your agent
Starting a new projectharness-scaffoldUse harness-scaffold to set up this project
Not sure the setup is goodharness-auditUse harness-audit and show me the score
AGENTS.md is too long or vagueharness-instructionsUse harness-instructions to improve AGENTS.md
Agent cannot find where code livesharness-repo-knowledgeUse harness-repo-knowledge to add a repo map
Agent forgets between sessionsharness-stateUse harness-state to add progress tracking
Messy start or end of sessionharness-lifecycleUse harness-lifecycle for init and handoff
Fresh clone / .env / Docker / deps failharness-environmentUse harness-environment to make setup reproducible
Agent does too much at onceharness-scopeUse harness-scope to fix the feature list
Agent says done without proofharness-verificationUse harness-verification before marking done
Done claimed but quality is poorharness-evaluatorUse harness-evaluator to review with a rubric
Agent keeps failing, not sure whyharness-diagnoseUse harness-diagnose and fix the harness layer first
Unit tests pass, feature broken in appharness-e2eUse harness-e2e to add smoke/end-to-end checks
Hard to see what the agent didharness-observabilityUse harness-observability to improve debugging

Suggested order (first time)

flowchart LR
    A[harness-scaffold] --> B[harness-audit]
    B --> C[harness-instructions]
    C --> D[harness-repo-knowledge]
    D --> E[harness-state]
    E --> F[harness-lifecycle]
    F --> G[harness-environment]
    G --> H[harness-scope]
    H --> I[harness-verification]
    I --> J[harness-e2e]
    J --> K[harness-evaluator]
    K --> L[harness-observability]
    L --> M[harness-diagnose]

You don’t need all of them on day one. Install everything once, then invoke only what you need.

All skills

SkillWhat it helps with
harness-scaffoldCreate a minimal harness in a new project
harness-auditScore and diagnose an existing harness
harness-instructionsWrite a clear, short AGENTS.md
harness-repo-knowledgeShort repo map so agents find the right files
harness-statePersist progress between sessions
harness-verificationRequire real tests before “done”
harness-e2eEnd-to-end and smoke tests; executable architecture rules
harness-evaluatorIndependent review, sprint contracts, rubrics
harness-diagnoseAttribute failures to a harness layer; fix harness first
harness-scopeKeep the agent on one feature at a time
harness-lifecycleClean session start, handoff, and close
harness-environmentReproducible toolchain, env vars, services, and init.sh health
harness-observabilityMake agent runtime visible for debugging

Install options

GoalCommand
Default (interactive, all IDEs)npx harness-skills install
Skip promptsnpx harness-skills install --yes
Cursor onlynpx harness-skills install --ide cursor
Claude Code onlynpx harness-skills install --ide claude
Codex onlynpx harness-skills install --ide codex
This repo onlynpx harness-skills install --project
Pick specific skillsnpx harness-skills install --skills harness-scaffold,harness-audit
From GitHubnpx github:solanodz/harness-engineering-skills install

Remove skills

npx harness-skills uninstall

Removes only skills from this package (harness-*). Other skills in the same folder are left untouched.

GoalCommand
Default (interactive)npx harness-skills uninstall
Skip promptsnpx harness-skills uninstall --yes
This repo onlynpx harness-skills uninstall --project
Cursor onlynpx harness-skills uninstall --ide cursor
Specific skillsnpx harness-skills uninstall --skills harness-scaffold,harness-audit --yes

Legacy package name: harness-engineering-skills (still works).

CLI reference

CommandWhat it does
installCopy skills into Cursor, Claude Code, and/or Codex
uninstallRemove harness-skills from IDE folders (catalog only)
createAdd harness files to a project
validateScore a project harness (0–100)
reportHTML assessment report
listShow available skills

Common flags: --target . (project path), --force (overwrite on install), --project (current repo), --ide all|cursor|claude|codex, --yes (skip prompts).

For contributors

Templates live in templates/. Scripts: create-harness.mjs, validate-harness.mjs. Local dev:

git clone https://github.com/solanodz/harness-engineering-skills.git
cd harness-engineering-skills
npm run dev:install

Publishing: see .github/PUBLISHING.md.

Troubleshooting

Permission denied when running npx harness-skills inside this repo

If you cloned this repository and run npx harness-skills install from the repo root, npm may use the local package instead of the published one. Use one of these instead:

npm run dev:install          # recommended for local development
node scripts/cli.mjs install # explicit
npx harness-skills@latest install  # force published package

Install from your own project (not this repo):

cd ~/your-app
npx harness-skills install

Learn more

License

MIT — adapted from walkinglabs/learn-harness-engineering.

Keywords

harness-engineering

FAQs

Package last updated on 03 Sep 2026

Related posts