mcpField
S
slide-generation

slide-generation

github.com/lingzhi227Documents4401.6k installsUpdated 35w ago
Repository

About slide-generation

slide-generation is a skill that turns a completed LaTeX paper into presentation slides or a poster. It extracts key paper elements and produces a Beamer skeleton, with guidance for structuring and simplifying the presentation.

Key features

  1. 01Extracts paper details and key elements
  2. 02Generates a Beamer LaTeX skeleton
  3. 03Structures oral presentation slides
  4. 04Guidance for simplifying content
  5. 05Optional multi-column poster layout

Use cases

  1. 01Preparing a paper talk
  2. 02Creating a research poster
  3. 03Converting paper figures and results into slides

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/lingzhi227/agent-research-skills --skill slide-generation

After installing, type/slide-generationin Claude Code to confirm it loaded.

Bundled filesreferences/slide-templates.mdscripts/extract_paper_elements.py

Details

From the project README

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
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
\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

Comments

Markdown supported