~ / rigs / jordimarsal / harness

jordimarsal/harness

A standardized multi-agent harness for Opencode and Claude Code. Installs into any project with a single command.

↗ GitHub ★ 0 MIT updated 1mo ago personal setup Claude CodeCodex
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~2.8k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details
Quality 18/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit jordimarsal/harness/templates/.claude ./rig-harness  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit jordimarsal/harness/skills/adversarial-review-gauntlet .claude/skills/adversarial-review-gauntlet
$ npx degit jordimarsal/harness/skills/agent-dispatch-discipline .claude/skills/agent-dispatch-discipline
$ npx degit jordimarsal/harness/skills/architecture-advisor .claude/skills/architecture-advisor
$ npx degit jordimarsal/harness/skills/clarity-style .claude/skills/clarity-style
$ npx degit jordimarsal/harness/skills/spec-driven-development .claude/skills/spec-driven-development
$ npx degit jordimarsal/harness/skills/wekan-tasks .claude/skills/wekan-tasks
$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/jordimarsal/harness/main/templates/.claude/agents/implementer.md
$ curl -fsSL --create-dirs -o .claude/agents/leader.md https://raw.githubusercontent.com/jordimarsal/harness/main/templates/.claude/agents/leader.md
$ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/jordimarsal/harness/main/templates/.claude/agents/reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/spec-author.md https://raw.githubusercontent.com/jordimarsal/harness/main/templates/.claude/agents/spec-author.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Skills (6)

Subagents (4)

implementerWorker. Implements exactly ONE feature from its approved spec. Writes code, writes tests, self-verifies.
leaderOrchestrator. Decomposes work and dispatches subagents. NEVER writes application code directly.
reviewerAutomated reviewer. Approves or rejects work against docs/, harness/specs/<name>/, and harness/CHECKPOINTS.md.
spec-authorWrites Kiro-style specs (requirements/design/tasks) for a pending feature. NEVER writes application code or tests.

Hooks (2)

eventmatcherruns
PostToolUseEdit|Write{{TEST_CMD}} 2>&1 | tail -3
Stop*LOG=$(mktemp "${TMPDIR:-/tmp}/harness_init.XXXXXX") && harness/init.sh > "$LOG" 2>&1 && echo "[harness] init.sh OK ($LOG)" || (echo "[harness] init.sh FAILED - check $LOG before closing" && tail -20 "$LOG")

Permissions

deny (0)
—
ask (0)
—
allow (3)
Bash(harness/init.sh)
Bash({{TEST_CMD}})
Bash({{BUILD_CMD}})

Similar rigs

copied ✓