~ / rigs / mmjclayton / agent-sop

mmjclayton/agent-sop

Portable project context and session coordination for Claude Code and Codex. Plain-file handoffs, worktree ownership claims and automated workflow checks.

↗ GitHub ★ 4 MIT updated 1mo ago project Claude CodeCodex
stack: PythonShell
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~1.9k tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details
Quality 20/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit mmjclayton/agent-sop/.claude ./rig-agent-sop  # 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 mmjclayton/agent-sop/.agents/skills/source-command-update-agent-sop .claude/skills/source-command-update-agent-sop
$ npx degit mmjclayton/agent-sop/.agents/skills/update-agent-sop .claude/skills/update-agent-sop
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/e2e-runner.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/.claude/agents/e2e-runner.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/.claude/agents/security-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/sop-checker.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/docs/benchmark/state-transition-fixtures/illegal-replication-inline-empty-exclude.repl/home/.claude/agents/sop-checker.md
$ curl -fsSL --create-dirs -o .claude/agents/sop-checker.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/docs/benchmark/state-transition-fixtures/illegal-replication-inline-empty-exclude.repl/repo/.claude/agents/sop-checker.md
$ curl -fsSL --create-dirs -o .claude/agents/sop-checker.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/docs/benchmark/state-transition-fixtures/illegal-replication-mirror-stale.repl/home/.claude/agents/sop-checker.md
$ curl -fsSL --create-dirs -o .claude/agents/sop-checker.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/docs/benchmark/state-transition-fixtures/illegal-replication-mirror-stale.repl/repo/.claude/agents/sop-checker.md
$ curl -fsSL --create-dirs -o .claude/agents/sop-checker.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/docs/benchmark/state-transition-fixtures/legal-replication-mirror-synced.repl/home/.claude/agents/sop-checker.md
$ curl -fsSL --create-dirs -o .claude/agents/sop-checker.md https://raw.githubusercontent.com/mmjclayton/agent-sop/main/docs/benchmark/state-transition-fixtures/legal-replication-mirror-synced.repl/repo/.claude/agents/sop-checker.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 17.0k 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.*)",
      "Read(./secrets/**)",
      "Bash(git reset --hard*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(npm publish:*)",
      "Bash(git reset --hard:*)",
      "Bash(git clean *)",
      "Bash(git rebase *)"
    ]
  }
}

Skills (2)

Subagents (10)

code-reviewer
model: sonnet
Reviews code for quality, maintainability, and security issues. Read-only. Reports findings as a structured list with severity levels.
e2e-runner
model: sonnet
Generates and runs Playwright end-to-end tests. Validates user flows, manages flaky tests, captures artifacts. Use for critical user journeys.
planner
model: opus
Takes a feature description and produces a structured build plan with scope, batches, risks, and architecture decisions. Complements the existing build plan format in docs/build-plans/.
security-reviewer
model: sonnet
Scans for OWASP Top 10 vulnerabilities, secret leaks, injection flaws, and auth issues. Read-only. Reports findings with severity and remediation steps.
sop-checker—
sop-checker—
sop-checker—
sop-checker—
sop-checker—
sop-checker—

Slash commands (7)

/update-agent-sop/update-sop/update-sop/update-sop/update-sop/update-sop/update-sop

Similar rigs

copied ✓