paper-writing-section

Writes individual academic paper sections in LaTeX with section-specific guidance and two-pass refinement.

Updated May 27, 2026
One-click install
npx skills add https://github.com/baljinnyamday/autonomous-red-team-agent --skill paper-writing-section-baljinnyamday
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-writing-section
Source: https://github.com/baljinnyamday/autonomous-red-team-agent/tree/main/.agents/skills/paper-writing-section
Command: npx skills add https://github.com/baljinnyamday/autonomous-red-team-agent --skill paper-writing-section-baljinnyamday

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Drafting publication-quality sections of an academic paper requires section-specific conventions, accurate references to experiments, and careful LaTeX hygiene, which is slow and error-prone to do manually. ## Core Features & Use Cases - Section-Specific Writing: Supports Abstract, Introduction, Background, Related Work, Methods, Experimental Setup, Results, and Discussion/Conclusion, each with dedicated writing tips loaded from reference files. - Two-Pass Refinement: Applies an error-correction pass (unenclosed math, broken refs, hallucinated numbers, duplicate labels) followed by a compression and polish pass. - Grounded Output: Produces a LaTeX fragment with valid \ref{} and \cite{} usage, numbers matching experimental logs, and no placeholder text. - Use Case: After finishing experiments for a paper, ask for the Results section and receive a LaTeX fragment that reports only results present in your logs, with figures referenced and captions filled in. ## Quick Start Ask the agent to write the results section of your paper using the experiment logs and existing .tex files in the project.

Frequently Asked Questions about paper-writing-section

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

FAQPage Schema
How do I write a specific section of an academic paper with AI?

Provide the section name (abstract, introduction, methods, results, etc.) and optionally a context file. The skill reads your existing .tex files and experiment logs, applies section-specific writing tips, and outputs a LaTeX fragment.

How does the two-pass refinement improve paper sections?

Pass 1 fixes errors such as unenclosed math, broken references, hallucinated numbers, and duplicate labels. Pass 2 removes redundancies, compresses verbose text, and ensures smooth transitions with the rest of the paper.

Can it add new citations to references.bib?

No. The skill explicitly forbids adding new citations or modifying references.bib. It only cites works already present in the .bib file, and the refinement checklist flags any reference to papers not in the bibliography.

Does it prevent hallucinated experimental results?

Yes. The Results section guidance requires reporting only results actually run and saved in logs, and the error checklist flags numerical results that do not come from explicit experiments and logs.

What output format does the paper section writer produce?

It produces a LaTeX fragment without \documentclass or preamble. All math is enclosed in $...$ or equation environments, figures use \ref{}, citations use \cite{}, and no TODO or placeholder text remains.