slides

slides is a command for coding agents from geo-mena/distill. It costs 24 tokens per session (1,146 once invoked), scanned A, original, MIT.

A command that creates a slide deck as a self-contained HTML file, using a Distill-style layout with one main idea per slide. Distill is a clean, research-focused visual style often used for explaining technical work.

In plain words
What is it for?
Use it to present a topic or research paper in a talk, with paginated slides, diagrams, captions, and a slide counter.
Why use it?
It removes the need to build slide structure, sizing, navigation, and technical diagrams from scratch.

Command

Part of the distill-design plugin — 1 skill, 7 commands 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/geo-mena/distill/slides
Clone the repo
git clone --depth 1 https://github.com/geo-mena/distill

Or install distill-design, the plugin that ships this one along with the rest of its 1 skill, 7 commands.

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 slides

README.md
[![agentmods](https://agentmods.dev/badge/commands/geo-mena/distill/slides.svg)](https://agentmods.dev/commands/geo-mena/distill/slides)
Your own site
<a href="https://agentmods.dev/commands/geo-mena/distill/slides"><img src="https://agentmods.dev/badge/commands/geo-mena/distill/slides.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,146 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.00024 $0.01146
Opus 5 $0.00012 $0.00573
Sonnet 5 $0.00005 $0.00229
Haiku 4.5 $0.00002 $0.00115

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

Security

Grade A, and why

slides 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.

plugins/distill-design/commands/slides.md · 43 lines

How it starts

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

Load the distill-design skill, then produce a slide deck in the Distill visual language for the topic in $@.

Workflow:

  1. Read plugins/distill-design/SKILL.md decision tree row "Slide deck for a talk" and plugins/distill-design/DESIGN-SYSTEM.md § "Visual foundations" before drafting. There is no shipped slides/ UI kit — you reuse ArticleHeader, Figure, and the diagram primitives, paginated.
  2. Outline the deck first as a numbered list of slide titles in sentence case. Default 10–14 slides unless the user specified. Each slide carries one idea. Pause for confirmation only if the user asked you to.
  3. Generate a single self-contained HTML file. Each slide is a <section> with width: 1280px; height: 720px; (16:9), background: #fdfdfd;, padded 64px 96px, sized via aspect-ratio: 16/9 so it scales. Use CSS scroll-snap on the parent container so each slide snaps to viewport. Include a thin slide counter (12 / 14) bottom-right in 12px #6a6a6a.
  4. Compose slides from the existing primitives. For diagram-heavy slides, use a "figure breakout" layout — the diagram sits in the upper two-thirds, a one-line caption in the lower third (14px #6a6a6a, mirroring Figure from Primitives.tsx). For prose slides, use the ArticleHeader typography ladder: eyebrow (11px uppercase #6a6a6a letter-spacing 0.12em) → title (36px weight 600, sentence case) → body (17px rgba(0,0,0,0.8) line-height 1.7). One idea per slide.
  5. Citations at the foot of each slide that references external work: 11px #6a6a6a, format [N] Authors, Title, Venue. — same Citation look from Primitives.tsx minus the hover popover (slides are not interactive). A consolidated References slide at the end is also acceptable.
  6. Embed diagrams using the same primitive selection as /distill-design:diagram. Pull components from Primitives.tsx, Diagrams.tsx, RL.tsx, Graph.tsx, Heatmap.tsx, Specialized.tsx. The HTML loads them via Babel standalone exactly like ui_kits/article/index.html — copy that scaffold's <head> and adapt.

Slide structure conventions:

  • Title slide: eyebrow (talk venue / date if user gave one), h1 56px weight 700 pure #000 on a single line (or 2-line wrap), italic subtitle 22px #4a4a4a, byline grid like ArticleHeader. No diagram on the title slide.
  • Section divider slides: h2 36px weight 600 centered, paper background, no other content. Used to mark major sections of the deck.
  • Idea slides: title (h2 ladder) + one diagram or one short paragraph (≤ 60 words). Never both at full size.
  • Figure breakout slides: full-bleed diagram with a one-line caption. The caption describes what to look at.
  • Closing slide: a single sentence summary, citation list below if not on its own slide, contact line in 13px italic #6a6a6a (no email-as-hyperlink-blue, just plain text — Distill links are quiet).

Output location:

  • Default: plugins/distill-design/preview/slides-<slug>.html. The user opens it in a browser and uses arrow keys / scroll-snap to navigate.
  • If the user wants a printable PDF, mention they can use chrome-devtools "Print → Save as PDF" with custom paper size 1280×720.

Hard constraints (non-negotiable):

  • English only. Never translate the slide content.
  • No emoji on any slide.
  • No marketing superlatives. No exclamation points. Sentence case headings.
  • Body color rgba(0,0,0,0.8); pure #000 on h1 only (title slide and any per-slide h1, which should be rare — most slides use h2 36px).
  • Strokes 1.5–2px in #666 rounded caps for any embedded SVG.
  • No gradients, no shadows on slide content, no fixed elements (the slide counter is part of the slide flow, not fixed).
  • No year literals in slide content unless the topic genuinely dates a specific paper.
  • Background #fdfdfd only. Never pure white. Never a colored slide background — color belongs in the diagrams.

Verification:

  • Serve via cd plugins/distill-design && python3 -m http.server 8765 (Babel standalone needs HTTP).
  • Open http://localhost:8765/preview/slides-<slug>.html and verify visually with chrome-devtools — take a screenshot of the title slide and one figure-breakout slide. Check: aspect ratio holds at 16:9, system sans not Times-fallback, scroll-snap advances one slide per scroll.

Read the full file on GitHub · 43 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 · 43 lines · 24 tokens per session scan A 29f2434a12b3

Subscribe to this mod's changes

slides is a command published in the GitHub repository geo-mena/distill (2 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 1,146 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-31.

Related

Other commands, from other repositories