Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/rhuss/cc-slidevnpx agentmods add commands/rhuss/cc-slidev/extract-outlineWrote 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.
[](https://agentmods.dev/commands/rhuss/cc-slidev/extract-outline)<a href="https://agentmods.dev/commands/rhuss/cc-slidev/extract-outline"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/extract-outline/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.
<a href="https://agentmods.dev/commands/rhuss/cc-slidev/extract-outline"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/extract-outline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00009 | $0.03181 |
| Opus 5.5 | $0.00004 | $0.01272 |
| Sonnet 5.5 | $0.00002 | $0.00636 |
| Haiku 4.5 | $0.00001 | $0.00318 |
Grade A, and why
extract-outline 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.
How it starts
The opening of the file, as written. The whole thing — 492 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Extract Outline from Existing Slides
Reverse engineer a structured outline from an existing Slidev presentation by analyzing slide structure, titles, and content.
Use cases:
- Legacy presentations needing structure documentation
- Received slides from collaborators, need outline for context
- Made extensive slide edits, want updated outline
- Creating handout outline from presentation
- Refactoring presentation structure
Execution
1. Locate Presentation
Search for slides.md files:
# Find all slides.md in current directory and subdirectories
find . -name "slides.md" -type f -not -path "*/node_modules/*"
If no slides.md found:
- Inform user: "No presentation found in current directory"
- Suggest: "Create a new presentation with
/slidev:initor/slidev:generate" - Exit
If multiple slides.md found:
- List all with paths and brief descriptions
- Ask user which one to analyze
- Use selected path
If exactly one found:
- Proceed with that file
- Show path to user: "Analyzing presentation at: [path]"
2. Read Master Slides File
Read slides.md to extract structure:
The master file contains slide includes with comments:
---
src: ./slides/01-title.md
---
<!-- Slide 1: Title -->
---
src: ./slides/02-hook.md
---
<!-- Slide 2: Hook - Opening question -->
Parse master file:
- Extract all
src:paths to individual slide files - Extract slide numbers and descriptions from comments (format:
<!-- Slide N: Description -->) - Build slide mapping: slide number → file path → description
Expected data structure:
Slides:
1: ./slides/01-title.md → "Title"
2: ./slides/02-hook.md → "Hook - Opening question"
3: ./slides/03-problem.md → "Problem Statement"
...
18: ./slides/18-conclusion.md → "Conclusion - Key Takeaways"
19: ./slides/19-questions.md → "Questions"
20: ./slides/20-backup-methodology.md → "Backup - Detailed Methodology"
3. Read Individual Slide Files
For each slide file, extract:
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.
- 26d ago Changed · -3 tokens per session fb6aa3901e5d
- 3mo ago First seen · 492 lines · 12 tokens per session scan A 43f6b20258e3
extract-outline is a command published in the GitHub repository rhuss/cc-slidev (55 stars, last pushed 25d ago), licensed MIT. It adds 9 tokens to every session and 3,181 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.
extract-outline compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| extract-outlinerhuss/cc-slidev | Command | 55 | 25d ago | MIT | A | 9 | Claude Code |
| cti-report7onez/cti-expert | Command | 630 | 8d ago | none | A | 45 | Claude Code |
| brand-generateferdinandobons/brand-docs | Command | 309 | 4mo ago | MIT | A | 0 | Claude Code |
| render-figuresbraininahat/brains-in-a-hat | Command | 4 | 1mo ago | MIT | A | 17 | Claude Code |
| ppt-image2-editable-rebuildwwe-dog/ppt-image2-editable-rebuild | Command | 207 | 6mo ago | Unlicense | A | 15 | Claude Code |
| arckit.uk-food-record-sheetstractorjuice/arckit-codex | Command | 19 | yesterday | none | A | 73 | Claude Code |
| publish-api-docsnavraj007in/architecture-cowork-plugin | Command | 3 | 4mo ago | Apache-2.0 | A | 17 | Claude Code |