front-factory/brigade
Claude Code, organized like a kitchen brigade.
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 26/100 Guardrails v2
Copy this rig
# review before running: this installs third-party code
$ npx degit front-factory/brigade/.claude ./rig-brigade # 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 front-factory/brigade/.claude/skills/audit .claude/skills/audit $ npx degit front-factory/brigade/.claude/skills/feature .claude/skills/feature $ npx degit front-factory/brigade/.claude/skills/session-start .claude/skills/session-start
$ curl -fsSL --create-dirs -o .claude/agents/git-operator.md https://raw.githubusercontent.com/front-factory/brigade/main/.claude/agents/git-operator.md $ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/front-factory/brigade/main/.claude/agents/implementer.md $ curl -fsSL --create-dirs -o .claude/agents/git-operator.md https://raw.githubusercontent.com/front-factory/brigade/main/templates/web/.claude/agents/git-operator.md $ curl -fsSL --create-dirs -o .claude/agents/implementer.md https://raw.githubusercontent.com/front-factory/brigade/main/templates/web/.claude/agents/implementer.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": [
"Bash(git reset --hard:*)",
"Bash(git push --force:*)",
"Bash(git push -f:*)",
"Bash(git clean -f:*)",
"Bash(git branch -D:*)",
"Bash(rm -rf /:*)",
"Bash(rm -rf ~:*)",
"Read(./.env*)",
"Read(./**/*.pem)",
"Read(./**/*.key)",
"Read(./package-lock.json)",
"Read(./pnpm-lock.yaml)",
"Read(./yarn.lock)",
"Read(./bun.lock)",
"Read(./bun.lockb)",
"Read(./.git/**)",
"Read(./**/*.map)",
"Read(./**/*.min.js)",
"Bash(git reset --hard:*)",
"Bash(git push --force:*)",
"Bash(git push -f:*)",
"Bash(git clean -f:*)",
"Bash(git branch -D:*)",
"Bash(rm -rf /:*)",
"Bash(rm -rf ~:*)",
"Read(./.env*)",
"Read(./**/*.pem)",
"Read(./**/*.key)",
"Read(./package-lock.json)",
"Read(./pnpm-lock.yaml)",
"Read(./yarn.lock)",
"Read(./bun.lock)",
"Read(./bun.lockb)",
"Read(./.git/**)",
"Read(./**/*.map)",
"Read(./**/*.min.js)"
],
"ask": [
"Bash(git push:*)",
"Bash(git merge:*)",
"Bash(git rebase:*)",
"Bash(git push:*)",
"Bash(git merge:*)",
"Bash(git rebase:*)"
]
},
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "sh \"$CLAUDE_PROJECT_DIR/.claude/hooks/run-node.sh\" \"$CLAUDE_PROJECT_DIR/.claude/hooks/git-guard.mjs\""
},
{
"type": "command",
"command": "sh \"$CLAUDE_PROJECT_DIR/.claude/hooks/run-node.sh\" \"$CLAUDE_PROJECT_DIR/.claude/hooks/git-guard.mjs\""
}
]
}
]
}
} Skills (3)
Subagents (4)
| git-operator model: haiku | Git only, once the work is done and the user has approved. Never edits code. |
| implementer model: sonnet | Development only, as briefed by the main session. Never runs git write commands. |
| git-operator model: haiku | Git only, once the work is done and the user has approved. Never edits code. |
| implementer model: sonnet | Development only, as briefed by the main session. Never runs git write commands. |
Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | sh "$CLAUDE_PROJECT_DIR/.claude/hooks/run-node.sh" "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.mjs" |
| PreToolUse | Bash | sh "$CLAUDE_PROJECT_DIR/.claude/hooks/run-node.sh" "$CLAUDE_PROJECT_DIR/.claude/hooks/git-guard.mjs" |
| SessionStart | * | sh "$CLAUDE_PROJECT_DIR/.claude/hooks/run-node.sh" "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start.mjs" |
| PreToolUse | Bash | sh "$CLAUDE_PROJECT_DIR/.claude/hooks/run-node.sh" "$CLAUDE_PROJECT_DIR/.claude/hooks/git-guard.mjs" |
Slash commands (8)
/brigade-effort/brigade-language/brigade-reference-branch/brigade-settings/brigade-effort/brigade-language/brigade-reference-branch/brigade-settings
Permissions
deny (36)
Bash(git reset --hard:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git clean -f:*)
Bash(git branch -D:*)
Bash(rm -rf /:*)
Bash(rm -rf ~:*)
Read(./.env*)
Read(./**/*.pem)
Read(./**/*.key)
Read(./package-lock.json)
Read(./pnpm-lock.yaml)
Read(./yarn.lock)
Read(./bun.lock)
Read(./bun.lockb)
Read(./.git/**)
Read(./**/*.map)
Read(./**/*.min.js)
Bash(git reset --hard:*)
Bash(git push --force:*)
Bash(git push -f:*)
Bash(git clean -f:*)
Bash(git branch -D:*)
Bash(rm -rf /:*)
Bash(rm -rf ~:*)
Read(./.env*)
Read(./**/*.pem)
Read(./**/*.key)
Read(./package-lock.json)
Read(./pnpm-lock.yaml)
Read(./yarn.lock)
Read(./bun.lock)
Read(./bun.lockb)
Read(./.git/**)
Read(./**/*.map)
Read(./**/*.min.js)
ask (6)
Bash(git push:*)
Bash(git merge:*)
Bash(git rebase:*)
Bash(git push:*)
Bash(git merge:*)
Bash(git rebase:*)
allow (14)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(npm run:*)
Bash(npm test:*)
Bash(npm install:*)
Bash(git status:*)
Bash(git diff:*)
Bash(git log:*)
Bash(git show:*)
Bash(__PACKAGE_MANAGER__ run:*)
Bash(__PACKAGE_MANAGER__ test:*)
Bash(__PACKAGE_MANAGER__ install:*)
Similar rigs
mcp-box/mcpscore-plugin
Audit and fix the MCP server you're building from Claude Code, Codex or Cursor. Ask your agent to audit it and get a cited score from mcpscore, with fixes applied in your own code.
Minimalist 906 tok · · Q0
zmilojevic/hearth
Keep your Claude Code sessions warm. Desktop app for Claude Code, Linux-first (also macOS/Windows): all your sessions in one sidebar, diffs, terminal, cache keep-warm, phone companion. Uses your Claude subscription, no API key.
Pragmatist 14.7k tok · · Q25
yellow-pine/noggin
Animatronic CyberBrick head that reacts to Claude Code
Minimalist 1.5k tok · · Q29
yhnocoder/agentrun
Run claude-code, codex and pi in a sandbox with one command, on macOS, Linux, cloud containers and docker.
Minimalist 1.1k tok · · Q15