Install
Bootstrap the harness into any git repository:
curl -sSL https://harness.shwrk.com/install | bash
Pin a specific harness version with ?v=:
curl -sSL "https://harness.shwrk.com/install?v=0.1.0" | bash
What the script does
The installer is deliberately dumb, idempotent, and safe to re-run. It runs set -euo pipefail and:
- Detects your OS (informational).
- Refuses to run outside a git repository —
cdinto your repo (orgit init) first. - Installs APM if it is missing (the official
https://aka.ms/apm-unixinstaller) and verifiesapm --version. - Creates a minimal
apm.ymlonly if one does not already exist (name taken from the repo directory, version0.1.0). - Adds
nshiffer/harnesstodependenciesonly if absent — pinned to your requested?v=, otherwise tracking latest ("*"). - Runs
apm install. - Prints the next step.
It never touches any file other than apm.yml. Re-running it is safe.
Next step
Open the repo in Claude Code and run the harness skill. It scaffolds or merges the Makefile, AGENTS.md, the /health handler, git hooks, and .claude/settings.json — non-destructively — after which make check is your gate.
Getting the version list
The published versions are available as JSON:
curl -sSL https://harness.shwrk.com/versions