slidev:init

A command that starts a new Slidev presentation project. Slidev is a tool for creating presentations from text and code files.

In plain words
What is it for?
Use it to create a presentation from scratch, optionally starting with a topic, and guide it through brainstorming, building, and producing a handout.
Why use it?
It brings project setup and the presentation workflow together, so you do not have to prepare the folders, dependencies, and steps manually.

Command

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/init
Clone the repo
git clone --depth 1 https://github.com/rhuss/cc-slidev
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,965 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.00013 $0.03965
Opus 5 $0.00006 $0.01982
Sonnet 5 $0.00003 $0.00793
Haiku 4.5 $0.00001 $0.00396

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

Security

Grade A, and why

slidev:init 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 2d 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/init.md · 657 lines

How it starts

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

Initialize Presentation Project

Complete end-to-end workflow orchestrator that sets up a new presentation project and guides through all phases from brainstorming to final handout.

This is the "easy button" for new presentations - fully automated workflow with interactive decision points.

What it does:

  1. Creates project directory structure
  2. Initializes git repository
  3. Checks/installs Slidev dependencies
  4. Orchestrates full creation workflow by calling specialized commands

Use when: Starting a brand new presentation from scratch

Difference from individual commands: This orchestrates the entire workflow, while individual commands handle specific tasks.

Execution

1. Parse Arguments and Setup TODO Tracking

Extract topic from $ARGUMENTS if provided:

# User can invoke as:
# /slidev:init
# /slidev:init "Introduction to Kubernetes"

Create workflow TODO list:

Use TodoWrite tool:

{
  "todos": [
    {
      "content": "Set up project directory and git",
      "activeForm": "Setting up project directory and git",
      "status": "pending"
    },
    {
      "content": "Check Slidev installation",
      "activeForm": "Checking Slidev installation",
      "status": "pending"
    },
    {
      "content": "Frame presentation scope",
      "activeForm": "Framing presentation scope",
      "status": "pending"
    },
    {
      "content": "Brainstorm and research",
      "activeForm": "Brainstorming and researching",
      "status": "pending"
    },
    {
      "content": "Create outline",
      "activeForm": "Creating outline",
      "status": "pending"
    },
    {
      "content": "Generate slides",
      "activeForm": "Generating slides",
      "status": "pending"
    },
    {
      "content": "Enhance visuals (optional)",
      "activeForm": "Enhancing visuals",
      "status": "pending"
    },
    {
      "content": "Add presenter notes (optional)",
      "activeForm": "Adding presenter notes",
      "status": "pending"
    },
    {
      "content": "Generate handout (optional)",
      "activeForm": "Generating handout",
      "status": "pending"
    }
  ]
}

Read the full file on GitHub · 657 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. 2d ago First seen · 657 lines · 13 tokens per session scan A 0b385320a18f

Subscribe to this mod's changes

slidev:init is a command published in the GitHub repository rhuss/cc-slidev (49 stars, last pushed 13d ago), licensed MIT. It adds 13 tokens to every session and 3,965 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.