Talk

From brycewang-stanford/Auto-Empirical-Research-Skills · View interactive version

Talk is an AI agent skill from the GitHub repository brycewang-stanford/Auto-Empirical-Research-Skills. Create and audit presentations (Beamer or Quarto RevealJS). Combines talk creation, visual audit, and compilation. Replaces /create-talk, /visual-audit, /compile-latex (for talks).

How to use this skill

Skill file

Talk

Create, audit, or compile presentations (Beamer or Quarto RevealJS).

Input: $ARGUMENTS — mode and format/path.


Modes

`/talk create [format]` — Create Beamer Talk

`/talk create [format] --quarto` — Create Quarto RevealJS Talk

Generate a presentation from the paper.

Agents: Storyteller (creator) → storyteller-critic (reviewer)

Format Constraints

| Format | Slides | Duration | Content Scope |

|--------|--------|----------|---------------|

| job-market | 40-50 | 45-60 min | Full story, all results, mechanism, robustness |

| seminar | 25-35 | 30-45 min | Motivation, main result, 2 robustness, conclusion |

| short | 10-15 | 15 min | Question, method, key result, implication |

| lightning | 3-5 | 5 min | Hook, one result, so-what |

Workflow

Step 1: Parse Arguments

Step 2: Dispatch Storyteller

Read the paper and extract: research question, identification strategy, main result, secondary results, robustness checks, key figures/tables, institutional background. Design narrative arc for the chosen format. Build the slide file with shared preamble if available.

The Storyteller follows these design principles:

Compile with XeLaTeX (Beamer) or quarto render (Quarto).

Save to paper/talks/[format]_talk.tex (Beamer) or paper/quarto/[format]_talk.qmd (Quarto).

Step 3: Dispatch Storyteller-Critic

After the Storyteller returns, dispatch the storyteller-critic to review across 5 categories:

| Category | What It Checks |

|----------|---------------|

| Narrative flow | Does the story build properly? Is there a clear arc from motivation through results to implications? Are transitions smooth? |

| Visual quality | Text overflow, font readability (>= 10pt), figure sizing, consistent formatting, overfull hbox warnings |

| Content fidelity | Every claim traceable to the paper — no orphan results, no unsupported statements |

| Scope for format | Right amount of content for the duration — not cramming a seminar into a lightning talk, not padding a short talk to seminar length |

| Compilation | Does it compile cleanly without errors or warnings? |

Score as advisory (non-blocking). Save report to quality_reports/[format]_talk_review.md.

Step 4: Fix Critical Issues

If the storyteller-critic finds Critical issues (compilation failures, content not in paper):

  1. Re-dispatch Storyteller with specific fixes (max 3 rounds per three-strikes rule)
  2. Re-run storyteller-critic to verify

Step 5: Present Results

Report to the user:

  1. Generated file path
  2. Slide count and format compliance
  3. Storyteller-critic score (advisory, non-blocking)
  4. TODO items (missing figures, tables not yet generated)

`/talk audit [file]` — Visual Audit

Check existing slides for layout issues.

Run visual quality checks:


`/talk compile [file]` — Compile Talk

3-pass XeLaTeX compilation for Beamer:

cd paper/talks && TEXINPUTS=../preambles:$TEXINPUTS xelatex -interaction=nonstopmode [file]

For Quarto:

cd paper/quarto && quarto render [file]

Principles

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.