~ / rigs / pedrohcgs / claude-code-my-workflow

pedrohcgs/claude-code-my-workflow

A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R. Multi-agent review, quality gates, adversarial QA, and replication protocols.

↗ GitHub ★ 1,611 mit updated 12d ago project Claude Code
share on X
ARCHETYPE
YOLO Cowboy
Permissions? Never heard of 'em. Ships at the speed of `--dangerously-skip-permissions`.
CONTEXT TAX · EVERY TURN
~8.7k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Blocks destructive commands · Pre-tool screening hook · details

Copy this rig

# review before running: this installs third-party code
$ npx degit pedrohcgs/claude-code-my-workflow/.claude ./rig-claude-code-my-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 pedrohcgs/claude-code-my-workflow/.claude/skills/adjudicate-review .claude/skills/adjudicate-review
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/audit-reproducibility .claude/skills/audit-reproducibility
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/blast-radius .claude/skills/blast-radius
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/capture-environment .claude/skills/capture-environment
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/challenge .claude/skills/challenge
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/checkpoint .claude/skills/checkpoint
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/coauthor-brief .claude/skills/coauthor-brief
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/commit .claude/skills/commit
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/compile-latex .claude/skills/compile-latex
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/compress-session .claude/skills/compress-session
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/context-status .claude/skills/context-status
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/create-lecture .claude/skills/create-lecture
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/credible-claims .claude/skills/credible-claims
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/data-analysis .claude/skills/data-analysis
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/data-management-plan .claude/skills/data-management-plan
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/deep-audit .claude/skills/deep-audit
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/deploy .claude/skills/deploy
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/devils-advocate .claude/skills/devils-advocate
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/diagnose .claude/skills/diagnose
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/differential-audit .claude/skills/differential-audit
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/disclosure-check .claude/skills/disclosure-check
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/extract-tikz .claude/skills/extract-tikz
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/grant-proposal .claude/skills/grant-proposal
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/humanize .claude/skills/humanize
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/interview-me .claude/skills/interview-me
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/issues .claude/skills/issues
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/learn .claude/skills/learn
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/lit-review .claude/skills/lit-review
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/new-diagram .claude/skills/new-diagram
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/new-skill .claude/skills/new-skill
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/oracle-review .claude/skills/oracle-review
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/pedagogy-review .claude/skills/pedagogy-review
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/permission-check .claude/skills/permission-check
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/power-analysis .claude/skills/power-analysis
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/preregister .claude/skills/preregister
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/promote-memory .claude/skills/promote-memory
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/proofread .claude/skills/proofread
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/qa-quarto .claude/skills/qa-quarto
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/r-package-check .claude/skills/r-package-check
$ npx degit pedrohcgs/claude-code-my-workflow/.claude/skills/replication-package .claude/skills/replication-package
$ curl -fsSL --create-dirs -o .claude/agents/beamer-translator.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/beamer-translator.md
$ curl -fsSL --create-dirs -o .claude/agents/claim-verifier.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/claim-verifier.md
$ curl -fsSL --create-dirs -o .claude/agents/domain-referee.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/domain-referee.md
$ curl -fsSL --create-dirs -o .claude/agents/domain-reviewer.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/domain-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/editor.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/editor.md
$ curl -fsSL --create-dirs -o .claude/agents/humanize-auditor.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/humanize-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/methods-referee.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/methods-referee.md
$ curl -fsSL --create-dirs -o .claude/agents/pedagogy-reviewer.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/pedagogy-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/promote-memory-council.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/promote-memory-council.md
$ curl -fsSL --create-dirs -o .claude/agents/proofreader.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/proofreader.md
$ curl -fsSL --create-dirs -o .claude/agents/quarto-critic.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/quarto-critic.md
$ curl -fsSL --create-dirs -o .claude/agents/quarto-fixer.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/quarto-fixer.md
$ curl -fsSL --create-dirs -o .claude/agents/r-package-reviewer.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/r-package-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/r-reviewer.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/r-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/sim-reviewer.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/sim-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/slide-auditor.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/slide-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/tikz-reviewer.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/tikz-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/verifier.md https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/agents/verifier.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash|Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/git-guardrails.py"
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/root-of-trust-guard.py"
          },
          {
            "type": "command",
            "command": "python3 \"$CLAUDE_PROJECT_DIR\"/.claude/hooks/issue-guard.py"
          }
        ]
      }
    ]
  }
}

Skills (61)

Subagents (18)

