~ / rigs / sagaga144 / claude-harness-bootstrap

sagaga144/claude-harness-bootstrap

Generate a project-specific Claude Code harness (CLAUDE.md, hooks, subagents, commands) from one paragraph. Any stack. Eval-tested.

↗ GitHub ★ 1 mit updated 2mo ago personal setup Claude Code Claude plugin
stack: JavaScript
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~9.8k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 48/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit sagaga144/claude-harness-bootstrap/examples/desktop-notes-app/.claude ./rig-claude-harness-bootstrap  # 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 sagaga144/claude-harness-bootstrap/examples/juce-audio-plugin/.claude/skills/orch-add-feature .claude/skills/orch-add-feature
$ npx degit sagaga144/claude-harness-bootstrap/examples/ml-paper-reproduction/.claude/skills/reproducibility-check .claude/skills/reproducibility-check
$ npx degit sagaga144/claude-harness-bootstrap/examples/monorepo-saas/.claude/skills/add-endpoint .claude/skills/add-endpoint
$ npx degit sagaga144/claude-harness-bootstrap/plugin/skills/init .claude/skills/init
$ curl -fsSL --create-dirs -o .claude/agents/app-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/desktop-notes-app/.claude/agents/app-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/correctness-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/desktop-notes-app/.claude/agents/correctness-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/project-manager.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/desktop-notes-app/.claude/agents/project-manager.md
$ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/desktop-notes-app/.claude/agents/security-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/correctness-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/juce-audio-plugin/.claude/agents/correctness-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/juce-audio-plugin/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/plugin-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/juce-audio-plugin/.claude/agents/plugin-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/correctness-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/ml-paper-reproduction/.claude/agents/correctness-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/ml-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/ml-paper-reproduction/.claude/agents/ml-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/backend-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/monorepo-saas/.claude/agents/backend-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/correctness-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/monorepo-saas/.claude/agents/correctness-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/db-guard.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/monorepo-saas/.claude/agents/db-guard.md
$ curl -fsSL --create-dirs -o .claude/agents/frontend-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/monorepo-saas/.claude/agents/frontend-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/monorepo-saas/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/monorepo-saas/.claude/agents/security-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/client-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/multiplayer-game-server/.claude/agents/client-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/go-correctness-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/multiplayer-game-server/.claude/agents/go-correctness-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/multiplayer-game-server/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/server-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/multiplayer-game-server/.claude/agents/server-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/state-integrity-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/multiplayer-game-server/.claude/agents/state-integrity-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/contract-auditor.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/solidity-nft-marketplace/.claude/agents/contract-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/contracts-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/solidity-nft-marketplace/.claude/agents/contracts-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/solidity-nft-marketplace/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/cli-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/terraform-aws-infra/.claude/agents/cli-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/correctness-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/terraform-aws-infra/.claude/agents/correctness-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/infra-safety-reviewer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/terraform-aws-infra/.claude/agents/infra-safety-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/terraform-aws-infra/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/terraform-engineer.md https://raw.githubusercontent.com/sagaga144/claude-harness-bootstrap/main/examples/terraform-aws-infra/.claude/agents/terraform-engineer.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Read(~/.aws/**)",
      "Read(~/.tauri/**)",
      "Bash(ssh:*)",
      "Bash(scp:*)",
      "Bash(curl:*)",
      "Bash(wget:*)",
      "Read(.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Read(~/.aws/**)",
      "Bash(ssh:*)",
      "Bash(scp:*)",
      "Bash(curl:*)",
      "Bash(wget:*)"
    ],
    "ask": [
      "Edit(.claude/hooks/**)",
      "Write(.claude/hooks/**)",
      "Edit(.claude/agents/**)",
      "Write(.claude/agents/**)",
      "Edit(.claude/settings.json)",
      "Write(.claude/settings.json)",
      "Edit(.claude/settings.local.json)",
      "Write(.claude/settings.local.json)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|PowerShell",
        "hooks": [
          {
            "type": "command",
            "command": "node"
          },
          {
            "type": "command",
            "command": "node"
          },
          {
            "type": "command",
            "command": "node"
          },
          {
            "type": "command",
            "command": "node"
          }
        ]
      },
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "node"
          },
          {
            "type": "command",
            "command": "node .claude/hooks/guard-protected-files.cjs"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/guard-bash-push.cjs"
          },
          {
            "type": "command",
            "command": "node .claude/hooks/guard-secret-scan.cjs"
          }
        ]
      },
      {
        "matcher": "Write",
        "hooks": [
          {
            "type": "command",
            "command": "node .claude/hooks/guard-adhoc-doc.cjs"
          }
        ]
      }
    ]
  },
  "sandbox": {
    "enabled": true
  }
}

