New: Beginner Workflow Guide (Chinese)
English | 简体中文
Portable AI agent skill bundle for writing ML/AI academic papers — from topic to compiled PDF, with verified BibTeX citations, gated workflows, and multi-agent collaboration.
This repository is not a single paper project. It is a reusable skill bundle for AI-assisted academic writing.
In this public snapshot, the repo keeps:
.codex/skills/The repo intentionally does not keep bulky local datasets, machine-local settings, or cache databases. For the empirical showcase, the raw dataset used during development has been removed, but the retained code, result files, figures, and final PDF still show that the workflow completed a real data-and-experiment loop.
The showcases in this repo were developed and tested with GPT-5.2 xhigh. Using GPT-5.4 is expected to yield better results. Test coverage is still limited — the workflow has significant untapped potential, though undiscovered bugs may exist.
Optional multi-agent collaboration:
| Agent | Role | Tool |
|---|---|---|
| Gemini | Breadth — literature expansion, keyword clusters, alternative framings | gemini_bridge.py |
| Claude | Depth — claim stress-testing, evidence audit, routing judgment | claude_bridge.py |
| Health check | Verify both CLIs are installed and API-reachable | check-collaborators |
All skills live under .codex/skills/. Each has a SKILL.md (the executable spec an agent follows), plus optional scripts/, assets/, and references/.
| Skill | What it does |
|---|---|
| paper-from-zero | Router. Topic → literature search → innovation framing → contribution map → evidence matrix → route to writer. |
| arxiv-paper-writer | Review/survey executor. Gated IEEEtran LaTeX workflow with issues CSV contract, per-issue writing loop, citation verification, and QA. |
| empirical-paper-writer | Experimental paper executor. Extends the review workflow with experiment matrices, result status tracking (planned/placeholder/verified), and evidence-claim mapping. |
| latex-rhythm-refiner | Prose polisher. Varies sentence/paragraph rhythm, removes filler, strictly preserves all \cite{} positions. |
| results-backfill | Back-fills real experiment results into an existing draft. Resolves placeholders, upgrades hypotheses to factual claims, generates figures. |
| Skill | What it does |
|---|---|
| collaborating-with-gemini | Breadth co-pilot via Gemini CLI. Structured JSON + session persistence. |
| collaborating-with-claude | Depth co-pilot via Claude Code CLI. Claim stress-testing and evidence audit. |
| check-collaborators | Health check — verifies CLI installation, auth, and API reachability. |
Both writer skills enforce strict gates:
pdflatex + bibtex, or latexmk)SKILL.md (Codex CLI, Claude Code, etc.)Use the paper-from-zero skill. My topic is: <your topic>
Use the arxiv-paper-writer skill. Write a review article about <topic>.
Use the empirical-paper-writer skill. Write an experimental paper about <topic>.
You can specify datasets, runtime budget, and an intended cloud platform directly in natural language.
Use the empirical-paper-writer skill.
Topic: <topic>.
Mandatory datasets: <Dataset A>, <Dataset B>.
Primary dataset: <Dataset A>.
Do not use private data.
Design a compute-aware experiment plan for a single A100 80GB.
Use the empirical-paper-writer skill.
Topic: <topic>.
Dataset: <dataset name> from local path <path>.
Target runtime: cloud A100 x1, max 8 hours.
Need a local smoke run first, then a full cloud run.
Keep the claims bounded by this compute budget.
Use the empirical-paper-writer skill.
Topic: <topic>.
Mandatory datasets: <dataset names>.
Target platform: AutoDL / Lambda / Slurm cluster.
Generate experiments/, configs/default.yaml, and an experiments README for cloud execution.
Assume I will run the jobs myself and then use results-backfill after real CSVs are available.
Notes:
paper/results/..codex/skills/arxiv-paper-writer/scripts/ contains the core tooling shared by both writers:
| Script | Purpose |
|---|---|
arxiv_registry.py | arXiv metadata/BibTeX cache (SQLite) |
compile_paper.py | LaTeX compilation (latexmk or pdflatex+bibtex) |
citation_policy.py | Citation audit (bib/tex consistency, lint) |
source_ranker.py | Source quality scoring |
style_profile.py | Target venue style checking |
issue_workflow.py | Issue execution helpers |
bootstrap_ieee_review_paper.py | Scaffold IEEEtran project skeleton |
create_paper_plan.py | Generate paper plan from outline |
validate_paper_issues.py | Validate issues CSV integrity |
Shared utilities (paper_utils.py, source_policy_utils.py) live in .codex/skills/_shared/.
main.tex stays skeleton-only until the plan is approved and the issues CSV exists.DONE when acceptance criteria are met.ref.bib.This public snapshot keeps two curated showcase projects:
| Project | Type | What it demonstrates | Start here |
|---|---|---|---|
projects/rt-inflow-forecast-closed-loop | Empirical paper | Topic framing, experiment design artifacts, local dataset integration, verified result files, figures, and back-filled paper writing | README.md, paper/main.pdf, paper/results/, experiments/README.md |
projects/peft-survey-2022-2026 | Review paper | Topic framing, outline/plan approval, issues-driven writing, literature organization, citation-verified review drafting, and final paper | README.md, main.pdf, plan/, issues/ |
If you only want the fastest tour:
projects/rt-inflow-forecast-closed-loop/README.md for the empirical route.projects/peft-survey-2022-2026/README.md for the review route.BEGINNER_WORKFLOW.zh-CN.md if you want the end-to-end workflow explanation in Chinese.latex-paper-skills/
├── .codex/skills/
│ ├── paper-from-zero/ # Router: topic → writer skill
│ ├── arxiv-paper-writer/ # Review paper executor + shared scripts
│ ├── empirical-paper-writer/ # Empirical paper executor
│ ├── results-backfill/ # Back-fill real results into draft
│ ├── latex-rhythm-refiner/ # Prose polisher
│ ├── collaborating-with-claude/ # Claude Code bridge
│ ├── collaborating-with-gemini/ # Gemini CLI bridge
│ ├── check-collaborators/ # CLI health check
│ ├── _shared/ # Shared utilities across skills
│ └── _orchestration/ # Workflow orchestration config
├── projects/
│ ├── rt-inflow-forecast-closed-loop/ # Empirical showcase
│ └── peft-survey-2022-2026/ # Review showcase
├── picture/ # SVG diagrams for README
├── ARCHITECTURE.md # Detailed architecture analysis
├── BEGINNER_WORKFLOW.zh-CN.md # Beginner workflow guide (Chinese)
├── README.md
└── README.zh-CN.md
This repository is released under the MIT License.
20 commits
10 commits
TeX
70.7%
Python
29.3%
New: Beginner Workflow Guide (Chinese)
English | 简体中文
Portable AI agent skill bundle for writing ML/AI academic papers — from topic to compiled PDF, with verified BibTeX citations, gated workflows, and multi-agent collaboration.
This repository is not a single paper project. It is a reusable skill bundle for AI-assisted academic writing.
In this public snapshot, the repo keeps:
.codex/skills/The repo intentionally does not keep bulky local datasets, machine-local settings, or cache databases. For the empirical showcase, the raw dataset used during development has been removed, but the retained code, result files, figures, and final PDF still show that the workflow completed a real data-and-experiment loop.
The showcases in this repo were developed and tested with GPT-5.2 xhigh. Using GPT-5.4 is expected to yield better results. Test coverage is still limited — the workflow has significant untapped potential, though undiscovered bugs may exist.
Optional multi-agent collaboration:
| Agent | Role | Tool |
|---|---|---|
| Gemini | Breadth — literature expansion, keyword clusters, alternative framings | gemini_bridge.py |
| Claude | Depth — claim stress-testing, evidence audit, routing judgment | claude_bridge.py |
| Health check | Verify both CLIs are installed and API-reachable | check-collaborators |
All skills live under .codex/skills/. Each has a SKILL.md (the executable spec an agent follows), plus optional scripts/, assets/, and references/.
| Skill | What it does |
|---|---|
| paper-from-zero | Router. Topic → literature search → innovation framing → contribution map → evidence matrix → route to writer. |
| arxiv-paper-writer | Review/survey executor. Gated IEEEtran LaTeX workflow with issues CSV contract, per-issue writing loop, citation verification, and QA. |
| empirical-paper-writer | Experimental paper executor. Extends the review workflow with experiment matrices, result status tracking (planned/placeholder/verified), and evidence-claim mapping. |
| latex-rhythm-refiner | Prose polisher. Varies sentence/paragraph rhythm, removes filler, strictly preserves all \cite{} positions. |
| results-backfill | Back-fills real experiment results into an existing draft. Resolves placeholders, upgrades hypotheses to factual claims, generates figures. |
| Skill | What it does |
|---|---|
| collaborating-with-gemini | Breadth co-pilot via Gemini CLI. Structured JSON + session persistence. |
| collaborating-with-claude | Depth co-pilot via Claude Code CLI. Claim stress-testing and evidence audit. |
| check-collaborators | Health check — verifies CLI installation, auth, and API reachability. |
Both writer skills enforce strict gates:
pdflatex + bibtex, or latexmk)SKILL.md (Codex CLI, Claude Code, etc.)Use the paper-from-zero skill. My topic is: <your topic>
Use the arxiv-paper-writer skill. Write a review article about <topic>.
Use the empirical-paper-writer skill. Write an experimental paper about <topic>.
You can specify datasets, runtime budget, and an intended cloud platform directly in natural language.
Use the empirical-paper-writer skill.
Topic: <topic>.
Mandatory datasets: <Dataset A>, <Dataset B>.
Primary dataset: <Dataset A>.
Do not use private data.
Design a compute-aware experiment plan for a single A100 80GB.
Use the empirical-paper-writer skill.
Topic: <topic>.
Dataset: <dataset name> from local path <path>.
Target runtime: cloud A100 x1, max 8 hours.
Need a local smoke run first, then a full cloud run.
Keep the claims bounded by this compute budget.
Use the empirical-paper-writer skill.
Topic: <topic>.
Mandatory datasets: <dataset names>.
Target platform: AutoDL / Lambda / Slurm cluster.
Generate experiments/, configs/default.yaml, and an experiments README for cloud execution.
Assume I will run the jobs myself and then use results-backfill after real CSVs are available.
Notes:
paper/results/..codex/skills/arxiv-paper-writer/scripts/ contains the core tooling shared by both writers:
| Script | Purpose |
|---|---|
arxiv_registry.py | arXiv metadata/BibTeX cache (SQLite) |
compile_paper.py | LaTeX compilation (latexmk or pdflatex+bibtex) |
citation_policy.py | Citation audit (bib/tex consistency, lint) |
source_ranker.py | Source quality scoring |
style_profile.py | Target venue style checking |
issue_workflow.py | Issue execution helpers |
bootstrap_ieee_review_paper.py | Scaffold IEEEtran project skeleton |
create_paper_plan.py | Generate paper plan from outline |
validate_paper_issues.py | Validate issues CSV integrity |
Shared utilities (paper_utils.py, source_policy_utils.py) live in .codex/skills/_shared/.
main.tex stays skeleton-only until the plan is approved and the issues CSV exists.DONE when acceptance criteria are met.ref.bib.This public snapshot keeps two curated showcase projects:
| Project | Type | What it demonstrates | Start here |
|---|---|---|---|
projects/rt-inflow-forecast-closed-loop | Empirical paper | Topic framing, experiment design artifacts, local dataset integration, verified result files, figures, and back-filled paper writing | README.md, paper/main.pdf, paper/results/, experiments/README.md |
projects/peft-survey-2022-2026 | Review paper | Topic framing, outline/plan approval, issues-driven writing, literature organization, citation-verified review drafting, and final paper | README.md, main.pdf, plan/, issues/ |
If you only want the fastest tour:
projects/rt-inflow-forecast-closed-loop/README.md for the empirical route.projects/peft-survey-2022-2026/README.md for the review route.BEGINNER_WORKFLOW.zh-CN.md if you want the end-to-end workflow explanation in Chinese.latex-paper-skills/
├── .codex/skills/
│ ├── paper-from-zero/ # Router: topic → writer skill
│ ├── arxiv-paper-writer/ # Review paper executor + shared scripts
│ ├── empirical-paper-writer/ # Empirical paper executor
│ ├── results-backfill/ # Back-fill real results into draft
│ ├── latex-rhythm-refiner/ # Prose polisher
│ ├── collaborating-with-claude/ # Claude Code bridge
│ ├── collaborating-with-gemini/ # Gemini CLI bridge
│ ├── check-collaborators/ # CLI health check
│ ├── _shared/ # Shared utilities across skills
│ └── _orchestration/ # Workflow orchestration config
├── projects/
│ ├── rt-inflow-forecast-closed-loop/ # Empirical showcase
│ └── peft-survey-2022-2026/ # Review showcase
├── picture/ # SVG diagrams for README
├── ARCHITECTURE.md # Detailed architecture analysis
├── BEGINNER_WORKFLOW.zh-CN.md # Beginner workflow guide (Chinese)
├── README.md
└── README.zh-CN.md
This repository is released under the MIT License.
20 commits
10 commits
TeX
70.7%
Python
29.3%