paper-draft

Generate a compilable LaTeX paper from PAPER_PLAN and wiki pages.

1.6k|208|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/skyllwt/AutoSci --skill paper-draft-skyllwt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-draft
Source: https://github.com/skyllwt/AutoSci/tree/main/.claude/skills/paper-draft
Command: npx skills add https://github.com/skyllwt/AutoSci --skill paper-draft-skyllwt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tools/research_wiki.py, tools/fetch_s2.py.

What problem does it solve?

It turns a structured paper plan (PAPER_PLAN) and your research wiki into a complete, compilable LaTeX paper, reducing the manual work of writing, organizing sections, generating figures/tables, and verifying citations.

Core Features & Use Cases

  • Section-by-section LaTeX drafting from wiki evidence: Writes Introduction, Related Work, Method, Experiments, Conclusion, and optional Appendix strictly using corresponding wiki pages mapped in the paper plan.
  • Figures, tables, and math consistency: Generates paper/figures/ and paper/tables/ from the figure/table plan while unifying notation via paper/math_commands.tex.
  • BibTeX citation verification: Fetches and validates references from DBLP/CrossRef (or S2 fallback) following the citation discipline rules, marking unresolved entries as [UNCONFIRMED].
  • De-AI polish and optional per-section review: Applies a mandatory de-AI writing pass and can run optional LLM review to improve clarity and idea alignment.

Quick Start

Draft the full paper by running /paper-plan first, then invoke paper drafting for the generated plan file: paper-draft wiki/outputs/paper-plan-sparse-lora-2026-04-08.md --sections 1,2 .

Frequently Asked Questions about paper-draft

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a LaTeX paper automatically from a structured research plan?

You generate a LaTeX paper by drafting sections, figures, and tables from a structured PAPER_PLAN and supporting wiki pages. This produces compilable paper/main.tex, section files, figures, and references.bib.

How does BibTeX citation verification work during automated paper drafting?

BibTeX citation verification fetches and validates references from DBLP/CrossRef or S2 fallback during paper drafting. It includes only validated, used-only BibTeX entries and marks unresolved citations as [UNCONFIRMED].

Can I draft specific sections of my academic paper incrementally instead of the full document?

Yes, you can draft specific sections incrementally by specifying section indices in the command. The paper drafting workflow supports incremental or full-paper generation from your PAPER_PLAN and wiki evidence.

How do I unify math notation and generate figures for my LaTeX manuscript?

You unify math notation and generate figures by creating paper/figures/ and paper/tables/ from your plan while defining shared commands in paper/math_commands.tex. This ensures notation consistency across all drafted sections.

Do I need a wiki knowledge base to start drafting my academic paper?

Yes, you need a wiki knowledge base and a structured PAPER_PLAN to start drafting. The tool writes each section strictly using corresponding wiki pages mapped in your paper plan as supporting evidence.

What is the best way to remove AI-generated text patterns from a drafted LaTeX paper?

The best way to remove AI text patterns is applying the mandatory de-AI writing pass during the paper drafting process. This polishes the drafted sections and can run optional LLM review to improve idea alignment.