~ / rigs / AlexisBalayre / pupitre

AlexisBalayre/pupitre

Control plane for parallel Claude Code sessions: one worktree per agent, a conflict radar, a merge gate on tests, scope and technical-debt deltas, and a decision log so you still understand the code your agents write.

↗ GitHub ★ 0 MIT updated 1d ago project Claude CodeCodex
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~3.4k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 63/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit AlexisBalayre/pupitre/.claude ./rig-pupitre  # 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 AlexisBalayre/pupitre/.claude/skills/address-review-comments .claude/skills/address-review-comments
$ npx degit AlexisBalayre/pupitre/.claude/skills/caveman .claude/skills/caveman
$ npx degit AlexisBalayre/pupitre/.claude/skills/codebase-design .claude/skills/codebase-design
$ npx degit AlexisBalayre/pupitre/.claude/skills/daily-note .claude/skills/daily-note
$ npx degit AlexisBalayre/pupitre/.claude/skills/diagnosing-bugs .claude/skills/diagnosing-bugs
$ npx degit AlexisBalayre/pupitre/.claude/skills/domain-modeling .claude/skills/domain-modeling
$ npx degit AlexisBalayre/pupitre/.claude/skills/grill-me .claude/skills/grill-me
$ npx degit AlexisBalayre/pupitre/.claude/skills/grill-with-docs .claude/skills/grill-with-docs
$ npx degit AlexisBalayre/pupitre/.claude/skills/grilling .claude/skills/grilling
$ npx degit AlexisBalayre/pupitre/.claude/skills/handoff .claude/skills/handoff
$ npx degit AlexisBalayre/pupitre/.claude/skills/implement-spec .claude/skills/implement-spec
$ npx degit AlexisBalayre/pupitre/.claude/skills/implement .claude/skills/implement
$ npx degit AlexisBalayre/pupitre/.claude/skills/improve-codebase-architecture .claude/skills/improve-codebase-architecture
$ npx degit AlexisBalayre/pupitre/.claude/skills/obsidian-vault .claude/skills/obsidian-vault
$ npx degit AlexisBalayre/pupitre/.claude/skills/pr-ci-review .claude/skills/pr-ci-review
$ npx degit AlexisBalayre/pupitre/.claude/skills/pr-description .claude/skills/pr-description
$ npx degit AlexisBalayre/pupitre/.claude/skills/prototype .claude/skills/prototype
$ npx degit AlexisBalayre/pupitre/.claude/skills/research .claude/skills/research
$ npx degit AlexisBalayre/pupitre/.claude/skills/retro .claude/skills/retro
$ npx degit AlexisBalayre/pupitre/.claude/skills/review-retro .claude/skills/review-retro
$ npx degit AlexisBalayre/pupitre/.claude/skills/tdd .claude/skills/tdd
$ npx degit AlexisBalayre/pupitre/.claude/skills/to-questionnaire .claude/skills/to-questionnaire
$ npx degit AlexisBalayre/pupitre/.claude/skills/to-spec .claude/skills/to-spec
$ npx degit AlexisBalayre/pupitre/.claude/skills/to-tickets .claude/skills/to-tickets
$ npx degit AlexisBalayre/pupitre/.claude/skills/wait-what .claude/skills/wait-what
$ npx degit AlexisBalayre/pupitre/.claude/skills/wayfinder .claude/skills/wayfinder
$ npx degit AlexisBalayre/pupitre/.claude/skills/wizard .claude/skills/wizard
$ npx degit AlexisBalayre/pupitre/.claude/skills/writing-for-agents .claude/skills/writing-for-agents
$ npx degit AlexisBalayre/pupitre/.claude/skills/zoom-out .claude/skills/zoom-out
$ npx degit AlexisBalayre/pupitre/skills/pup .claude/skills/pup
$ curl -fsSL --create-dirs -o .claude/agents/architecture-explainer.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/architecture-explainer.md
$ curl -fsSL --create-dirs -o .claude/agents/comment-pruner.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/comment-pruner.md
$ curl -fsSL --create-dirs -o .claude/agents/convention-checker.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/convention-checker.md
$ curl -fsSL --create-dirs -o .claude/agents/review-consolidator.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-consolidator.md
$ curl -fsSL --create-dirs -o .claude/agents/review-context.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-context.md
$ curl -fsSL --create-dirs -o .claude/agents/review-conventions.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-conventions.md
$ curl -fsSL --create-dirs -o .claude/agents/review-correctness.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-correctness.md
$ curl -fsSL --create-dirs -o .claude/agents/review-docs.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-docs.md
$ curl -fsSL --create-dirs -o .claude/agents/review-guards.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-guards.md
$ curl -fsSL --create-dirs -o .claude/agents/review-maintainability.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-maintainability.md
$ curl -fsSL --create-dirs -o .claude/agents/review-security.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-security.md
$ curl -fsSL --create-dirs -o .claude/agents/review-simplicity.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-simplicity.md
$ curl -fsSL --create-dirs -o .claude/agents/review-spec.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-spec.md
$ curl -fsSL --create-dirs -o .claude/agents/review-validator.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-validator.md
$ curl -fsSL --create-dirs -o .claude/agents/review-workflow-safety.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/review-workflow-safety.md
$ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/AlexisBalayre/pupitre/main/.claude/agents/security-reviewer.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 push --force*)",
      "Bash(git push -f*)",
      "Bash(git reset --hard*)",
      "Bash(git clean -f*)",
      "Bash(rm -rf *)",
      "Read(.env*)",
      "Read(secrets.env*)",
      "Read(secrets.*.env)",
      "Read(**/credentials*)"
    ],
    "ask": [
      "Bash(git checkout *)",
      "Bash(git rebase *)",
      "Bash(git cherry-pick *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/git-safety.sh"
          }
        ]
      },
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/protect-generated.sh"
          }
        ]
      },
      {
        "matcher": "Write",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/validate-file-naming.sh"
          }
        ]
      }
    ]
  }
}

