paper-writing
Qué hace
Esta capa para Codex ejecuta el proceso de redacción de artículos, con Gemini revisando el plan, las figuras, la redacción y el ciclo de mejora. Está pensada para usuarios de Codex que quieren un PDF revisado creado a partir de un informe de investigación.
Cuándo usarla
- ✓Cuando tienes un informe de investigación y quieres un PDF de artículo revisado con revisión de Gemini.
- ✓Cuando quieres encadenar los pasos de plan, figuras, redacción y compilación.
- ✓Cuando quieres que cada etapa de revisión la gestione Gemini.
Link de la skill
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex-gemini-review/paper-writing/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Quiero que mi informe de investigación se convierta en un PDF de artículo revisado, con Gemini revisando el plan, las figuras y la redacción.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente planifica el artículo, hace las figuras, escribe el LaTeX, lo compila y ejecuta un ciclo de mejora de dos rondas. Gemini revisa en cada etapa a través del puente local.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Override for Codex users who want Gemini, not a second Codex agent, to act as the reviewer. Install this package after
skills/skills-codex/*.
Workflow 3: Paper Writing Pipeline
Gemini overlay assurance:
review_independence: cross-familyandacceptance_status: accepted.
Orchestrate a complete paper writing workflow for: $ARGUMENTS
Overview
This skill chains five sub-skills into a single automated pipeline:
/paper-plan → /paper-figure → /paper-write → /paper-compile → /auto-paper-improvement-loop
(outline) (plots) (LaTeX) (build PDF) (review & polish ×2)
Each phase builds on the previous one's output. The final deliverable is a polished, reviewed paper/ directory with LaTeX source and compiled PDF.
Constants
- VENUE =
ICLR— Target venue. Options:ICLR,NeurIPS,ICML. Affects style file, page limit, citation format. - MAX_IMPROVEMENT_ROUNDS = 2 — Number of review→fix→recompile rounds in the improvement loop.
- REVIEWER_MODEL =
gemini-review— Gemini reviewer invoked through the localgemini-reviewMCP bridge for plan review, figure review, writing review, and the improvement loop. - AUTO_PROCEED = true — Auto-continue between phases. Set
falseto pause and wait for user approval after each phase. - HUMAN_CHECKPOINT = false — When
true, the improvement loop (Phase 5) pauses after each round's review to let you see the score and provide custom modification instructions. Whenfalse(default), the loop runs fully autonomously. Passed through to/auto-paper-improvement-loop.
Override inline:
/paper-writing "NARRATIVE_REPORT.md" — venue: NeurIPS, human checkpoint: true
Inputs
This pipeline accepts one of:
NARRATIVE_REPORT.md(best) — structured research narrative with claims, experiments, results, figures- Research direction + experiment results — the skill will help draft the narrative first
- Existing
PAPER_PLAN.md— skip Phase 1, start from Phase 2
The more detailed the input (especially figure descriptions and quantitative results), the better the output.
Pipeline
Phase 1: Paper Plan
Invoke /paper-plan to create the structural outline:
/paper-plan "$ARGUMENTS"
What this does:
- Parse NARRATIVE_REPORT.md for claims, evidence, and figure descriptions
- Build a Claims-Evidence Matrix — every claim maps to evidence, every experiment supports a claim
- Design section structure (5-8 sections depending on paper type)
- Plan figure/table placement with data sources
- Scaffold citation structure
- Gemini reviews the plan for completeness via the
/paper-planoverlay
Output: PAPER_PLAN.md with section plan, figure plan, citation scaffolding.
Checkpoint: Present the plan summary to the user.
📐 Paper plan complete:
- Title: [proposed title]
- Sections: [N] ([list])
- Figures: [N] auto-generated + [M] manual
- Target: [VENUE], [PAGE_LIMIT] pages
Shall I proceed with figure generation?
- User approves (or AUTO_PROCEED=true) → proceed to Phase 2.
- User requests changes → adjust plan and re-present.
Phase 2: Figure Generation
Invoke /paper-figure to generate data-driven plots and tables:
/paper-figure "PAPER_PLAN.md"
What this does:
- Read figure plan from PAPER_PLAN.md
- Generate matplotlib/seaborn plots from JSON/CSV data
- Generate LaTeX comparison tables
- Create
figures/latex_includes.texfor easy insertion - Gemini reviews figure quality and captions via the
/paper-figureoverlay
Output: figures/ directory with PDFs, generation scripts, and LaTeX snippets.
Phase 2b: AI Illustration Generation (when illustration: true)
Skip this step entirely if illustration is not set or is false.
If the paper plan includes architecture diagrams, pipeline figures, or method illustrations, invoke /paper-illustration:
/paper-illustration "[method description from PAPER_PLAN.md or NARRATIVE_REPORT.md]"
What this does:
- Codex plans the layout → Gemini optimizes → Nano Banana Pro renders → Codex reviews (score ≥ 9)
- Output:
figures/ai_generated/*.png— publication-quality method diagrams - Requires
GEMINI_API_KEYenvironment variable
Without
illustration: true: Architecture diagrams must still be created manually (draw.io, Figma, TikZ) and placed infigures/before proceeding — same as before.
Checkpoint: List generated vs manual figures.
📊 Figur
Preguntas frecuentes
¿Qué congresos se usan por defecto?
ICLR es el predeterminado, y la skill también enumera NeurIPS e ICML como opciones.
¿Puedo hacer una pausa entre fases?
Sí. Si defines la opción de avance automático como falsa, espera tu aprobación después de cada fase.
¿Qué necesito primero?
Instala las skills base de Codex, luego esta capa, y configura el puente gemini-review.
Detalles
Descripción original del autor
Workflow 3: Full paper writing pipeline. Orchestrates paper-plan \u2192 paper-figure \u2192 paper-write \u2192 paper-compile \u2192 auto-paper-improvement-loop to go from a narrative report to a polished, submission-ready PDF. Use when user says \\\"\u5199\u8bba\u6587\u5168\u6d41\u7a0b\\\", \\\"write paper pipeline\\\", \\\"\u4ece\u62a5\u544a\u5230PDF\\\", \\\"paper writing\\\", or wants the complete paper generation workflow.
Popularidad
- Estrellas en GitHub
- 18 mil
- Posición en el ranking
- #10599
- Licencia
- MIT
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
ablation-planner
18 milAyuda a tu agente a planificar estudios de ablación para un artículo, eligiendo las pruebas que probablemente pidan los revisores cuando los resultados principales ya parecen buenos.
alphaxiv
18 milPermite que tu agente lea rápidamente un artículo de investigación usando resúmenes de AlphaXiv, con el texto completo o el código fuente en LaTeX como respaldo, a partir de un enlace de arXiv o de un ID.
analyze-results
18 milAyuda a tu agente a analizar resultados de experimentos de aprendizaje automático, comparar las ejecuciones con una línea base y convertir las cifras en hallazgos claros y próximos pasos.
arxiv
18 milPermite que tu agente busque artículos académicos en arXiv, lea sus detalles y guarde los PDF en tu biblioteca para un tema de investigación.
Skills parecidas
obsidian-vault-maintainer
394 milAyuda a tu agente a mantener ordenado un almacén de memoria compatible con Obsidian, con enlaces de wiki que funcionan, propiedades coherentes y secciones generadas seguras.
wiki-maintainer
394 milAyuda a tu agente a mantener una wiki de memoria de OpenClaw con páginas repetibles, bloques gestionados seguros y comprobaciones de contradicciones o huecos.
obsidian
394 milPermite que tu agente lea, busque, cree y edite notas, tareas, enlaces y propiedades de Obsidian con la línea de comandos oficial de Obsidian.