slidev:handout

slidev:handout is a command for coding agents from rhuss/cc-slidev. It costs 15 tokens per session (2,692 once invoked), scanned A, original, MIT.

A command that creates a detailed LaTeX handout from a Slidev presentation. The handout can combine slide images, presenter notes, explanations, and research into a PDF-ready document.

In plain words
What is it for?
Use it when slides.md exists and you need a comprehensive presentation handout.
Why use it?
It turns slides, which are usually brief, into a fuller reference document for readers. It can continue with basic formatting or without slide images when optional dependencies are missing.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the slidev plugin — 8 skills, 18 commands, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/rhuss/cc-slidev/handout
Clone the repo
git clone --depth 1 https://github.com/rhuss/cc-slidev

Or install slidev, the plugin that ships this one along with the rest of its 8 skills, 18 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for slidev:handout

README.md
[![agentmods](https://agentmods.dev/badge/commands/rhuss/cc-slidev/handout.svg)](https://agentmods.dev/commands/rhuss/cc-slidev/handout)
Your own site
<a href="https://agentmods.dev/commands/rhuss/cc-slidev/handout"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/handout.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,692 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00015 $0.02692
Opus 5 $0.00008 $0.01346
Sonnet 5 $0.00003 $0.00538
Haiku 4.5 $0.00002 $0.00269

Measured 4d ago against content hash 889e2e660ef2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

slidev:handout scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

slidev/commands/handout.md · 380 lines

How it starts

The opening of the file, as written. The whole thing — 380 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Handout Generation

Create comprehensive LaTeX handout combining slides, presenter notes, and supplementary research.

Note: Handouts should include detailed explanations that don't appear on slides (MIT CommLab principle: slides are minimal, handouts are comprehensive).

Execution

1. Check Prerequisites

Required:

  • slides.md must exist
  • Slides must be exportable (Slidev working)

Optional but helpful:

  • brainstorm.md (for additional context)
  • Presenter notes in slides (for note sections)

Check all handout dependencies:

${CLAUDE_PLUGIN_ROOT}/scripts/check-handout-deps.sh

Handle exit codes:

  • 0: All dependencies available → Proceed with full handout (PNG slides, rich formatting)
  • 1: pdflatex missing → EXIT with error, provide installation instructions
  • 2: LaTeX packages missing → Proceed with basic handout (standard LaTeX formatting)
  • 3: Playwright missing → Proceed with text-only handout (no slide images)

Graceful degradation strategies:

If LaTeX packages (tcolorbox, enumitem) missing:

  • Skip \usepackage{tcolorbox} and \usepackage{enumitem}
  • Use standard LaTeX boxes instead of colored tcolorbox
  • Use standard enumerate/itemize instead of enumitem features
  • Handout quality: Basic but functional

If Playwright missing:

  • Skip slide PNG export step entirely
  • Generate handout with prose only (no slide images)
  • Still include all Further Reading links and content
  • Handout quality: Text-only reference document

If pdflatex missing:

  • Cannot generate handout at all
  • Inform user LaTeX is required
  • Provide installation instructions
  • Offer to create .tex file anyway (user can compile later)

2. Export Slides to Individual PNGs (If Playwright Available)

Only if dependency check returned 0 or 2 (Playwright available):

Export each slide as a separate PNG image:

cd [presentation-dir]
slidev export slides.md --output exports/slides --format png --per-slide

This creates exports/slide-1.png, exports/slide-2.png, etc.

Read the full file on GitHub · 380 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 380 lines · 15 tokens per session scan A 889e2e660ef2

Subscribe to this mod's changes

slidev:handout is a command published in the GitHub repository rhuss/cc-slidev (50 stars, last pushed 15d ago), licensed MIT. It adds 15 tokens to every session and 2,692 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.