Agent skill
nanoresearch-writing
Draft a LaTeX research paper from all previous stage outputs
Install this agent skill to your Project
npx add-skill https://github.com/OpenRaiser/NanoResearch/tree/main/skills/nanoresearch-writing
SKILL.md
Writing Skill
Purpose
Take all previous outputs (ideation, planning, experiment results) and produce a complete LaTeX paper draft with figures, tables, and bibliography.
Tools Required
generate_latex: Generate and assemble LaTeX source files for each paper sectioncompile_pdf: Compile the LaTeX source into a PDF documentgenerate_figure: Produce publication-quality figures from experiment results
Input
ideation_output: Path topapers/ideation_output.jsonfrom the ideation skillexperiment_blueprint: Path topapers/experiment_blueprint.jsonfrom the planning skillexperiment_results: Path toexperiments/directory containing code and results from the experiment skill
Process
- Parse all upstream outputs to gather hypotheses, literature, experiment design, and results
- Generate the paper outline following a standard structure (Abstract, Introduction, Related Work, Method, Experiments, Conclusion)
- Draft the Abstract summarizing the problem, approach, and key findings
- Draft the Introduction motivating the research question and stating contributions
- Draft Related Work synthesizing the surveyed literature from the ideation stage
- Draft the Method section describing the proposed approach in detail
- Draft the Experiments section with dataset descriptions, baseline comparisons, and ablation results
- Generate figures (performance plots, ablation charts, architecture diagrams) using
generate_figure - Generate tables summarizing quantitative results
- Draft the Conclusion with a summary of findings and future work directions
- Compile the bibliography from all cited papers
- Assemble the full LaTeX document using
generate_latex - Compile to PDF using
compile_pdfand verify the output
Output
Produces papers/draft/ directory containing:
main.tex: Complete LaTeX source of the paperreferences.bib: Bibliography file with all citationsfigures/: Generated figures in PDF or PNG formattables/: LaTeX table source filesmain.pdf: Compiled PDF of the paper draft
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
nanoresearch-experiment
Generate a Python code skeleton from an experiment blueprint
nanoresearch-planning
Produce an experiment blueprint from a research hypothesis
nanoresearch-ideation
Search academic literature and generate research hypotheses
skypilot-multi-cloud-orchestration
Multi-cloud orchestration for ML workloads with automatic cost optimization. Use when you need to run training or batch jobs across multiple clouds, leverage spot instances with auto-recovery, or optimize GPU costs across providers.
peft-fine-tuning
Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. Use when fine-tuning large models (7B-70B) with limited GPU memory, when you need to train <1% of parameters with minimal accuracy loss, or for multi-adapter serving. HuggingFace's official library integrated with transformers ecosystem.
huggingface-accelerate
Simplest distributed training API. 4 lines to add distributed support to any PyTorch script. Unified API for DeepSpeed/FSDP/Megatron/DDP. Automatic device placement, mixed precision (FP16/BF16/FP8). Interactive config, single launch command. HuggingFace ecosystem standard.
Didn't find tool you were looking for?