generate

generate is a command for Claude Code from rhuss/cc-slidev. It costs 8 tokens per session (5,388 once invoked), scanned A, original, MIT.

A command that turns a prepared outline into a Slidev presentation, a web-based slide format written in Markdown. It creates the presentation files and applies accessibility and design rules.

In plain words
What is it for?
Use it to create a new presentation from outline.md, with optional style preferences and supporting notes.
Why use it?
It removes the repetitive work of setting up slides, folders, and formatting from an outline. It also flags when the required outline is missing.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the slidev plugin — 8 skills, 19 commands, 3 agents shipped together

Good fit Use it to create a new presentation from outline.md, with optional style preferences and supporting notes.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add rhuss/cc-slidev
Claude Code
/plugin install slidev

Made for: Claude Code.

Or install slidev, the plugin that ships this one along with the rest of its 8 skills, 19 commands, 3 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 generate

README.md
[![agentmods](https://agentmods.dev/badge/commands/rhuss/cc-slidev/generate/github.svg)](https://agentmods.dev/commands/rhuss/cc-slidev/generate)
Your own site
<a href="https://agentmods.dev/commands/rhuss/cc-slidev/generate"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/generate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for generate

Your own site · 80×15
<a href="https://agentmods.dev/commands/rhuss/cc-slidev/generate"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,388 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00008 $0.05388
Opus 5.5 $0.00003 $0.02155
Sonnet 5.5 $0.00002 $0.01078
Haiku 4.5 $0.00001 $0.00539

Measured 26d ago against content hash 873eb888a43f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate 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 26d 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/generate.md · 726 lines

How it starts

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

Slide Generation

Generate clean, accessible Slidev slides from validated outline with enforced design limits.

Design constraints: Apply hard limits from ${CLAUDE_PLUGIN_ROOT}/references/design-constraints.md. Default timing: 90s per slide (configurable 60s-180s).

Execution

1. Prerequisites

Check for required files:

  • outline.md - Must exist
  • presentation-config.md - For style/theme preferences (optional)
  • brainstorm.md - For additional context (optional)

If outline.md missing:

  • Inform user outline is needed first
  • Offer to run /slidev:outline
  • Exit

2. Determine Project Directory

Extract topic from outline title and create directory name:

Title: "Introduction to Kubernetes"
→ Directory: "introduction-to-kubernetes"

Create project structure:

mkdir -p [topic-slug]/{slides,public/images,exports}

Note: The slides/ subdirectory will contain individual markdown files for each slide.

3. Generate Slidev Frontmatter (Accessibility-First)

Using slidev-mastery skill, create frontmatter with accessibility defaults:

Professional/Corporate (Default):

---
theme: default
background: '#ffffff'
class: text-center
highlighter: shiki
lineNumbers: false
transition: slide-left
title: [Title]
---

<style>
/* Accessibility defaults: 18pt+ fonts, 4.5:1+ contrast */
h1 { font-size: 3rem; }      /* ~48pt - headings ≥24pt required */
h2 { font-size: 2rem; }      /* ~32pt */
h3 { font-size: 1.5rem; }    /* ~24pt */
p, li { font-size: 1.25rem; } /* ~20pt - body ≥18pt required */

body {
  font-family: 'Helvetica Neue', Arial, sans-serif; /* Sans-serif for body */
}

/* Colorblind-safe default palette: Blue + Orange */
:root {
  --primary: #3b82f6;    /* Blue - 8.6:1 contrast on white */
  --secondary: #f97316;  /* Orange - 3.4:1 (headings only) */
  --neutral: #6b7280;    /* Gray */
  --text: #1f2937;       /* Dark gray - 16.1:1 contrast */
}
</style>

Technical/Developer:

---
theme: seriph
highlighter: shiki
lineNumbers: true
transition: fade
title: [Title]
---

<style>
/* Accessibility overrides for seriph theme */
h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
p, li { font-size: 1.25rem; }
</style>

Read the full file on GitHub · 726 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. 26d ago Changed · -16 lines · -3 tokens per session 873eb888a43f
  2. 3mo ago First seen · 742 lines · 11 tokens per session scan A 4b5683af5326

Subscribe to this mod's changes

generate is a command published in the GitHub repository rhuss/cc-slidev (55 stars, last pushed 25d ago), licensed MIT. It adds 8 tokens to every session and 5,388 once invoked, about $0.0000 per session on Opus 5.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.

Related

generate compared with commands from other repositories

generate next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generaterhuss/cc-slidevCommand5525d agoMITA8Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code