Slides logo

Slides

Community
yugasun
slides

Generate high-quality HTML slide presentations with beautiful templates. Make sure to use this skill whenever the user mentions slides, presentation, PPT, deck, keynote, 演示文稿, or 幻灯片 — even if they don't explicitly ask for HTML or templates. This skill handles both polished multi-template workflows and fast self-contained themes. Use it for any request involving creating, building, or generating a presentation regardless of how the request is phrased.

Overview

Publisheryugasun
Repositoryslides-skills
Skill nameslides
Stars
4
Forks
0
Bundled files
123
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 123 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by yugasun on GitHub. Read the source before you install it.

Installation

Install the Slides AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yugasun/slides-skills/tree/main/skills/slides
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yugasun/slides-skills.git /tmp/slides-skills
mkdir -p .claude/skills
cp -r /tmp/slides-skills/skills/slides .claude/skills/slides
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Slides in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Slides on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Slides is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Interactive HTML Slide Generator

Output Directory

Generated decks are saved under ~/slides/<deck-name>/ by default. Before generating, the skill:

  1. Expands ~ to the user's home directory
  2. Creates the output directory if it doesn't exist (mkdir -p)
  3. Creates slides/<deck-name>/previews/ for Workflow A preview files
  4. Creates slides/<deck-name>/ for the final deck

Custom root directory: If the user specifies a path (e.g., "save it to ~/my-decks" or "output to /tmp/slides"), use that instead of the default. Respect the user's intent — don't override a explicitly requested path.

Directory initialization example:

bash
mkdir -p ~/slides/my-deck/previews
mkdir -p ~/slides/my-deck/previews

Two Workflows

This skill supports two workflows:

  • Workflow A — Beautiful HTML Templates (recommended): 32 professionally-designed templates. Best for polished, visually distinctive decks. Asks about occasion and mood, presents 3 candidates, builds from real template HTML/CSS/JS.
  • Workflow B — Built-in CSS Themes: 4 CSS themes (Cyberpunk, Corporate, Minimal, Nature). Fast, self-contained single-file output, no external dependencies.

Default to Workflow A unless the user explicitly asks for a specific theme or wants a minimal/lightweight output.


Workflow A — Beautiful HTML Templates (Recommended)

Step 1 — Clarify Taste

Ask the user two questions before picking any template:

"Two quick questions before I pick a template:

  1. What's the occasion? (e.g. product launch, research talk, brand manifesto, classroom, team review, etc.)
  2. What mood / vibe do you want? (e.g. confident & editorial, warm & playful, dark & moody, quiet & literary, etc.)"

Wait for the user's answer. Do not skip this — the user's stated taste reveals what no inferred brief can.

Step 2 — Read index.json and Shortlist 3 Candidates

Read skills/ppt/beautiful-html-templates/index.json. Match the user's stated occasion + mood against each template's mood, tone, formality, density, and scheme fields.

