Evidence-gated Codex skill for full-cycle academic manuscript writing.
This repository packages a reusable Codex skill that turns a research project, experiment folder, draft paper, or messy multi-agent workspace into a traceable academic-writing pipeline. It is intentionally domain-neutral: the active project supplies the field, venue, method facts, evidence rules, and style constraints.
- Maps a research workspace before editing prose.
- Integrates idea evaluation, literature verification, paper reading, baseline selection, evidence audit, writing, polishing, figures, review, rebuttal, data/release statements, and side-output workflows.
- Separates literature, experiment evidence, writing, figures, review, mentor advice, integration, administration, and release work.
- Requires claims, numbers, references, figures, and unknowns to be registered before they are promoted into a manuscript.
- Preserves evidence boundaries, negative results, post-hoc explanations, and unsupported gaps.
- Helps organize chaotic projects without breaking traceability paths.
- Includes a small inventory script for first-pass project cleanup planning.
ai-research-writing-pipeline/
|-- README.md
|-- LICENSE
`-- skills/
`-- ai-research-writing-pipeline/
|-- SKILL.md
|-- agents/
| `-- openai.yaml
|-- references/
| |-- artifact-contracts.md
| |-- capability-playbooks.md
| `-- framework-patterns.md
`-- scripts/
`-- workspace_inventory.py
Install the skill into Codex from this GitHub repository:
python3 ~/.codex/skills/.system/skill-installer/scripts/install-skill-from-github.py \
--repo youngandboor/ai-research-writing-pipeline \
--path skills/ai-research-writing-pipelineRestart Codex after installation so the new skill is discovered.
Invoke the skill explicitly:
Use $ai-research-writing-pipeline to inspect this research project, build claim
and evidence ledgers, and turn the current draft into a traceable manuscript
workflow.
For a messy existing project, start with the bundled inventory script:
python3 ~/.codex/skills/ai-research-writing-pipeline/scripts/workspace_inventory.py .This skill treats academic writing as controlled integration, not as free-form prose generation.
The main discipline is:
- Orient the project.
- Classify the request into a lane.
- Freeze method and evidence invariants.
- Build evidence ledgers.
- Register claims and numbers.
- Draft only from registered evidence.
- Render figures from source data.
- Integrate once through a controller role.
- Red-team from the current artifact.
- Repair by expected score gain and evidence risk.
- Gate final readiness through validators.
framework-patterns.mddistills reusable patterns from state-machine research workflows and multi-agent paper-production systems.artifact-contracts.mdgives lightweight JSON/JSONL contracts for task packets, claim registries, numeric claims, reference ledgers, figure manifests, and completion manifests.capability-playbooks.mdintegrates the common capabilities of idea evaluators, literature tools, paper readers, baseline selectors, writing and polishing workflows, figure agents, reviewers, rebuttal planners, data statement helpers, presentation builders, and release gates into this single skill.
MIT License.