lingzhi227/agent-research-skills

slide-generation

Convert a completed paper into presentation slides (Beamer LaTeX) or poster.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/lingzhi227/agent-research-skills --skill slide-generation

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

Slide Generation

Convert a completed paper into presentation slides or poster.

Input

  • $0 — Paper LaTeX file (main.tex) or paper directory

References

  • Slide templates and layout patterns: ~/.claude/skills/slide-generation/references/slide-templates.md

Scripts

Extract paper elements for slides

bash
python ~/.claude/skills/slide-generation/scripts/extract_paper_elements.py --tex main.tex --output slides_skeleton.tex
python ~/.claude/skills/slide-generation/scripts/extract_paper_elements.py --tex main.tex --format json --output elements.json
python ~/.claude/skills/slide-generation/scripts/extract_paper_elements.py --tex main.tex --output slides.tex --theme metropolis

Parses .tex, extracts title/authors/sections/equations/figures/tables, generates Beamer skeleton.

Workflow

Step 1: Extract Key Content

From the paper, extract:

  1. Title, authors, affiliations
  2. Core contribution (1-3 bullet points from abstract)
  3. Key figures (all \includegraphics paths)
  4. Key tables (simplified versions)
  5. Key equations (numbered equations from Methods)
  6. Main results (best numbers from Results section)

Step 2: Design Slide Structure

Standard oral presentation flow (~15-20 slides):

Slide #ContentSource Section
1Title slideTitle/Authors
2Motivation / ProblemIntroduction
3Why existing solutions failRelated Work
4-5Our approach (high-level)Methods
6-8Technical details + equationsMethods
9Experimental setupExperiments
10-13Results (figures + tables)Results
14Ablation studyResults
15Limitations & Future workDiscussion
16ConclusionConclusion
17Thank you + Q&A—

Step 3: Generate Beamer LaTeX

latex
\documentclass[aspectratio=169]{beamer}
\usetheme{metropolis}
\title{Paper Title}
\author{Authors}
\date{Venue Year}

\begin{document}
\maketitle

\begin{frame}{Motivation}
\begin{itemize}
    \item Problem statement
    \item Why it matters
\end{itemize}
\end{frame}

% ... more frames
\end{document}

Step 4: Simplify for Presentation

  • Tables: reduce to essential rows/columns
  • Equations: show only the key insight, not full derivation
  • Figures: use largest versions, add annotations
  • Text: bullet points only, no paragraphs

Step 5: Generate Poster Layout (Optional)

For poster sessions, use a multi-column layout:

  • Column 1: Introduction + Motivation
  • Column 2: Methods + Key Equations
  • Column 3: Results + Figures
  • Column 4: Conclusions + References

Rules

  • Maximum 1 key message per slide
  • Figures should be large and readable
  • No more than 6 bullet points per slide
  • Equations should be simplified versions
  • Include slide numbers
  • Use consistent color scheme matching the paper's figures
  • Presentation should be self-contained (understandable without reading the paper)

Related Skills

Related by task

from this repository

More skills

All skills