html-slides

html-slides is a skill for Claude Code, Codex from proyecto26/slides-ai-plugin. It costs 121 tokens per session (2,665 once invoked), scanned A, original, MIT.

A tool for creating animated, interactive presentations as one self-contained HTML file that runs in a web browser.

In plain words
What is it for?
Use it to create browser-based slide decks, animated presentations, interactive web slides, or HTML versions of presentations.
Why use it?
It avoids build tools and external runtime dependencies while keeping slides fitted to different screen sizes.

Skill for Claude CodeCodex

Part of the slides-ai-plugin plugin — 3 skills shipped together

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 skills/proyecto26/slides-ai-plugin/html-slides
Any agent
npx skills add proyecto26/slides-ai-plugin --skill html-slides
Clone the repo
git clone --depth 1 https://github.com/proyecto26/slides-ai-plugin

Made for: Claude Code, Codex.

Or install slides-ai-plugin, the plugin that ships this one along with the rest of its 3 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 html-slides

README.md
[![agentmods](https://agentmods.dev/badge/skills/proyecto26/slides-ai-plugin/html-slides.svg)](https://agentmods.dev/skills/proyecto26/slides-ai-plugin/html-slides)
Your own site
<a href="https://agentmods.dev/skills/proyecto26/slides-ai-plugin/html-slides"><img src="https://agentmods.dev/badge/skills/proyecto26/slides-ai-plugin/html-slides.svg" alt="Measured on agentmods" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,665 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.00121 $0.02665
Opus 5 $0.00060 $0.01333
Sonnet 5 $0.00024 $0.00533
Haiku 4.5 $0.00012 $0.00266

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

Security

Grade A, and why

html-slides 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/extract-pptx.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/html-slides/SKILL.md · 258 lines

How it starts

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

HTML Slides — Animated, Viewport-Fitted Presentations

Generate single-file, self-contained HTML presentations with professional animations, responsive viewport fitting, and curated style presets. Zero external dependencies at runtime — all CSS/JS inline.

Architecture

Every HTML presentation follows this structure:

  1. Single file — One .html file with inline CSS and JS (no build tools)
  2. Viewport fitted — Each slide locks to 100vh/100dvh with overflow: hidden
  3. CSS custom properties — All theming via :root variables for easy restyling
  4. Semantic HTML<section> per slide, <nav> for controls
  5. Progressive enhancement — Works without JS, animations enhance with JS

Mandatory Viewport Rules

Apply the viewport base CSS from assets/viewport-base.css to EVERY presentation. Key rules:

  • Every slide: height: 100vh; height: 100dvh; overflow: hidden
  • All typography uses clamp(min, preferred, max) for responsive scaling
  • Images constrained to min(50vh, 400px) max height
  • Responsive breakpoints at 700px, 600px, 500px heights
  • prefers-reduced-motion support included
  • Grid fallback: grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr))

Never allow scrolling within a slide. If content exceeds capacity, split across multiple slides.

Edge Case: Negative Clamp Values Use calc(-1 * clamp(...)) when you need negative viewport-edge spacing (e.g., negative margins, negative padding). This pattern preserves the clamp function's responsiveness while inverting the value.

iOS Safari 100vh Bug The 100vh unit in iOS Safari includes the address bar, causing content to overflow. Always pair 100vh with 100dvh (dynamic viewport height) in fallback chains. Modern viewports ignore 100vh if 100dvh is present.

Animation System

CSS-First Approach (Default)

Use CSS animations as the baseline. Apply .reveal class with staggered transition-delay:

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

Read the full file on GitHub · 258 lines

Files

What ships with it

4 files 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. 4d ago First seen · 258 lines · 121 tokens per session scan A 9c1ab0963ad8

Subscribe to this mod's changes

html-slides is a skill published in the GitHub repository proyecto26/slides-ai-plugin (37 stars, last pushed 4mo ago), licensed MIT. It adds 121 tokens to every session and 2,665 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

fec-svg-animation

用于实现或审查 SVG 动画、路径绘制、图标动效、Logo 动画、插画动效、微交互、CSS/SMIL/Framer Motion/GSAP 选型、动效无障碍或降级行为;中文触发词包括 SVG 动画、路径描边、动效。.

bovinphang/frontend-craft · 76 tokens

fec-web-video-presentation

用于将文章、演讲稿、课程、产品演示或口播解释转成可录制的 16:9 网页演示,包含步骤驱动场景、可选口播对齐、主题 Token 与录屏指导;中文触发词包括 网页视频、动态演示、口播稿转视频、可录屏演示、16:9 演示。.

bovinphang/frontend-craft · 91 tokens

card-skill

Render text and evidence into polished, shareable PNG visuals with one consistent Kenny Style visual grammar. Use this skill whenever the user asks to turn words, notes, articles, quotes, arguments, stories, open-source repository or tool material, technical commands/workflows, explicit WeChat Reading…

KKenny0/card-skill · 324 tokens

goldfinger

中文网文金手指(外挂/系统)设计。当用户要设计系统流、签到流、空间流、模拟器、重生先知、扮猪吃老虎等核心设定,或要给主角一个变强机制时使用。产出有门槛、有成长曲线、有代价、与主线绑定的金手指方案。.

tance-mang/chinese-webnovel-skills · 83 tokens

script

写剧本(竖屏短剧/影视/广播剧),按正规剧本格式。当用户要写剧本、短剧、分集剧本、把小说改成剧本、写台词本、或问剧本怎么写/格式怎么排时使用。默认竖屏短剧写法,只写镜头能拍到的(动作/对白/音效),不写心理描写,每集强卡点。.

tance-mang/chinese-webnovel-skills · 97 tokens

fanfic

中文同人文创作与版权合规检测。当用户要写同人文(影视/动漫/小说/游戏 IP 衍生)、问某个同人能不能商用签约、做同人版权风险检测、或需要安全改写规避侵权时使用。结合各平台同人政策给创作方案和合规校验。.

tance-mang/chinese-webnovel-skills · 81 tokens