beamer-translator
model: sonnet
Specialist agent for translating Beamer LaTeX slides to Quarto RevealJS. Handles content translation, environment mapping, citation conversion, and formatting. Use as a subagent during the /translate-
claim-verifier
model: opus
Fresh-context verifier for factual claims made by other agents or skills. Implements the Chain-of-Verification (CoVe) independence trick by running as its own Agent call in a fresh context (never a co
domain-referee
model: opus
Substantive referee for a manuscript. Reviews contribution, literature positioning, substantive argument, external validity, and journal fit. Calibrated to a target journal and primed with a dispositi
domain-reviewer
model: opus
Substantive domain review for a lecture deck or a manuscript section. Template agent — customize the 5 review lenses for your field. Checks derivation correctness, assumption sufficiency, citation fid
editor
model: opus
Journal editor who desk-reviews manuscripts, selects two referees with deliberately different dispositions, calibrates to a target journal from `.claude/references/journal-profiles.md`, and synthesize
humanize-auditor
model: sonnet
Read-only auditor for AI-voice tells in academic prose. Reviews `.tex`, `.qmd`, `.md` files for the 10 detection categories defined in `/humanize` (boilerplate transitions, AI-cliché lexicon, em-dash
methods-referee
model: opus
Methodology referee for a manuscript. Paper-type-aware (reduced-form / structural / theory+empirics / descriptive / formal-theory / survey-experiment), each with its own dimension weights and mandator
pedagogy-reviewer
model: sonnet
Holistic pedagogical review for academic slides. Checks narrative arc, prerequisite assumptions, worked examples, notation clarity, and deck-level pacing. Use after content is drafted.
promote-memory-council
model: haiku
Five-critic council that votes YES/NO on whether candidate `[LEARN]` entries should be promoted from `~/.claude/projects/<project>/memory/` (gitignored) to MEMORY.md (committed). Each critic reviews o
proofreader
model: sonnet
Expert proofreading agent for academic lecture slides. Reviews for grammar, typos, overflow, and consistency. Use proactively after creating or modifying lecture content.
quarto-critic
model: opus
Adversarial QA agent that compares Quarto HTML against Beamer PDF benchmark. Produces specific, evidence-backed criticism. Does NOT edit files — read-only analysis only.
quarto-fixer
model: sonnet
Implements fixes from the quarto-critic agent. Applies changes to QMD files, re-renders slides, and verifies fixes. Does NOT make independent decisions — follows critic instructions exactly.
r-package-reviewer
model: sonnet
R package source reviewer. Checks the things that decide whether a package passes R CMD check --as-cran and survives CRAN review — DESCRIPTION/dependency hygiene, NAMESPACE and imports, roxygen docume
r-reviewer
model: sonnet
R code reviewer for academic scripts. Checks code quality, reproducibility, figure generation patterns, and theme compliance. Use after writing or modifying R scripts.
sim-reviewer
model: opus
Monte Carlo simulation reviewer. Checks the parts of a simulation study that general R review misses — the assumption regime a run is in, DGP/estimand alignment, replication budget and Monte Carlo sta
slide-auditor
model: sonnet
Visual layout auditor for RevealJS and Beamer slides. Checks for overflow, font consistency, box fatigue, and spacing issues. Use proactively after creating or modifying slides.
tikz-reviewer
model: opus
Devil's-advocate reviewer for TikZ diagrams. Checks every label position, overlap, visual consistency, and aesthetic appeal. Use after creating or modifying any TikZ code. The calling agent must itera
verifier
model: opus
End-to-end verification agent. Checks that slides compile, render, deploy, and display correctly. Use proactively before committing or creating PRs.

Hooks (12)

eventmatcherruns
PreToolUseBash|Write|Edit|MultiEditpython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/git-guardrails.py
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/root-of-trust-guard.py
PreToolUseBashpython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/issue-guard.py
Notification*"$CLAUDE_PROJECT_DIR"/.claude/hooks/notify.sh
PreCompact*python3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/pre-compact.py
SessionStartcompact|resumepython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/post-compact-restore.py
SessionStartstartuppython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/session-handoff.py
SessionStartstartuppython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/open-issues.py
UserPromptSubmit*python3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/session-handoff.py
PostToolUseBash|Agent|Taskpython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/context-monitor.py
PostToolUseWrite|Edit|MultiEditpython3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/claim-reconcile.py
Stop*python3 "$CLAUDE_PROJECT_DIR"/.claude/hooks/log-reminder.py

Permissions

deny (0)
—
ask (0)
—
allow (7)
Edit(**)
Write(**)
MultiEdit(**)
Bash(*)
WebFetch(*)
WebSearch
Read(**)

Similar rigs

copied ✓