Turn Claude Code into a disciplined development partner.
A Claude Code plugin for autonomous Plan → Work → Review workflows, backed by two Go-native guardrail engines that block dangerous operations and credential leaks at runtime.
- A shared plan drives the work — every task in
.claude/harness/plans.json has acceptance criteria; agents follow the plan instead of improvising
- Two Go-native guardrails — operation guard (
R01–R13) blocks dangerous tool calls; content guard (PII Guard) blocks credential leaks
- Rerunnable validation — consistency checks, plugin validation, and migration-residue scans gate every change
If you found that you don't need that much skills any more especially after opus 5, check this superpowers-slim
Installation
Requirements: Claude Code v2.1+ · Go 1.22+ runtime
# Run inside Claude Code (user scope recommended — applies across all your projects)
/plugin marketplace add tim-hub/powerball-harness
/plugin install harness@powerball-harness-marketplace
First-time setup only: run /harness-setup to create CLAUDE.md, .claude/harness/plans.json, and settings.json. Existing projects with these files can skip it.
Core Skills
| Command | What it does |
|---|
/harness-setup | Project initialization (creates CLAUDE.md and .claude/harness/plans.json) |
/harness-plan | Ideas → .claude/harness/plans.json with acceptance criteria |
/harness-work | Implementation — auto-selects solo (1 task) / parallel (2–3) / breezing (4+) |
/harness-review | 4-perspective code review (security, performance, quality, a11y) |
/maintenance | Housekeeping — log pruning, stale-state cleanup, orphaned worktrees |
Run everything after plan approval:
/harness-work all
Full skill catalog, lifecycle diagrams, and agent roles: harness/README.md.
Go Guardrails
13 declarative rules in go/internal/guardrail/, evaluated in priority order on every tool call:
| Rule | Protected | Action |
|---|
| R01 | sudo commands | Deny |
| R02 | .git/, .env, secrets | Deny write |
| R03 | Shell writes to protected files | Deny |
| R04 | Writes outside project | Ask |
| R05 | rm -rf | Ask |
| R06 | git push --force | Deny |
| R07–R09 | Mode-specific and secret-read guards | Context-aware |
| R10 | --no-verify, --no-gpg-sign | Deny |
| R11 | git reset --hard main/master | Deny |
| R12 | Direct push to main / master | Warn |
| R13 | Protected file edits | Warn |
| Post | it.skip, assertion tampering | Warning |
| Perm | git status, npm test | Auto-allow |
Runtime hook behavior: docs/hardening-parity.md · Engine internals: go/README.md.
PII & Secret Guard
A second guardrail engine in go/internal/piiguard/ — 45 rules (15 built-in + 30 from an embedded coding-only catalog) that block AWS / OpenAI / Anthropic / Google / GitHub / Stripe / HuggingFace API keys, JWT and Bearer tokens, PEM private keys, generic api_key = "..." assignments, and email addresses. Wired into three hooks:
| Hook event | Action on detection |
|---|
UserPromptSubmit | Hard block ({decision: "block"} + exit 1) |
PreToolUse (Write|Edit|MultiEdit|Bash|Read) | permissionDecision: deny |
PostToolUse (Bash|Read) | Inject redacted view via additionalContext |
Disable globally with HARNESS_PIIGUARD_DISABLED=1 or per-rule with HARNESS_PIIGUARD_DISABLED_RULES=id1,id2.
Codex CLI Integration