Claude Code Academic Workflow Template
A ready-to-fork Claude Code template for academics using LaTeX/Beamer + R, with multi-agent review, quality gates, adversarial QA, and replication protocols.
- Source repo
- pedrohcgs/claude-code-my-workflow
- Stars
- ★ 1.7k
- Last updated
- 3d ago
- License
- MIT
- Primary language
- HTML
- FA score
- 71/100 · Some gaps
At a glance
- How it runs
- Works with
- Platform-specificClaude Code
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- An economics professor preparing PhD lecture slides can use /create-lecture, which plans structure, generates content, and runs slide-excellence for multi-agent review.
- Not a fit if
- Users not on Claude Code or without Anthropic model access
- Text-only users unwilling to install XeLaTeX, Quarto, R, or Python
- Newcomers wanting instant use without reading 50+ skills and 30+ rules
- Website
- psantanna.com/claude-code-my-workflow ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-07latest release v2.9.2 (2026-11-07)+1.9 ★/day over 7 days
- Source review
- 71/100 · Some gaps
What does this agent do, and when should you use it?
This repository is a comprehensive Claude Code configuration template for academic research workflows, targeting users who work with LaTeX/Beamer, Quarto, and R. It implements a 'contractor mode' where users state a goal, and Claude plans, executes with specialized agents, fixes issues, verifies quality, and presents results. The template includes 18 specialized agents (e.g., proofreader, slide-auditor, pedagogy-reviewer, r-reviewer, domain-reviewer), 52 skills (e.g., /create-lecture, /review-paper, /data-analysis, /qa-quarto), 32 rules, and 7 hooks, enforcing a goal-first, gate-enforced workflow. It features multi-agent review with a shared finding schema, adversarial QA with a critic-fixer loop until convergence, quality scoring (0-100, with commit threshold at 80), context survival via MEMORY.md and session logs, and verification discipline including /verify-claims, /audit-reproducibility, and /humanize. Originating from a production PhD course at Emory University, it includes preconfigured disciplines for economics and political science, and is extensible to other fields via knowledge base templates and custom domain reviewers.
The repository provides a set of Claude Code configurations that orchestrate academic task automation. Users invoke Claude Code in a forked repo, paste a starter prompt, and Claude reads the configuration files (CLAUDE.md, rules, skills, agents) to plan and execute tasks. It runs specialized agents for parallel review: for example, proofreader checks grammar, slide-auditor checks visual layout, r-reviewer checks R code quality, and domain-reviewer checks field-specific correctness. The orchestration runtime (orchestrator-protocol) manages a fan-out-reduce-judge loop, and quality gates (80/90/95) are enforced by the /commit skill and a pre-commit hook. Adversarial QA (/qa-quarto) runs a critic-fixer loop until no new findings. Skills like /review-paper simulate peer review with disposition sampling, /audit-reproducibility cross-checks numeric claims against script outputs, /verify-claims uses chain-of-verification, and /humanize detects AI-voice tells. The template supports both R and Stata pipelines, Monte Carlo simulations (/simulation-study), and R package release gates (/r-package-check). Outputs include compiled PDFs (via /compile-latex), HTML slides (via /deploy), and replication packages.
- An economics professor preparing PhD lecture slides can use /create-lecture, which plans structure, generates content, and runs slide-excellence for multi-agent review.
- A graduate student writing a research paper can use /lit-review to find literature, /review-paper --peer for simulated peer review, and /verify-claims to fact-check citations before submission.
- An applied econometrician conducting data analysis can use /data-analysis to run end-to-end R pipelines with publication-ready output and /audit-reproducibility to verify numeric claims.
- A researcher preparing a replication package can use /replication-package to assemble an AEA-compliant package with environment snapshot and claim provenance.
- An assistant professor submitting to a journal can use seven-pass-review for adversarial review and /humanize to detect AI-style writing before final submission.
- A researcher designing Monte Carlo studies can use /simulation-study to create parameterized DGPs, estimator grids, and Monte Carlo SEs, with review by sim-reviewer.
How do you install or deploy this agent?
- Fork the repository pedrohcgs/claude-code-my-workflow on GitHub. 2. Clone your fork:
git clone https://github.com/YOUR_USERNAME/claude-code-my-workflow.git my-project && cd my-project. 3. Run ./scripts/validate-setup.sh to check required tools (Claude Code, git, Python 3; XeLaTeX, Quarto, R optional). 4. Run ./scripts/install-hooks.sh to install pre-commit hooks for quality gates and git guardrails.
How do you use this agent?
- Start Claude Code in the project directory: claude. 2. Paste the starter prompt from the guide (https://psantanna.com/claude-code-my-workflow/workflow-guide.html), filling in your project name and description. 3. Claude reads the configuration, enters plan mode, and proposes an approach. 4. Approve the plan and invoke a skill like /create-lecture, /data-analysis, or /review-paper. 5. The skill runs the implement-verify-review-fix-reverify-score loop and returns a summary. 6. Use /commit to commit changes, and the pre-commit hook runs quality gates. For fully autonomous runs, use --permission-mode acceptEdits or Bypass mode.
What are this agent's strengths and limitations?
- Features 18 specialized agents, each focusing on a narrow review dimension (e.g., proofreader, slide-auditor, r-reviewer), outperforming general-purpose review.
- Quality gates are enforced via a real pre-commit hook, ensuring that bypassing the skill doesn't bypass the review.
- Adversarial QA (critic-fixer loop) and simulated peer review with disposition sampling (--variance N) catch errors that single-pass review misses.
- Includes verification discipline layers (/verify-claims, /audit-reproducibility) that block fabricated citations and numerical inconsistencies.
- Platform-specific to Claude Code, requiring a Claude subscription or API access and relying on Anthropic models.
- Steep learning curve: over 50 skills and 30 rules require time to understand; new users may be overwhelmed.
- External dependencies like XeLaTeX, Quarto, R, and Python are required for full functionality, which may be heavy for text-only users.
- Extensive documentation (guide, changelog, ecosystem) necessitates significant reading to use effectively.
How does this agent compare with similar options?
The template originated from an Emory University course by Pedro Sant'Anna and is part of an ecosystem including clo-author (paper-centric workflows), claudeblattman (for non-technical academics), MixtapeTools (presentation rhetoric), autoresearch (autonomous research), and ClaudeCodeTools (sequential review protocol).
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Claude Code Academic Workflow Template This agent | 71 · Some gaps | Agent plugin / skillFree + model costs | ★ 1.7k | 3d ago | HTML | Claude Code |
| FAROS AutoResearch Runtime | 51 · Major gaps | Self-hosted serviceFree + model costs | ★ 3k | 21d ago | Python | — |
| nWave | 80 · Good | Agent plugin / skillFree + model costs | ★ 634 | 3d ago | Python | Codex · Claude Code |
| AI Job Search | 84 · Good | CLIFree + model costs | ★ 71k | today | Python | Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
AGENTS.md explicitly forbids destructive Git operations, requires duplicate issue checks, and keeps restricted data on the machine; the README describes Claude Code deny rules for credential files and some dangerous commands. However, the README also discloses broad Edit/Write/Bash allow rules, says these controls are not a security boundary, and identifies bypass spellings; Codex and other environments do not automatically apply Claude's deny rules, so least privilege is only partial. Plan approval, explicit /commit, and PR gates provide confirmation, though the quality gate can be bypassed with SKIP_QUALITY_GATE or --no-verify. The files describe hooks, gates, scheduled tasks, and their scope; the license and read-only CI workflows bound some external effects, while commits, GitHub issues/PRs, and scheduled tasks can still affect external systems. The README states that uncommitted or untracked bytes are not recoverable through the described mechanisms, so rollback is limited. Gates and CI are present, but the sample does not show dependency vulnerability scanning or mitigation of a known dependency risk. License and source/commit attribution rules are documented; publisher identity remains unknown.
The README, AGENTS.md, and CI workflows align on gates and commit checks, and the documentation distinguishes unqualified checks from evidence; these static materials do not establish current execution results. Installation notes list Python, XeLaTeX, Quarto, and a setup validator that reports missing tools. Some failure behavior is concrete: for example, issue-guard refuses gh commands when Python is unavailable, and fail-open boundaries for other hooks are disclosed; coverage is not exhaustive.
The files target academic work with concrete coverage of teaching, papers, R/Stata/Python analysis, replication, and presentations, and identify seeded disciplines and extension directions. They clearly state that this is not an autonomous daemon, some skills are Claude-only, Codex/Antigravity use generated wrappers, and Claude-specific protections do not apply there. Trigger instructions name commands, scenarios, and conditions, though the supplied skill sample is limited. Environment requirements and platform caveats are detailed, while many capabilities depend on Claude Code, Quarto, XeLaTeX, Python, or other external tools.
README, CLAUDE.md, AGENTS.md, skills, rules, scripts, guide, and quality reports have clear roles and a substantial information structure. Quick start, setup validation, sample projects, and commands provide practical onboarding. Skill names appear stable and wrappers have a generation/synchronization process, but the small supplied sample cannot establish consistency across all skills. The guide, examples, extensions, and troubleshooting are referenced, while the supplied evidence contains limited FAQ and full examples. The README explicitly documents guard blind spots, bypasses, lack of recovery for some files, unqualified checks, non-autonomous scope, and tool requirements. The MIT license text is complete. The README points to a changelog and mentions releases, but the changelog itself is not supplied, limiting version-history review. Maintenance and contribution paths are described, though responsibility and update commitments are limited; publisher identity is unknown and is not itself a deduction.
The workflow describes usable academic deliverables, quality review, replication audits, and specialist review, making it a substantial research-project template. Compared with a generic prompt, specialized skills, shared finding formats, gates, and replication protocols add clear value. Setup requires multiple tools and considerable configuration, and some quality thresholds are described as advisory or bypassable, so cost-benefit depends on project size and environment.
The README points key mechanisms to specific rules, scripts, skills, qualification ledger, and a model-version source of truth; those referenced files are not all in the sample, limiting direct traceability. README, AGENTS.md, CLAUDE.md, CI workflows, and test excerpts corroborate gate design, scope, and boundaries, but some claims appear only as summaries and no execution record is included. The documentation separates goals, examples, advisory thresholds, and qualified facts, and says gates cannot establish truth; this supports fact/inference separation, while this assessment remains static.
- Broad Claude Code command permissions and the documented bypass paths are not a security boundary; other agents do not inherit Claude's deny rules automatically. Check the actual environment and controls before handling restricted data.
- Gates and quality scores do not prove research claims are true. The files explicitly describe a backtest-passing change that still contained fabricated names, sources, or versions; independently verify important facts.
- Some hooks refuse work when Python is unavailable, while other guards have fail-open behavior or coverage gaps. The README also says uncommitted and untracked content has no recovery guarantee.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
Small fixes found during and after the v2.9.1 work, in compaction, in /commit and /verify, and in the git pre-commit hook. Nothing to migrate. Fixed - pre-compact.py read log-reminder.py's notes as decisions (#189). - The newest session log is usually that hook's own YYYY-MM-DD_auto.md. Its Slides/X.tex → no fresh .pdf lines matched the → decision pattern, so a compaction could carry "no fresh .pdf" into the summary and the restored context as a recent decision. …View on GitHub ↗ -
v2.9.1 v2.9.1 — a lighter hook layer
Release notes excerpt
A lighter hook layer. The two guard hooks that ran before every Bash call, and a third that ran after it, slowed everyday work and refused ordinary commands too often. They are gone. Claude Code's own permission deny rules now refuse destructive git, and one small hook, started only for a merge, pull or rebase, refuses those while tracked files have uncommitted changes. The template also stops setting the block that kept Claude from editing its own settings files. Upgrading — read this before you pull into a fork …View on GitHub ↗ -
v2.9.0 v2.9.0 — adoption release
Release notes excerpt
An adoption release carrying what the 2026-11-06 audit found worth building or linking. Everything in it is additive: a new skill, new scripts and a template, guidance, and links to outside work, each listed below. Added - The ledger-coverage gate understands an inline hook launcher. scripts/check-ledger-coverage.py reads sh -c '<code>' <name> <script> as running <script>, so a settings file that starts its hooks through the launcher drafted for #179 and #180 is still checked hook by hook. A typo in the launcher's script path is still caught, and a launcher with no script f …View on GitHub ↗
FAQ
Is this template only for economics?
What does it cost to run?
Does it run automatically on every commit?
Can I use it without LaTeX or Quarto?
How does it handle context across sessions?
Is Claude Code Academic Workflow Template open source?
Is Claude Code Academic Workflow Template safe to use?
Is Claude Code Academic Workflow Template still maintained?
Who makes Claude Code Academic Workflow Template?
What is Claude Code Academic Workflow Template's official website?
Thanks — we use this to improve the page.