Skills (4)

Subagents (28)

app-engineer
model: sonnet
Implements Plainvault features and fixes across both halves of the Tauri app, the Svelte 5 frontend (src/) and the Rust backend (src-tauri/), including the IPC between them and their tests. Use for an
correctness-reviewer
model: sonnet
Read-mostly reviewer for "compiles but wrong" bugs in both halves of Plainvault (Svelte 5/TypeScript and Rust) and for drift between them across the Tauri IPC boundary. Runs svelte-check and clippy as
project-manager
model: sonnet
Turns a Plainvault feature request ("add backlinks", "daily notes", "tag search") into a short, file-precise plan that says which agent does each step, then writes it to .claude/specs/<feature>/PLAN.m
security-reviewer
model: sonnet
Read-only reviewer for Plainvault's trust boundaries (webview to native IPC, Tauri capabilities, CSP, rendering untrusted markdown) and its data-loss surface (anything that writes, renames, moves or d
correctness-reviewer
model: sonnet
Reviews Driftline's C++/JUCE code for correctness bugs AND real-time audio-thread safety violations — the two are treated as one inseparable concern for this project, not two different checks. Use bef
planner
model: sonnet
Produces a file-precise implementation plan before code gets written — new DSP features, new parameters, architecture changes. Use before any non-trivial change, especially anything touching the audio
plugin-engineer
model: sonnet
Implements DSP and GUI changes for the Driftline JUCE plugin — both the audio-processing (PluginProcessor/DelayLine) and GUI (PluginEditor) halves of the same C++/JUCE codebase. Use for adding paramet
correctness-reviewer
model: sonnet
Reviews changes to src/*.py and config.yaml for "runs fine but is wrong" bugs — the failure modes a Python linter/syntax check can't catch (data leakage, shape bugs, silently-wrong metrics, reproducib
ml-engineer
model: sonnet
Implements and modifies the data pipeline, model, and training loop (src/data.py, src/model.py, src/train.py, src/utils.py) and the exploration/results notebooks. Use for "add X", "change the architec
backend-engineer
model: sonnet
Implements Rust work in crates/api and crates/contracts: Axum routes, handlers, extractors, sqlx queries, migrations, contract types. Use for any backend or contract change.
correctness-reviewer
model: sonnet
Read-only reviewer for "compiles but wrong" bugs in the Rust API and the React frontend, plus a field-by-field contract parity check between crates/contracts, the generated TS, and how both sides actu
db-guard
model: sonnet
Read-only reviewer for the Postgres data layer in crates/api: migrations, sqlx queries, owner/org scoping, transactions around money. Run on any change under crates/api/migrations or the repo/db modul
frontend-engineer
model: sonnet
Implements React + TypeScript work in packages/web: screens, components, API calls, forms, routing. Use for any UI or frontend change.
planner
model: sonnet
Produces a file-precise implementation plan before coding for any feature that touches more than one layer (contracts, API, web) or touches auth/billing. Use for "plan this", "how should I build X", o
security-reviewer
model: sonnet
Read-only security review of auth, sessions, accounts, org/tenant isolation, billing, payment-provider integration, webhooks and secrets handling. Must run before shipping any change to those areas, a
client-engineer
model: sonnet
Implements and modifies the plain-JavaScript canvas client -- rendering, input capture, and WebSocket connection handling. Use for any "add/change/fix the client/UI/rendering" request.
go-correctness-reviewer
model: sonnet
Reviews Go server changes for "compiles but wrong" failure modes -- unhandled errors, panics reachable from client input, goroutine/channel races, and broadcast-loop timing bugs. Use after any server
planner
model: sonnet
Thin project-specific wrapper around Claude Code's built-in Plan behavior -- produces a file-precise implementation plan before code gets written. Use for "how should I build this" / "plan this" / any
server-engineer
model: sonnet
Implements and modifies the Go WebSocket game server -- connection handling, the game loop/broadcast ticker, and server-side game-state logic. Use for any "add/change/fix the server" request.
state-integrity-reviewer
model: sonnet
Reviews the client-input trust boundary -- everywhere the server accepts a value from a client and everywhere the client trusts a value about another player. This project has no accounts/auth, but it
contract-auditor
model: sonnet
Reviews Solidity contract changes for both "compiles but wrong" correctness bugs and security/trust-boundary holes before anything is considered ready to deploy. Use before any deploy, and after any c
contracts-engineer
model: sonnet
Implements and modifies the Solidity contracts, Hardhat config, deploy scripts, and their TypeScript tests. Use for any "add a feature", "implement X", or "fix this contract bug" request.
planner
model: sonnet
Produces a file-precise implementation plan before coding starts on a new feature (a new contract, a new marketplace mechanic, a migration to a proxy pattern, etc.). Use for "how should I build this"
cli-engineer
model: sonnet
Implements the `infra` Typer CLI (plan/apply wrapper with environment guardrails) and its pytest suite under cli/. Use for any CLI command, flag, guardrail or test change.
correctness-reviewer
model: sonnet
Reviews Terraform and the Python CLI for "valid but wrong" bugs (resource address churn, wrong references, type errors, unchecked subprocess failures). Read-only plus check commands. Use after any imp
infra-safety-reviewer
model: sonnet
Security and blast-radius reviewer for AWS infra changes and the infra CLI's guardrails. Checks network/IAM/encryption exposure, destructive or irreversible changes to RDS/S3/VPC, and whether any guar
planner
model: sonnet
Produces a file-precise plan for a Terraform module/env change or an infra CLI change, including the expected terraform plan diff per environment. Use before any non-trivial infra or guardrail change.
terraform-engineer
model: sonnet
Implements Terraform modules (VPC, ECS cluster, RDS, S3) and the dev/staging/prod env roots that compose them. Use for any .tf/.tfvars/.tftest.hcl change.

Hooks (17)

eventmatcherruns
SessionStart*node
PreToolUseBash|PowerShellnode
PreToolUseBash|PowerShellnode
PreToolUseBash|PowerShellnode
PreToolUseBash|PowerShellnode
PreToolUseEdit|Writenode
PostToolUseEdit|Writenode
Stop*node
SessionStart*node .claude/hooks/critical-rules.cjs
PreToolUseBashnode .claude/hooks/guard-bash-push.cjs
PreToolUseBashnode .claude/hooks/guard-secret-scan.cjs
PreToolUseWritenode .claude/hooks/guard-adhoc-doc.cjs
PreToolUseEdit|Writenode .claude/hooks/guard-protected-files.cjs
PostToolUseEdit|Writenode .claude/hooks/warn-debug-print.cjs
PostToolUseEdit|Writenode .claude/hooks/warn-realtime-unsafe.cjs
PreModelSwitch*node .claude/hooks/cost-guard.cjs
Stop*node .claude/hooks/build-gate.cjs

Slash commands (16)

/verify/resume-session/save-session/verify/plan-experiment/resume-session/save-session/verify/verify/resume-session/save-session/verify/predeploy-check/verify/review-plan/verify

Permissions

deny (17)
Read(.env)
Read(**/.env)
Read(~/.ssh/**)
Read(~/.aws/**)
Read(~/.tauri/**)
Bash(ssh:*)
Bash(scp:*)
Bash(curl:*)
Bash(wget:*)
Read(.env)
Read(**/.env)
Read(~/.ssh/**)
Read(~/.aws/**)
Bash(ssh:*)
Bash(scp:*)
Bash(curl:*)
Bash(wget:*)
ask (8)
Edit(.claude/hooks/**)
Write(.claude/hooks/**)
Edit(.claude/agents/**)
Write(.claude/agents/**)
Edit(.claude/settings.json)
Write(.claude/settings.json)
Edit(.claude/settings.local.json)
Write(.claude/settings.local.json)
allow (0)
—

Similar rigs

copied ✓