Haven16262/dual-model-workflow
A lightweight protocol for pairing two AI coding models (Overseer + Worker) that hand off through plain Markdown files. Works with any Anthropic-compatible endpoint. | 双模型协作开发工作流:全局者 + 工作者,通过 Markdown 文件交接
field: AI / ML
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
Copy this rig
# review before running: this installs third-party code
$ npx degit Haven16262/dual-model-workflow/templates/.claude ./rig-dual-model-workflow # 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 Haven16262/dual-model-workflow/skills/allow-once .claude/skills/allow-once $ curl -fsSL --create-dirs -o .claude/agents/critic.md https://raw.githubusercontent.com/Haven16262/dual-model-workflow/main/templates/.claude/agents/critic.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 (1)
Subagents (1)
| critic model: haiku | 双模型工作流的安全审查子代理。由全局者在工作者「关键决策点」的「安全相关」项非空时调用,对工作者点名的相关文件做结构化审查并返回报告。只读,不可修改任何文件。 |
Hooks (2)
| event | matcher | runs |
|---|---|---|
| Stop | * | j(){ printf '%s' "$1" | sed 's/[\\"]/\\&/g'; }; f="$HOME/.claude/scripts/k10-stop-gate.py"; c=0; grep -qs '^workflow-mode:[[:space:]]*competition' "${CLAUDE_PROJECT_DIR:-.}/context.md" && c=1; if [ -f "$f" ]; then for py in python3 python; |
| SubagentStop | * | j(){ printf '%s' "$1" | sed 's/[\\"]/\\&/g'; }; f="$HOME/.claude/scripts/k10-subagent-report.py"; c=0; grep -qs '^workflow-mode:[[:space:]]*competition' "${CLAUDE_PROJECT_DIR:-.}/context.md" && c=1; if [ -f "$f" ]; then for py in python3 py |
Slash commands (2)
/as-overseer/as-worker
Similar rigs
heikki-laitala/ddslop
Finds the duplicated and dead code AI coding agents leave behind and hands Claude Code, Codex or Copilot a concrete refactoring to apply, with a map of the codebase's conventions so the next copy isn't written. Go, Rust and TypeScript. Loca
Minimalist 1.9k tok · · Q3
mutaaf/cold-gas
COLD GAS: ten cold-gas thrusters, one roll, stick the landing. A keynote-minimal 3D stunt game judged by an AI panel. Built by AI agents.
Orchestrator 15.8k tok · · Q5
SchotjeChrisman/agentic-workflow
A self-improving Claude Code setup
Orchestrator 3.9k tok · · Q18
Aprilox/Athanor
Athanor - the furnace that never goes out. Claude Code keeps working on your project, cycle after cycle, one verified milestone at a time, unattended.
Orchestrator 8.4k tok · · Q28