TheElephantCoder/agent-harness
Performance layer for coding agents — skills, instincts, memory, security and research-first for Claude Code, Codex, Opencode, Cursor, Kiro CLI, Kiro, Cline, Aider.
field: Developer tools
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 41/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit TheElephantCoder/agent-harness/.claude ./rig-agent-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 TheElephantCoder/agent-harness/skills/memory-sync .claude/skills/memory-sync $ npx degit TheElephantCoder/agent-harness/skills/performance .claude/skills/performance $ npx degit TheElephantCoder/agent-harness/skills/research-first .claude/skills/research-first $ npx degit TheElephantCoder/agent-harness/skills/security-guard .claude/skills/security-guard
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Bash(rm -rf /*)",
"Read(~/.ssh/*)",
"Read(~/.aws/*)"
],
"ask": [
"Bash(curl *)",
"Bash(sudo *)",
"Write(/etc/*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash|Edit|Write",
"hooks": [
{
"type": "command",
"command": "./instincts/pre-tool/guard.sh"
}
]
}
]
}
} Skills (4)
Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | ./instincts/session-start/hydrate.sh |
| PreToolUse | Bash|Edit|Write | ./instincts/pre-tool/guard.sh |
| PostToolUse | Edit|Write | ./instincts/post-edit/check.sh |
| PreCommit | * | ./security/audit.sh --staged |
Cursor rules (1)
harness · always
Permissions
deny (3)
Bash(rm -rf /*)
Read(~/.ssh/*)
Read(~/.aws/*)
ask (3)
Bash(curl *)
Bash(sudo *)
Write(/etc/*)
allow (9)
Read
Grep
Glob
Bash(git *)
Bash(npm *)
Bash(harness *)
Bash(python3 *)
Bash(pytest *)
Bash(cargo *)
Similar rigs
addyosmani/web-quality-skills
Agent Skills for optimizing web quality based on Lighthouse and Core Web Vitals.
Pragmatist 1.9k tok · · Q0
Piebald-AI/splitrail
Fast, cross-platform, real-time token usage tracker and cost monitor for Claude Code / Codex CLI / Antigravity CLI / Qwen Code / Cline / Zoo Code / Kilo Code / GitHub Copilot / OpenCode / Pi Agent / Piebald.
Pragmatist 626 tok · · Q0
nirholas/AuditKit
Website and GitHub repo auditor that scores performance, SEO, accessibility, security and AI readiness from a pasted URL.
Pragmatist 621 tok · · Q0
DavidTsao1992/neko-skill
Portable agent skills and a SessionStart hook that give Claude Code, Codex and Gemini CLI a local, versioned AI memory (AI_MEMORY.md) in every repo.
Pragmatist 2.5k tok · · Q3