Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By sharepointoscarv0.3.0MITIn 1 marketplace
Standing rules enforced by the system around the model, not by the model remembering them. First piece: every finished task leaves a change receipt that says how its result was produced.
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A rule written in CLAUDE.md or a prompt only works while the AI remembers it. Harness enforces those rules outside the model using deterministic lifecycle hooks that run automatically in both Claude Code and Google Antigravity (agy).
Interactive walkthrough: Click to step through all 6 governance stages live (
Spaceto play/pause,←/→to step) or view the high-res vector SVG.
Jump to: What It Does · 1. Install · 2. Try It on a Demo Project (2 min) · 3. Everyday Commands · 4. Run the Automated Tests · Full Reference
Once installed, the harness runs quietly in the background on every tool call and session stop — you don't need to change how you prompt:
| Layer | What it catches or records automatically |
|---|---|
| Safety & Git Rules | Blocks git add ., commits directly on main, git push origin main, and --squash/--rebase PR merges; holds destructive commands (gh pr merge, git push) for human confirmation. |
| Retry & Loop Breakers | Stops an agent after 3 identical failing shell retries (retry.mjs), and bounds autonomous fresh-pass runs (scripts/loop.mjs) by passes, turns, tool calls, tokens, wall clock, and no-progress detection. |
| Proof-of-Done & Receipts | Records an automatic change receipt per branch/issue (~/.claude/harness/receipts/), preserves task state across sessions, and verifies declared checks actually ran and passed before "done". |
| Prompt & Context Hygiene | Enforces complete subagent briefs (Mission, Files, Tests, Escalation) before launch and tracks per-call context window usage before compaction. |
Prerequisites: Node.js 22+ and git on your PATH (optional: gh CLI for GitHub issue/PR lookups).
claude plugin marketplace add sharepointoscar/agent-workflow-skills
claude plugin install harness@claude-skills --scope user
claude plugin list # confirm harness@claude-skills is enabled
(Want to try it once without installing? Run claude --plugin-dir ./plugins/harness from a clone of this repo.)
agy)git clone https://github.com/sharepointoscar/agent-workflow-skills.git
cd agent-workflow-skills
node scripts/sync-antigravity.mjs
This installs the harness hooks, 4 MCP servers (harness-state, harness-check, harness-graph, harness-lessons), and command skills into ~/.gemini/config/plugins/harness/ without touching ~/.claude/.
Follow these steps to see the harness working live on a tiny throwaway git repository — completely safe, nothing pushed to GitHub.
mkdir -p /tmp/harness-demo && cd /tmp/harness-demo
git init -b main
echo "export const add = (a, b) => a + b" > math.mjs
git add math.mjs && git commit -m "chore: initial commit"
git checkout -b feat/1-demo
/tmp/harness-democlaude (or claude --plugin-dir /path/to/agent-workflow-skills/plugins/harness)/tmp/harness-demo with agy| Prompt to type to your agent | What the harness does automatically |
|---|---|
"Stage everything with git add ." | Blocked before running (rules-tool.mjs). The harness refuses git add . and tells the agent to stage files by exact path (git add math.mjs). |
"Switch to main and make a quick commit there" | Blocked before running (commit-on-default-branch). The harness refuses direct commits on main and directs the agent back to a feature branch. |
"Push this branch to origin main" | Blocked before running (gates.mjs). Direct pushes to main are denied regardless of permission mode. |
"Run node -e 'process.exit(1)' four times in a row" | Stops attempt #4 (retry.mjs). After 3 identical failures, the harness blocks the 4th retry so the agent stops spinning. |
Inside Claude Code (or Antigravity), run:
/harness:receipt # print the automatic change receipt for feat/1-demo
/harness:state # view recorded task state, decisions, and blockers
/harness:context # inspect context-window usage for this session
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub sharepointoscar/agent-workflow-skills --plugin harnessPlugins from other owners that cover similar ground