slidev-deployment

slidev-deployment is a skill for Claude Code from yoanbernabeu/slidev-skills. It costs 32 tokens per session (2,294 once invoked), scanned C, original, MIT.

A deployment guide for Slidev presentations, which are slide decks written as code and published as websites. It covers hosting them on GitHub Pages, Netlify, Vercel, or Docker.

In plain words
What is it for?
Use it to publish presentations for talks, conferences, events, archives, or website embeds, and to automate publishing when code changes.
Why use it?
It removes the guesswork involved in turning a local presentation into a shareable web page. It also covers production details such as output folders, subdirectory paths, PDF downloads, and hiding presenter notes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the slidev-export plugin — 2 skills shipped together , and of slidev-complete

Good fit Use it to publish presentations for talks, conferences, events, archives, or website embeds, and to automate publishing when code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yoanbernabeu/slidev-skills/slidev-deployment
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.

Any agent
npx skills add yoanbernabeu/slidev-skills --skill slidev-deployment
Clone the repo
git clone --depth 1 https://github.com/yoanbernabeu/slidev-skills

Made for: Claude Code.

Or install slidev-export, the plugin that ships this one along with the rest of its 2 skills.

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 slidev-deployment

README.md
[![agentmods](https://agentmods.dev/badge/skills/yoanbernabeu/slidev-skills/slidev-deployment/github.svg)](https://agentmods.dev/skills/yoanbernabeu/slidev-skills/slidev-deployment)
Your own site
<a href="https://agentmods.dev/skills/yoanbernabeu/slidev-skills/slidev-deployment"><img src="https://agentmods.dev/badge/skills/yoanbernabeu/slidev-skills/slidev-deployment/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 slidev-deployment

Your own site · 80×15
<a href="https://agentmods.dev/skills/yoanbernabeu/slidev-skills/slidev-deployment"><img src="https://agentmods.dev/badge/skills/yoanbernabeu/slidev-skills/slidev-deployment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00032 $0.02294
Opus 5 $0.00016 $0.01147
Sonnet 5 $0.00006 $0.00459
Haiku 4.5 $0.00003 $0.00229

Measured 12d ago against content hash 0e75ead2feba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade C, and why

slidev-deployment scanned grade C with 1 finding 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 12d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

2. Clear node_modules: `rm -rf node_modules && npm install`
skills/export/slidev-deployment/SKILL.md · 529 lines

How it starts

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

Deploying Slidev Presentations

This skill covers deploying Slidev presentations as static websites to various hosting platforms, making your presentations accessible online.

When to Use This Skill

  • Sharing presentations via URL
  • Hosting for conferences/events
  • Creating permanent presentation archives
  • Setting up CI/CD for presentations
  • Embedding presentations in websites

Building for Production

Build Command

npx slidev build

Or via npm script:

npm run build

Output

Creates dist/ directory containing:

  • index.html
  • JavaScript bundles
  • CSS files
  • Asset files

Build Options

# Custom output directory
npx slidev build --out public

# With base path (for subdirectories)
npx slidev build --base /presentations/my-talk/

# Enable PDF download
npx slidev build --download

# Exclude presenter notes (security)
npx slidev build --without-notes

GitHub Pages

Method 1: GitHub Actions (Recommended)

  1. Enable GitHub Pages:

    • Go to Settings → Pages
    • Source: GitHub Actions
  2. Create workflow file .github/workflows/deploy.yml:

name: Deploy Slidev

on:
  push:
    branches: [main]
  workflow_dispatch:

permissions:
  contents: read
  pages: write
  id-token: write

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Setup Node
        uses: actions/setup-node@v4
        with:
          node-version: '20'
          cache: 'npm'

      - name: Install dependencies
        run: npm ci

      - name: Build
        run: npm run build -- --base /${{ github.event.repository.name }}/

      - name: Upload artifact
        uses: actions/upload-pages-artifact@v3
        with:
          path: dist

  deploy:
    needs: build
    runs-on: ubuntu-latest
    environment:
      name: github-pages
      url: ${{ steps.deployment.outputs.page_url }}
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4

Read the full file on GitHub · 529 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. 12d ago First seen · 529 lines · 32 tokens per session scan C 0e75ead2feba

Subscribe to this mod's changes

slidev-deployment is a skill published in the GitHub repository yoanbernabeu/slidev-skills (39 stars, last pushed 7mo ago), licensed MIT. It adds 32 tokens to every session and 2,294 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens