~ / rigs / oscar-chw / agent-harness

oscar-chw/agent-harness

One standard-library install of shared rules, memory and retrieval for Claude Code, Codex, Copilot, Cursor, Gemini CLI and two more AI coding tools (as far as each supports them), plus a fail-closed command guard for Claude Code. The guard

↗ GitHub ★ 0 MIT updated today personal setup Codex
stack: Python
share on X
ARCHETYPE
Skill Collector
Ten-plus skills loaded on demand. A procedural-knowledge library.
CONTEXT TAX · EVERY TURN
~1.1k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 5/100 Guardrails v2

Copy this rig

$ git clone --depth 1 https://github.com/oscar-chw/agent-harness

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 oscar-chw/agent-harness/content/skills/clear-docs .claude/skills/clear-docs
$ npx degit oscar-chw/agent-harness/content/skills/data-job-trial-run .claude/skills/data-job-trial-run
$ npx degit oscar-chw/agent-harness/content/skills/debug-systematically .claude/skills/debug-systematically
$ npx degit oscar-chw/agent-harness/content/skills/production-code .claude/skills/production-code
$ npx degit oscar-chw/agent-harness/content/skills/research-paper .claude/skills/research-paper
$ npx degit oscar-chw/agent-harness/content/skills/session-memory .claude/skills/session-memory
$ npx degit oscar-chw/agent-harness/content/skills/standards .claude/skills/standards
$ npx degit oscar-chw/agent-harness/content/skills/verify-before-done .claude/skills/verify-before-done
$ npx degit oscar-chw/agent-harness/content/skills/work-loop .claude/skills/work-loop
$ npx degit oscar-chw/agent-harness/content/skills/write-tests-first .claude/skills/write-tests-first

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 (10)

Similar rigs

copied ✓