| name | research-paper-pipeline |
| description | Write a source-grounded research paper through a legal literature and drafting pipeline: study writing-method sources, search lawful paper indexes and open-access databases, build section/paragraph structures, generate original figures/tables/equations from evidence or user data, compare claims against existing literature, revise, and produce a final manuscript. Use when Codex is asked to write, plan, structure, revise, or validate an academic paper, literature review, technical article, thesis chapter, or source-grounded manuscript. |
Research Paper Pipeline
Boundary
Do not use Sci-Hub, pirate mirrors, leaked PDFs, or unauthorized full-text sources. Use legal indexes, open-access papers, official publisher pages, institutional access supplied by the user, and user-provided PDFs.
Do not fabricate experiments, citations, data, tables, images, or equations. If evidence is missing, mark the gap.
Workflow
- Read writing-method sources: use
references/writing-method-sources.md to orient the paper-writing process.
- Define paper target: topic, field, audience, venue, contribution type, length, citation style, and ethical constraints.
- Full-text access check: ask whether the user has lawful institutional access, uploaded PDFs, author manuscripts, preprints, or open-access copies. Use
references/user-provided-fulltext.md for manual PDF intake. Do not use Sci-Hub or pirate mirrors even if requested.
- Legal literature search: use
references/legal-literature-search.md to search OpenAlex, Crossref, Semantic Scholar, arXiv, PubMed, DOAJ, Unpaywall, official publisher pages, and user-provided PDFs.
- Build evidence matrix: record claim, source, method, data, result, limitation, and relevance.
- Create paper structure: split title, abstract, introduction, related work, method, results, discussion, conclusion, references, appendices, and every paragraph into explicit jobs.
- Draft paragraph by paragraph: each paragraph must have a purpose, claim, evidence, transition, and citation requirement.
- Generate artifacts: create original figures, tables, formulas, diagrams, or plots only from user data, cited data, derived calculations, or clearly labeled conceptual structures.
- Compare and correct: check each claim against the evidence matrix and related literature; revise unsupported, overstated, or contradicted claims.
- Ethics and integrity pass: check plagiarism risk, citation completeness, authorship, conflicts, data availability, and image/table provenance.
- Final manuscript: produce a clean paper plus source map, figure/table list, formula list, unresolved gaps, and revision checklist.
马斯克 Supervision
Before writing, delete unnecessary scope, weak claims, decorative figures, and unsupported sections. Simplify the contribution and evidence chain before polishing prose. Automate formatting only after the argument is correct.
Output
- paper objective and contribution statement
- legal literature search log
- evidence matrix
- section/paragraph blueprint
- draft manuscript
- generated figure/table/formula inventory
- claim-to-source audit
- contradiction and limitation report
- final manuscript
Resources
references/legal-literature-search.md
references/paper-structure.md
references/user-provided-fulltext.md
references/writing-method-sources.md