paper-writing-section
Write a specific section of an academic paper (Abstract, Introduction, Background, Related Work, Methods, Experiments, Results, Discussion/Conclusion) with section-specific guidance and two-pass refinement. Use when the user wants to write, draft, or improve a paper section.
How do I install this agent skill?
npx skills add https://github.com/lingzhi227/agent-research-skills --skill paper-writing-sectionIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill is an academic writing assistant that generates paper sections by reading local LaTeX and log files. While it contains no malicious logic, it is susceptible to indirect prompt injection if the ingested files contain adversarial content.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
1/3 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
Paper Section Writer
Write a publication-quality section for an academic paper.
Input
$0— Section name:abstract,introduction,background,related-work,methods,experimental-setup,results,discussion,conclusion$1— (Optional) Path to context file (research plan, results, prior sections)
Workflow
Step 1: Gather Context
Read the paper's existing .tex files, experiment logs, result files, and any provided context. Understand: title, contributions, methodology, key results, figures, tables.
Step 2: Write the Section
Load section-specific tips from references/section-tips.md. Before every paragraph, include a brief plan as a LaTeX comment (% Plan: ...).
Step 3: Two-Pass Refinement
Apply both refinement passes from references/refinement-prompts.md:
- Pass 1: Fix errors (unenclosed math, broken refs, hallucinated numbers, duplicate labels)
- Pass 2: Remove redundancies, compress, ensure smooth transitions
References
- Section writing tips:
~/.claude/skills/paper-writing-section/references/section-tips.md - Refinement prompts and error checklist:
~/.claude/skills/paper-writing-section/references/refinement-prompts.md
Output
LaTeX fragment (no \documentclass, no preamble). All math enclosed in $...$ or \begin{equation}, all figures referenced with \ref{}, all cited works use \cite{}, no placeholder text.
Quality Checklist
- All math enclosed properly
- All
\ref{}and\cite{}valid - No TODO/TBD/FIXME markers
- Numbers match experimental logs exactly
- Writing style is objective — no hype words
- Section length appropriate for venue
Related Skills
- Upstream: data-analysis, figure-generation, table-generation, related-work-writing
- Downstream: latex-formatting, citation-management
- See also: paper-assembly
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/lingzhi227/agent-research-skills/paper-writing-section">View paper-writing-section on skillZs</a>