~ / rigs / yhnocoder / agentrun

yhnocoder/agentrun

Run claude-code, codex and pi in a sandbox with one command, on macOS, Linux, cloud containers and docker.

↗ GitHub ★ 0 Apache-2.0 updated 29d ago project Claude Code
field: unknown workflow: Testing & TDD
stack: clapRust
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
1/5
No YOLO mode · details
Quality 15/100 Guardrails v2

Copy this rig

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

$ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/yhnocoder/agentrun/main/.claude/agents/implementer.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 *)"
    ]
  }
}

Subagents (1)

implementer
model: opus
执行 Task 的 Implement 和 Test,按主 agent 给出的 Spec 实现代码、写测试并自测,完成后向主 agent 报告。

Permissions

deny (0)
—
ask (0)
—
allow (9)
Bash(cargo build:*)
Bash(cargo check:*)
Bash(cargo clippy:*)
Bash(cargo fmt:*)
Bash(cargo run:*)
Bash(cargo test:*)
Bash(scripts/test.sh:*)
Bash(uv run scripts/check_comment.py:*)
Bash(uv run scripts/check_docs.py:*)

Similar rigs

copied ✓