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.
/plugin marketplace add rhuss/cc-slidev/plugin install slidevWrote 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/redraw-diagrams)<a href="https://agentmods.dev/commands/rhuss/cc-slidev/redraw-diagrams"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/redraw-diagrams/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/redraw-diagrams"><img src="https://agentmods.dev/badge/commands/rhuss/cc-slidev/redraw-diagrams.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.00028 | $0.02916 |
| Opus 5 | $0.00014 | $0.01458 |
| Sonnet 5 | $0.00006 | $0.00583 |
| Haiku 4.5 | $0.00003 | $0.00292 |
Grade A, and why
slidev:redraw-diagrams 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 9d 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 — 383 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Redraw Diagrams - Semantic Redesign Across Platforms
Extract inline diagrams from slides and semantically redesign them for each platform's strengths, rather than mechanically converting between formats.
Philosophy: Each diagram platform (Mermaid, PlantUML, Excalidraw) has unique visual paradigms. This command analyzes the slide's semantic content and existing diagrams, then redesigns diagrams to leverage each platform's specific capabilities.
CRITICAL - Excalidraw Rule: NEVER embed Excalidraw JSON in markdown files. Always:
- Write JSON to
diagrams/<slug>.excalidraw - Convert to SVG using
render-excalidraw.sh - Put SVG in
public/images/<slug>/diagram-excalidraw.svg - Reference only the SVG image in markdown
Use Cases:
- Redesign existing diagrams to better utilize platform features
- Create platform-specific versions that aren't just conversions
- Improve diagram quality by rethinking visual approach per platform
Execution
1. Find Presentation
Locate slides.md:
- Check current directory
- Check subdirectories
- If multiple found: ask user which one
2. Get Slide Mapping from Master slides.md
Read master slides.md directly to extract slide information:
---
src: ./slides/01-title.md
---
<!-- Slide 1: Title -->
---
src: ./slides/05-microservices-benefits.md
---
<!-- Slide 5: Microservices Benefits -->
Parse comment pattern <!-- Slide \d+: .* --> to get:
- Slide numbers
- Slide titles/descriptions for directory naming
- File paths (from
src:lines)
3. Extract and Analyze Diagrams Semantically
Scan slides.md for diagram code blocks:
Mermaid diagrams:
```mermaid
[diagram code]
**PlantUML diagrams:**
```markdown
```plantuml
@startuml
[diagram code]
@enduml
**For each diagram found:**
1. Note slide number and title
2. Extract complete diagram code
3. **Read slide content** to understand semantic context
4. **Analyze diagram semantics:**
- What concept is being visualized?
- Is it showing flow/process, architecture/structure, or concepts/relationships?
- What is the diagram's intent?
5. Identify existing diagram type and platform
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.
- 9d ago First seen · 383 lines · 28 tokens per session scan A 848353de701c
slidev:redraw-diagrams is a command published in the GitHub repository rhuss/cc-slidev (51 stars, last pushed 21d ago), licensed MIT. It adds 28 tokens to every session and 2,916 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.
Other commands, from other repositories
rive-interactive-viewmodel_builder
Command "rive-interactive-viewmodel_builder" from freshtechbro/claudedesignskills, covering /rive-interactive-viewmodelbuilder, description, usage, implementation and notes.
video
Create a design based on video.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.