juanandresgs/claude-ctrl
The Systems Thinker's Deterministic Claude Code Control Plane
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
Copy this rig
# review before running: this installs third-party code $ npx degit juanandresgs/claude-ctrl/agents ./rig-claude-ctrl/agents $ npx degit juanandresgs/claude-ctrl/commands ./rig-claude-ctrl/commands $ npx degit juanandresgs/claude-ctrl/skills ./rig-claude-ctrl/skills $ npx degit juanandresgs/claude-ctrl/hooks ./rig-claude-ctrl/hooks
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 juanandresgs/claude-ctrl/sidecars/codex-review/skills/codex-cli-runtime .claude/skills/codex-cli-runtime $ npx degit juanandresgs/claude-ctrl/sidecars/codex-review/skills/codex-result-handling .claude/skills/codex-result-handling $ npx degit juanandresgs/claude-ctrl/sidecars/codex-review/skills/gpt-5-4-prompting .claude/skills/gpt-5-4-prompting $ npx degit juanandresgs/claude-ctrl/skills/context-preservation .claude/skills/context-preservation $ npx degit juanandresgs/claude-ctrl/skills/decide .claude/skills/decide $ npx degit juanandresgs/claude-ctrl/skills/deep-research .claude/skills/deep-research $ npx degit juanandresgs/claude-ctrl/skills/observatory .claude/skills/observatory $ npx degit juanandresgs/claude-ctrl/skills/prd .claude/skills/prd $ npx degit juanandresgs/claude-ctrl/skills/reckoning .claude/skills/reckoning $ npx degit juanandresgs/claude-ctrl/skills/signal-trace .claude/skills/signal-trace
$ curl -fsSL --create-dirs -o .claude/agents/guardian.md https://raw.githubusercontent.com/juanandresgs/claude-ctrl/main/agents/guardian.md $ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/juanandresgs/claude-ctrl/main/agents/implementer.md $ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/juanandresgs/claude-ctrl/main/agents/planner.md $ curl -fsSL --create-dirs -o .claude/agents/reviewer.md https://raw.githubusercontent.com/juanandresgs/claude-ctrl/main/agents/reviewer.md $ curl -fsSL --create-dirs -o .claude/agents/shared-protocols.md https://raw.githubusercontent.com/juanandresgs/claude-ctrl/main/agents/shared-protocols.md
Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"permissions": {
"deny": [
"Read(**/.env*)",
"Read(**/secrets/**)",
"Read(**/*credentials*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "$HOME/.claude/hooks/test-gate.sh"
},
{
"type": "command",
"command": "$HOME/.claude/hooks/mock-gate.sh"
},
{
"type": "command",
"command": "$HOME/.claude/hooks/pre-write.sh"
},
{
"type": "command",
"command": "$HOME/.claude/hooks/doc-gate.sh"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "{ cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl"
},
{
"type": "command",
"command": "$HOME/.claude/hooks/pre-bash.sh"
}
]
},
{
"matcher": "Task",
"hooks": [
{
"type": "command",
"command": "{ cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl"
},
{
"type": "command",
"command": "$HOME/.claude/hooks/pre-agent.sh"
}
]
},
{
"matcher": "Agent",
"hooks": [
{
"type": "command",
"command": "{ cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl"
},
{
"type": "command",
"command": "$HOME/.claude/hooks/pre-agent.sh"
}
]
}
]
}
} Skills (10)
codex-cli-runtimecodex-result-handlinggpt-5-4-promptingcontext-preservationdecidedeep-researchobservatoryprdreckoningsignal-trace
Subagents (5)
| guardian model: opus | | |
| implementer model: sonnet | | |
| planner model: opus | | |
| reviewer model: sonnet | | |
| shared-protocols | — |
Hooks (40)
| event | matcher | runs |
|---|---|---|
| SessionStart | startup|resume|clear|compact | $HOME/.claude/hooks/session-init.sh |
| UserPromptSubmit | * | $HOME/.claude/hooks/prompt-submit.sh |
| WorktreeCreate | * | $HOME/.claude/hooks/block-worktree-create.sh |
| PreToolUse | Write|Edit | $HOME/.claude/hooks/test-gate.sh |
| PreToolUse | Write|Edit | $HOME/.claude/hooks/mock-gate.sh |
| PreToolUse | Write|Edit | $HOME/.claude/hooks/pre-write.sh |
| PreToolUse | Write|Edit | $HOME/.claude/hooks/doc-gate.sh |
| PreToolUse | Bash | { cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl |
| PreToolUse | Bash | $HOME/.claude/hooks/pre-bash.sh |
| PreToolUse | Task | { cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl |
| PreToolUse | Task | $HOME/.claude/hooks/pre-agent.sh |
| PreToolUse | Agent | { cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl |
| PreToolUse | Agent | $HOME/.claude/hooks/pre-agent.sh |
| PostToolUse | Write|Edit | $HOME/.claude/hooks/lint.sh |
| PostToolUse | Write|Edit | $HOME/.claude/hooks/track.sh |
| PostToolUse | Write|Edit | $HOME/.claude/hooks/code-review.sh |
| PostToolUse | Write|Edit | $HOME/.claude/hooks/plan-validate.sh |
| PostToolUse | Write|Edit | $HOME/.claude/hooks/test-runner.sh |
| PostToolUse | Bash | $HOME/.claude/hooks/post-bash.sh |
| Notification | permission_prompt|idle_prompt | $HOME/.claude/hooks/notify.sh |
| SubagentStart | * | { cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl |
| SubagentStart | * | $HOME/.claude/hooks/subagent-start.sh |
| SubagentStop | planner|Plan | { cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl |
| SubagentStop | planner|Plan | $HOME/.claude/hooks/check-planner.sh |
| SubagentStop | planner|Plan | $HOME/.claude/hooks/post-task.sh |
| SubagentStop | implementer | { cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl |
| SubagentStop | implementer | $HOME/.claude/hooks/check-implementer.sh |
| SubagentStop | implementer | $HOME/.claude/hooks/implementer-critic.sh |
| SubagentStop | implementer | $HOME/.claude/hooks/post-task.sh |
| SubagentStop | guardian | { cat; echo; } >> $HOME/.claude/runtime/dispatch-debug.jsonl |
Slash commands (2)
/backlog/compact
Plugins (1)
lua-lsp@claude-plugins-official
Permissions
deny (3)
Read(**/.env*)
Read(**/secrets/**)
Read(**/*credentials*)
ask (0)
—
allow (50)
Bash(awk *)
Bash(basename *)
Bash(cat *)
Bash(cut *)
Bash(date *)
Bash(diff *)
Bash(dirname *)
Bash(du *)
Bash(echo *)
Bash(env *)
Bash(file *)
Bash(find *)
Bash(grep *)
Bash(head *)
Bash(jq *)
Bash(less *)
Bash(ls *)
Bash(ls)
Bash(lsof *)
Bash(pwd)
Bash(readlink *)
Bash(realpath *)
Bash(rg *)
Bash(sleep *)
Bash(sort *)
Bash(stat *)
Bash(tail *)
Bash(test *)
Bash(tr *)
Bash(uname)
Bash(uname *)
Bash(uniq *)
Bash(wc *)
Bash(which *)
Bash(whoami)
Bash(git *)
Bash(xargs *)
Read
Glob
Grep
WebFetch
WebSearch
Write
Edit
Task
NotebookEdit
mcp__context7__resolve-library-id
mcp__context7__query-docs
mcp__playwright__*
mcp__claude-in-chrome__*
Similar rigs
orynvn/claude-workspace-setup
A project template for Claude Code CLI — opinionated, token-efficient, and built for multi-agent workflows.
Orchestrator 22.3k tok ·
Saba-Var/claude-ward
A read-only tripwire that watches Claude Code's local config and reports suspicious changes.
Pragmatist 1.8k tok ·
ingenierodeatascos-cyber/ai-project-template
AI-First project template for building software with orchestrated AI agents using Spec-Driven Development. Includes router, planner, implementer and reviewer workflows for structured development with Codex, Claude Code or similar AI coding
Orchestrator 196 tok ·
0xT4sty/claude-code-dotfiles
—
Pragmatist 979 tok ·