section-writing-agent

Generate LaTeX research paper sections from outlines, logs, figures, and citations.

635|88|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/Ar9av/PaperOrchestra --skill section-writing-agent-ar9av
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: section-writing-agent
Source: https://github.com/Ar9av/PaperOrchestra/tree/main/skills/section-writing-agent
Command: npx skills add https://github.com/Ar9av/PaperOrchestra --skill section-writing-agent-ar9av

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the assembly of a complete LaTeX manuscript by drafting missing paper sections (Abstract, Methodology, Experiments, Conclusion), converting raw experimental logs into publication-ready tables, and integrating figures and citations while preserving existing template content.

Core Features & Use Cases

  • Single-call multimodal drafting: Compose one comprehensive multimodal LLM prompt that produces the filled LaTeX manuscript to preserve global coherence across sections.
  • Deterministic extraction & gating: Run scripts to parse numeric tables from experimental_log.md, validate LaTeX structure, and verify citation keys to prevent hallucinated numbers or orphan citations.
  • Figure and citation integration: Inspect or consume provided PNG figures and captions, include them with exact filenames, and use the citation_pool and refs.bib to ground assertions about related work.
  • Use Case: Finish an ML conference paper by merging Intro+Related Work with newly generated Methodology, Experiments, and Conclusion, producing workspace/drafts/paper.tex that compiles without float-placement or citation errors.

Quick Start

Ask the agent to "Write the methodology and experiments sections using outline.json, experimental_log.md, figures/, and citation_pool.json, then save the compiled LaTeX to workspace/drafts/paper.tex".

Frequently Asked Questions about section-writing-agent

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

FAQPage Schema
How do I generate LaTeX sections for a research paper from experimental logs and figures?

Yes, you can integrate PNG figures into your LaTeX manuscript by providing them in the workspace. The agent inspects the images and captions, including them with exact filenames in the drafted sections to ensure proper figure integration.

How do I convert raw experimental logs into publication-ready LaTeX tables?

You convert raw experimental logs into LaTeX tables by providing an experimental_log.md file. The agent runs deterministic scripts to parse numeric metrics from the logs and automatically generates publication-ready tables for your Experiments section.

How does citation management work when drafting paper sections from an outline?

Citation management works by grounding assertions using a provided citation_pool.json and refs.bib file. The agent validates citation keys against these sources to prevent orphan citations and ensure no hallucinated references leak into the final LaTeX manuscript.

Can I draft an entire ML conference paper in one call while preserving existing template content?

Yes, you can draft an ML conference paper in one multimodal call. The agent merges existing Intro and Related Work content with newly generated sections, producing a workspace/drafts/paper.tex file that compiles without float-placement or citation errors.

What are the limitations of using a single multimodal call for LaTeX paper drafting?

A limitation of single-call drafting is that it requires all inputs—outline.json, experimental logs, figures, and citations—to be prepared in advance. The agent relies on deterministic scripts to gate against hallucinated numbers, meaning unstructured inputs may fail the validation checks.