This repo is being migrated. The Folio skill pack now lives at athan-dial/skills/plugins/folio. The worked example has moved to the 2B-new vault. Docs will publish at athan-dial.github.io/skills/folio. This repo will be archived after end-to-end verification.
A Claude Code skill pack that converts research ideas and messy materials into validated, reviewable, exportable manuscripts through artifact-driven orchestration.
Folio runs an end-to-end paper-writing workflow inside Claude Code:
- Prep — Normalizes loose notes, PDFs, figures, and experiment results into canonical artifacts
- Plan — Generates an outline, claim ledger, figure plan, and literature plan
- Support — Builds citation pool, figures/tables, and evidence inventory
- Draft — Composes an integrated manuscript from structured artifacts
- Review — Critiques, refines, and reverts if quality drops
- Export — Assembles final LaTeX package with bibliography and figures
Human checkpoints pause the workflow after prep, after planning, and before final export.
Folio branches into three modes after prep and routing:
- White paper — Perspectives-driven narrative, Markdown-first draft, executive-oriented export.
- Research paper — Planning and evidence support, LaTeX draft, traditional finalize and package.
- Hybrid — Conceptual framing plus evidence support, merged draft, dual review, combined export.
route_mode.py recommends a mode from your materials; you confirm or override at the routing checkpoint.
Copy this repo into your Claude Code skills directory:
# From your Claude Code config directory
cp -r /path/to/folio ~/.claude/skills/folioOr symlink it:
ln -s /path/to/folio ~/.claude/skills/folioThen invoke with /folio in Claude Code.
/folio [idea] [materials_path]
- idea — A sentence or paragraph describing the paper's core contribution
- materials_path — Path to a folder containing research materials (notes, data, figures, PDFs)
Both are optional. The skill will prompt for missing information interactively. After prep, say which mode you want (white paper, research paper, or hybrid) if the default routing does not match your intent.
- Claude Code
- Python 3.10+ (for validation scripts)
pdflatex+bibtexon PATH (optional — for PDF compilation)
SKILL.md — Main skill definition
references/ — Install, workflow, and failure-mode documentation
scripts/ — Deterministic helper scripts (Python + shell)
templates/ — Workspace layout and manifest schemas
MIT