copilot-when-to-use-what: Skill for Claude Code

.github/skills/presentation-viewer/SKILL.md

presentation-viewer is a skill for Claude Code, Codex from coderandhiker/copilot-when-to-use-what. It costs 41 tokens per session (713 once invoked), scanned A, original, MIT.

A tool that turns a folder of Markdown slide files into one browser-based slideshow viewer. Markdown is a plain-text format commonly used for structured documents.

In plain words
What is it for?
Use it to create a self-contained HTML viewer with a dark theme, Mermaid diagram support, keyboard navigation, and a slide picker.
Why use it?
It removes the need to assemble and maintain a separate presentation interface for a set of slide files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is coderandhiker/copilot-when-to-use-what's own configuration. It tells Claude Code and Codex how to work on copilot-when-to-use-what itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything copilot-when-to-use-what configures →

Reuse

Borrowing it

Nothing to install: this file belongs to coderandhiker/copilot-when-to-use-what. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/coderandhiker/copilot-when-to-use-what/main/.github/skills/presentation-viewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/coderandhiker/copilot-when-to-use-what

Made for: Claude Code, Codex.

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 presentation-viewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/coderandhiker/copilot-when-to-use-what/presentation-viewer/github.svg)](https://agentmods.dev/skills/coderandhiker/copilot-when-to-use-what/presentation-viewer)
Your own site
<a href="https://agentmods.dev/skills/coderandhiker/copilot-when-to-use-what/presentation-viewer"><img src="https://agentmods.dev/badge/skills/coderandhiker/copilot-when-to-use-what/presentation-viewer/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 presentation-viewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/coderandhiker/copilot-when-to-use-what/presentation-viewer"><img src="https://agentmods.dev/badge/skills/coderandhiker/copilot-when-to-use-what/presentation-viewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 713 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.00041 $0.00713
Opus 5 $0.00020 $0.00357
Sonnet 5 $0.00008 $0.00143
Haiku 4.5 $0.00004 $0.00071

Measured 8d ago against content hash a659b920674e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

presentation-viewer 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 8d 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.

.github/skills/presentation-viewer/SKILL.md · 64 lines

How it starts

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

Presentation Viewer

Build a single self-contained viewer.html from a folder of markdown slide files.

When to use this skill

The user has a folder of numbered markdown files (e.g. slide00.md, slide01.md, …) and wants a browser-based slide deck generated from them.

Inputs

  1. Slide folder — path to the directory containing markdown slides (default: presentation/).
  2. Output path — where to write viewer.html (default: project root).
  3. Presentation title — used for the HTML <title> tag, extracted from the first # heading in slide 00 if not specified.

Steps

1. Discover slides

  • List the slide folder.
  • Collect all .md files, sorted in natural order (slide00, slide01, … slide99, then any non-numbered files like sources.md last).
  • Read every file's full content.

2. Extract titles for the slide picker

For each slide, derive a short title:

  • Use the first # heading text in the file.
  • If index is known, prefix with the number: "0 — Title", "1 — The Problem", etc.
  • For non-numbered files, use the heading alone: "Sources & Further Reading".

3. Generate viewer.html

Produce a single HTML file following the exact template in template.html (in this skill folder). The only things that change between presentations are:

Placeholder What to insert
{{TITLE}} Presentation title for the <title> tag
{{SLIDES_JS}} One slides.push(\…`);call per slide, with the raw markdown embedded as a JS template literal (backtick-delimited). Escape any backticks in the markdown as\`and any${as${`.
{{TITLES_JS}} The const titles = [...] array of picker labels.

Do NOT modify the CSS, the JavaScript engine, or the CDN imports. The template is the source of truth.

4. Verify

After creating the file, confirm:

  • The file is valid HTML (no unclosed tags).
  • Every slide's markdown is present in the JS array.
  • The titles array length matches the slides array length.

Read the full file on GitHub · 64 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 64 lines · 41 tokens per session scan A a659b920674e

Subscribe to this mod's changes

presentation-viewer is a skill published in the GitHub repository coderandhiker/copilot-when-to-use-what (1 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 713 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

feature-demo-recording

Record a demo video of a web feature from a real browser. Two modes -- a NARRATED film where measured voiceover drives the timeline (designed slides, subtitles, punch-in camera, rendered from an HTML timeline), and a SILENT evidence clip for a PR or a QA pass. Use when the user asks to record a video, demo, or screen…

kirodotdev/KiroCrew · 90 tokens

browser-video-recording

Create polished 60 fps 4:3 4K browser screen-recording style videos from Codex in-app browser captures, with browser-only crop, natural macOS cursor styling, deliberate click choreography, zoom-follow framing, ffprobe/thumbnail verification, and optional native recording compatibility checks. Use when the user asks to…

MengTo/Skills · 114 tokens

html-to-video-pipeline

Reliable HTML-to-MP4 rendering via headless browser recording (Playwright/Puppeteer) + ffmpeg — the ordering, gotchas, and verification steps you MUST get right or the output silently rots. Trigger whenever the user is building or debugging any pipeline that turns an HTML/CSS/JS page (single-file, multi-composition…

XiaomiMiMo/MiMo-Code · 0 tokens

record-video

Record and upload a short browser interaction video artifact.

ColeMurray/background-agents · 12 tokens

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

digitalsamba/claude-code-video-toolkit · 53 tokens

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

calesthio/OpenMontage · 53 tokens