~ / rigs / ganimjeong / Harness-for-claude

ganimjeong/Harness-for-claude

A minimal, language-agnostic harness for Claude Code and AGENTS.md-compatible coding agents. | Claude Code와 AGENTS.md 호환 에이전트를 위한 미니멀·언어 무관 하네스.

↗ GitHub ★ 32 MIT updated 4mo ago personal setup Claude CodeCodex
share on X
ARCHETYPE
Minimalist
Lean instructions, few tools, tiny context tax. Lets the model think.
CONTEXT TAX · EVERY TURN
~1.1k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Protects secrets · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit ganimjeong/Harness-for-claude/.claude ./rig-harness-for-claude  # 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.

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(**/.env)",
      "Read(**/.env.*)",
      "Read(**/secrets/**)",
      "Bash(*$(*)*)",
      "Bash(*`*`*)",
      "Bash(git push --force*)",
      "Bash(git push -f *)"
    ]
  }
}

Hooks (2)

eventmatcherruns
SessionStart*$CLAUDE_PROJECT_DIR/.claude/hooks/session-start-context
Stop*$CLAUDE_PROJECT_DIR/.claude/hooks/stop-check

Slash commands (2)

/bootstrap/check

Permissions

deny (9)
Read(.env)
Read(.env.*)
Read(**/.env)
Read(**/.env.*)
Read(**/secrets/**)
Bash(*$(*)*)
Bash(*`*`*)
Bash(git push --force*)
Bash(git push -f *)
ask (0)
—
allow (13)
Bash(scripts/bootstrap)
Bash(scripts/check)
Bash(scripts/test)
Bash(git status)
Bash(git diff:*)
Bash(git log:*)
Bash(git branch:*)
Bash(git show:*)
Bash(rg:*)
Bash(ls:*)
WebFetch(domain:docs.anthropic.com)
WebFetch(domain:code.claude.com)
WebFetch(domain:github.com)

Similar rigs

copied ✓