Clo-Author

May 10, 2026 · View on GitHub

Version

A Claude Code scaffold for empirical economics research. Literature review to journal submission, with 18 agents that review each other's work.

Guide: hugosantanna.github.io/clo-author


To Get Started

# Fork and clone
gh repo fork hugosantanna/clo-author --clone
cd clo-author

# Open Claude Code (terminal, VS Code, or JetBrains)
claude

Then:

I am starting a research project on [YOUR TOPIC]. Read CLAUDE.md and help me set up.

Claude reads the config, plans the approach, you approve, it runs. Works in the terminal, VS Code extension, or JetBrains.


Setup

  1. Fill in CLAUDE.md — replace [BRACKETED PLACEHOLDERS] with your project details
  2. Fill in .claude/references/domain-profile.md — your field, journals, data, methods. Or run /discover interview to do it interactively.
  3. Configure your language — R is the default. Python and Julia also supported.

Other fields: Economics by default. Adapts to labor, public, health, development, trade, IO, and other applied fields by customizing the domain profile and journal profiles.


Commands

13 skills, each with modes:

SkillWhat It Does
/new-projectFull pipeline: idea to paper
/discoverLiterature search, data discovery, research interviews
/strategizeIdentification strategy, pre-analysis plan, formal theory
/analyzeData analysis (R, Python, Julia)
/writeDraft paper sections with humanizer pass
/reviewQuality review — routes by target (paper, code, peer)
/reviseR&R cycle: classify referee comments and route fixes
/talkPresentations (Quarto RevealJS or Beamer)
/submitJournal targeting, replication package, final gate
/toolsUtilities: commit, compile, validate-bib, journal, deploy
/checkpointSession handoff: saves progress to memory + Obsidian
/freezeLock directories from accidental edits
/carefulBlock destructive shell commands

Agents

18 agents in worker-critic pairs. Critics can't edit files. Creators can't score themselves. If they disagree after 3 rounds, it escalates.

PhaseWorkerCritic
DiscoveryLibrarianlibrarian-critic
DiscoveryExplorerexplorer-critic
StrategyStrategiststrategist-critic
StrategyTheoristtheorist-critic
ExecutionCodercoder-critic
ExecutionData-engineercoder-critic
PaperWriterwriter-critic
Peer ReviewEditor + domain-referee + methods-referee
PresentationStorytellerstoryteller-critic
InfrastructureOrchestrator, Verifier

Peer Review

/review --peer [journal] simulates a full journal submission:

  1. Editor desk review — novelty check via web search, decides desk reject or send out
  2. Two blind referees with intellectual dispositions (Structuralist, Credibility, Measurement, Policy, Theory, Skeptic) weighted by journal culture
  3. Independent scored reports — every major comment includes "what would change my mind"
  4. Editorial decision — FATAL / ADDRESSABLE / TASTE classification, MUST / SHOULD / MAY action items

Additional modes:

  • --stress — adversarial referees for pre-submission battle testing
  • --r2 — R&R second round with referee memory
  • Max 3 rounds, then the editor's patience runs out

30 journal profiles across economics and adjacent fields.


HTML Dashboard

One command generates a self-contained HTML dashboard of your entire project — sections, data, scripts, quality scores, review history. No server, no dependencies. Double-click to open.

python3 scripts/generate_dashboard.py

Detail reports drill down into individual components:

python3 scripts/generate_html_report.py peer-review [files...]
python3 scripts/generate_html_report.py code-audit [files...]
python3 scripts/generate_html_report.py strategy [files...]
python3 scripts/generate_html_report.py quality-gate [files...]
python3 scripts/generate_html_report.py literature [files...]

Self-contained HTML with dark mode, collapsible sections, and print support. Works on file://.


Quality Gates

Weighted aggregate scoring across all components:

ScoreGate
80Commit allowed
90PR allowed
95Submission allowed (all components >= 80)

Nothing ships below 80.


Project Structure

your-project/
├── CLAUDE.md                    # Project config (fill in placeholders)
├── .claude/                     # Agents, skills, rules, hooks
├── paper/                       # LaTeX manuscript (source of truth)
│   ├── main.tex
│   ├── sections/
│   ├── figures/
│   ├── tables/
│   ├── talks/
│   └── replication/
├── data/                        # Raw and cleaned datasets
├── scripts/                     # Analysis code (R, Python, Julia)
├── quality_reports/             # Reviews, scores, plans, traces
├── templates/html/              # HTML report design system
└── explorations/                # Research sandbox

Prerequisites

ToolInstall
Claude Codenpm install -g @anthropic-ai/claude-code
XeLaTeXTeX Live or MacTeX
Rr-project.org

Optional: Python, Julia, Quarto, gh CLI.


Upgrading

The upgrade only touches .claude/ (infrastructure). Your paper, scripts, data, and bibliography are never modified.

# Download latest, replace .claude/, done

Or use /tools upgrade from within Claude Code.


This is a Scaffold

Every output needs human review. Claude plans and executes; you decide what ships. The peer review catches structural issues but doesn't replicate actual referee expertise. Quality scores flag problems but don't measure publishability. The writer produces drafts, not final prose.


Origin

Maintained by Hugo Sant'Anna at UAB.

MIT License.