Pick three templates whose tones genuinely fit and are different enough from each other (e.g., don't pick three editorial templates — pick one editorial, one warmer alternative, and one wildcard).

Step 3 — Build Title-Slide Previews of Each Candidate

For each of the 3 candidates:

  1. Read skills/ppt/beautiful-html-templates/templates/<slug>/template.html
  2. Extract the first slide only (the cover/title slide)
  3. Replace placeholder content with the user's actual topic/title/subtitle/author/date
  4. Save as ~/slides/<deck-name>/previews/01-<slug>.html
  5. Initialize ~/slides/<deck-name>/ for later use

Open each preview with open <path> (macOS) and send the user a message:

"Three options to compare:

  1. — ~/slides/<deck-name>/previews/01-template-a.html
  2. — ~/slides/<deck-name>/previews/02-template-b.html
  3. — ~/slides/<deck-name>/previews/03-template-c.html

Which one feels right?"

Wait for the user to pick.

Step 4 — Build the Full Deck

Once the user picks:

  1. Read skills/ppt/beautiful-html-templates/templates/<slug>/template.html in full
  2. Adapt every slide per the rules in AGENTS.md §3 — preserve the design system, replace placeholder content
  3. Add/remove/split slides to match the user's content outline
  4. If a layout is missing, design it using the template's fonts, color palette, decorative vocabulary, and spacing rhythm — see AGENTS.md §5
  5. Ensure the navigation (keyboard/click) works correctly
  6. Save the final deck as ~/slides/<deck-name>/index.html

Step 5 — Open and Deliver

Open the final deck with open <path>. Send:

"Done. Your deck is at ~/slides/<deck-name>/index.html — opened in your browser."


Workflow B — Built-in CSS Themes (Fallback)

Use this when the user wants a specific theme or a self-contained minimal output.

Theme Selection

ThemeStyleWhen to Use
CyberpunkDark, neon, futuristicDefault — tech, gaming, innovation
CorporateLight, professional, blue/slateBusiness, formal reports
MinimalBlack & white, Swiss styleAcademic, stark, editorial
NatureCream/green, elegant serifWarm, organic, literary

Default to Cyberpunk if no theme is specified.

Assembly Process

  1. Read reference files: the selected CSS theme + templates/template.html + templates/scripts.js + templates/layouts.md
  2. Load Template: Start with template.html
  3. Inject CSS: Replace /* CSS_INJECTION_POINT */ with the selected theme CSS
  4. Inject JS: Replace /* JS_INJECTION_POINT */ with scripts.js, then replace [TOTAL_SLIDES_COUNT] with the actual number
  5. Generate Slides: Create HTML using patterns from layouts.md
  6. Inject Slides: Replace <!-- SLIDES_INJECTION_POINT -->
  7. Save: ~/slides/<deck-name>/index.html

Overflow Prevention (Workflow B)

Slides are fixed 1280×720px. Overflow is hidden and will clip content silently.

ElementMaxIf Exceeded
Bullets5Split into 2 slides
Cards3Use .compact or split
Code lines10Use .scrollable on content-area
Card body2 linesShorten

Rules:

  • Max 5 bullets per slide, each max 1-2 lines
  • Max 3 cards per grid slide
  • Never stack bullets + cards + code on the same slide
  • Use .compact class to reduce font sizes and spacing
  • Prefer splitting over cramming

Template Index Summary

SlugNameMoodScheme
8-bit-orbit8-Bit Orbitretro-tech, playful, cyberpunkdark
biennale-yellowBiennale Yelloweditorial, atmospheric, warmlight
block-frameBlockFrameneobrutalist, pastel-neonmixed
blue-professionalBlue Professionalclean, modern, professionallight
bold-posterBold Postereditorial, massive displaylight
broadsideBroadsidedark editorial, orange accentdark
capsuleCapsulemodular, pastel-poplight
cartesianCartesianquiet, warm, classicallight
cobalt-gridCobalt Gridelectric, graph-paperdark
coralCoralcream/coral, oversized displaydark
creative-modeCreative Modeconfident, multi-colorlight
daisy-daysDaisy Dayscheerful, pastel, hand-drawnlight
editorial-tri-toneEditorial Tri-Tonedusty pink, mustard, burgundylight
groveGroveforest-green, classical serifdark
long-tableLong Tablecream/rust, supper-clublight
matMatdark sage, mid-century moderndark
monochromeMonochromeivory, all-black, literarylight
neo-grid-boldNeo-Grid Boldneo-brutalist, neon yellowlight
peoples-platformPeople's Platformactivist, bold colorslight
pin-and-paperPin & Paperyellow paper, handwrittenlight
pink-scriptPink Scripthot pink, late-night luxurydark
playfulPlayfulsun-warm, indie launchlight
raw-gridRaw Gridneo-brutalist, thick borderslight
retro-windowsRetro WindowsWindows 95, pixel nostalgialight
retro-zineRetro Zineriso-printed, beige/greenlight
sakura-chromaSakura Chromavintage Japanese cassettelight
scatterbrainScatterbrainpost-it, pastel handwritinglight
signalSignalnavy, bone, muted-golddark
soft-editorialSoft Editorialserif, warm paper, sage/blushlight
stencil-tabletStencil & Tabletstencil-cut, earth palettelight
studioStudioblack canvas, electric yellowdark
vellumVellumnavy, yellow italic serifdark

Full details in beautiful-html-templates/index.json.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 63 more files.

Frequently asked questions

What does the Slides AI skill do?

Generate high-quality HTML slide presentations with beautiful templates. Make sure to use this skill whenever the user mentions slides, presentation, PPT, deck, keynote, 演示文稿, or 幻灯片 — even if they don't explicitly ask for HTML or templates. This skill handles both polished multi-template workflows and fast self-contained themes. Use it for any request involving creating, building, or generating a presentation regardless of how the request is phrased.

Why use Slides on TypingMind?

Because you install it once and use it with any model. Slides is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Slides in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yugasun/slides-skills/tree/main/skills/slides. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Slides?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Slides?

As many as you like. As long as a model supports skills, you can use Slides with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Slides AI skill free?

Yes. It is published on GitHub by yugasun under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