Skills (30)

Subagents (16)

architecture-explainer
model: haiku
Use PROACTIVELY when the user asks why or how about the system architecture — module boundaries, the gate pipeline, session lifecycle, the adapter contract, profile compilation, or the knowledge layer
comment-pruner
model: sonnet
Autonomously prune bad comments from code added in the current session. Dispatched by the comment-pruner Stop hook when net-new comments are detected; also usable manually for a repo-wide sweep. Delet
convention-checker
model: haiku
Use PROACTIVELY to verify files follow area-specific coding standards before committing. MUST BE USED after editing three or more files under src/, or when preparing a commit. Cross-references docs/co
review-consolidator
model: haiku
Groups duplicate findings from the area reviewers before validation, reading findings only and never the diff. Spawned by the pr-ci-review skill between the reviewers and the validators.
review-context
model: sonnet
Reviews changed code for spec contradictions, protocol violations, and infrastructure anti-patterns. Spawned by the pr-ci-review skill.
review-conventions
model: sonnet
Audits changed files for compliance with the project's documented rules and accepted ADR decisions. Spawned by the pr-ci-review skill.
review-correctness
model: opus
Reviews changed code for logic and behavior defects that deterministic tooling cannot catch, including behavioral regressions on the surface tests do not cover. Spawned by the pr-ci-review skill.
review-docs
model: sonnet
Reviews the quality, accuracy, and usefulness of prose a change introduces. Strict on low-value comments and docstrings. Spawned by the pr-ci-review skill.
review-guards
model: sonnet
Checks the diff against the repo's architectural guard tests and ADR invariants and reports a guard a changed file would trip. Spawned by the pr-ci-review skill.
review-maintainability
model: sonnet
Reviews changed code for structural regressions that make the codebase harder to maintain. Spawned by the pr-ci-review skill.
review-security
model: opus
Reviews changed code for real, reachable security issues at system boundaries. Spawned by the pr-ci-review skill.
review-simplicity
model: sonnet
Reviews changed code for structure bigger than the change needs, naming the simpler alternative and what it removes. Spawned by the pr-ci-review skill.
review-spec
model: sonnet
Checks a change against the issue or spec it implements, for requirements missing, partial, or built wrong, and for work no requirement asked for. Spawned by the pr-ci-review skill.
review-validator
model: opus
Adversarially verifies review findings against the actual code, refuting the ones that do not hold. Spawned by the pr-ci-review skill before any finding is auto-acted or posted.
review-workflow-safety
model: sonnet
Reviews changes to GitHub Actions workflows for trigger, token and expression-injection risks. Spawned by the pr-ci-review skill when the diff touches .github/workflows.
security-reviewer
model: opus
Use PROACTIVELY after editing gate stages, adapter capabilities, hook generation, profile compilation, PR adoption, or anything that shells out (git, gh, tmux, `claude -p`). MUST BE USED before commit

Hooks (9)

eventmatcherruns
Stop*"$CLAUDE_PROJECT_DIR"/.claude/hooks/quality-checks.sh
Stop*"$CLAUDE_PROJECT_DIR"/.claude/hooks/convention-spot-check.sh
Stop*"$CLAUDE_PROJECT_DIR"/.claude/hooks/comment-pruner.sh
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/git-safety.sh
PreToolUseEdit|Write"$CLAUDE_PROJECT_DIR"/.claude/hooks/protect-generated.sh
PreToolUseWrite"$CLAUDE_PROJECT_DIR"/.claude/hooks/validate-file-naming.sh
PostToolUse*"$CLAUDE_PROJECT_DIR"/.claude/hooks/tool-result-size.sh
SessionStartcompact"$CLAUDE_PROJECT_DIR"/.claude/hooks/post-compact-state.sh
PostToolUseFailure*"$CLAUDE_PROJECT_DIR"/.claude/hooks/tool-result-size.sh

Permissions

deny (9)
Bash(git push --force*)
Bash(git push -f*)
Bash(git reset --hard*)
Bash(git clean -f*)
Bash(rm -rf *)
Read(.env*)
Read(secrets.env*)
Read(secrets.*.env)
Read(**/credentials*)
ask (3)
Bash(git checkout *)
Bash(git rebase *)
Bash(git cherry-pick *)
allow (31)
Edit(*)
Write(*)
Agent(*)
Bash(pnpm typecheck*)
Bash(pnpm test*)
Bash(pnpm lint*)
Bash(pnpm build*)
Bash(pnpm worktree:*)
Bash(scripts/worktree-create.sh *)
Bash(scripts/worktree-remove.sh *)
Bash(git add*)
Bash(git commit*)
Bash(git branch*)
Bash(git worktree*)
Bash(git diff*)
Bash(git status*)
Bash(git log*)
Bash(git merge*)
Bash(git stash*)
Bash(git pull*)
Bash(git push*)
Bash(git mv*)
Bash(git remote*)
Bash(git check-ignore*)
Bash(git -C*)
Bash(git -c*)
Bash(mkdir *)
Bash(cp *)
Bash(mv *)
Bash(gh pr *)
Bash(gh api*)

Similar rigs

copied ✓