Agent skill

Simple Deck

by sanqiufong in sanqiufong/slides-from-anything

Single-file horizontal-swipe HTML deck. An agent skill from sanqiufong/slides-from-anything.

Apache-2.0Auto-check passedDocuments & Office

Install Simple Deck

skills CLI
$ npx skills add sanqiufong/slides-from-anything --skill simple-deck -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sanqiufong/slides-from-anything simple-deck --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sanqiufong/slides-from-anything.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/simple-deck .claude/skills/simple-deck && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
simple-deck
GitHub stars
132
Token cost
~1k tokens
SKILL.md length
403 words
Files
5 (incl. references, assets)
Skills in repo
48
Repo updated
First seen
Licence
Apache-2.0

At a glance

Single-file horizontal-swipe HTML deck. An agent skill from sanqiufong/slides-from-anything.

  • Works in 6 steps: Pre-flight → Copy the seed → Decide slide count + theme rhythm BEFORE… → …
  • Tasks that involve Slides and decks
  • SKILL.md covers Resource map, Workflow and Hard rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Simple Deck is an agent skill from sanqiufong/slides-from-anything. Single-file horizontal-swipe HTML deck. Built by copying the seed assets/template.html (which carries the proven 5-rule iframe nav script) and pasting slide layouts from references/layouts.md. Pitch decks, product overviews, study material — when you don't need the magazine aesthetic of magazine-web-ppt.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files and assets (for example `references/checklist.md` and `references/layouts.md`).

It sits in Documents & Office, covering Slides and decks and Fundraising and pitch decks. The repository describes itself as: Turn anything into slides. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Slides and decks
  • Tasks that involve Fundraising and pitch decks

Example prompts

  • “/simple-deck”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Pre-flight
  2. Copy the seed
  3. Decide slide count + theme rhythm BEFORE writing any slide
  4. Paste and fill
  5. Self-check
  6. Emit the artifact

What it can do on your machine

Read from SKILL.md and the folder at commit 65da4ac. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Simple Deck loads about 1k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 403 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sanqiufong/slides-from-anything at commit 65da4ac, republished under its Apache-2.0 licence (© sanqiufong). 403 words, ~1,048 tokens.

Download SKILL.mdSave it as .claude/skills/simple-deck/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
simple-deck
description
Single-file horizontal-swipe HTML deck. Built by copying the seed `assets/template.html` (which carries the proven 5-rule iframe nav script) and pasting slide layouts from `references/layouts.md`. Pitch decks, product overviews, study material — when you don't need the magazine aesthetic of `magazine-web-ppt`.
triggers
deck, slides, ppt, presentation, 幻灯, ppt 模板
od.mode
deck
od.scenario
product

Simple Deck Skill

Produce a single-file horizontal-swipe HTML deck using the seed and layout library.

Resource map

simple-deck/
├── SKILL.md                ← you're reading this
├── assets/
│   └── template.html       ← seed: tokens + slide primitives + proven nav script (READ FIRST)
└── references/
    ├── layouts.md          ← 8 paste-ready slide layouts + theme-rhythm rules
    └── checklist.md        ← P0/P1/P2 self-review (rhythm spot-check at bottom)

Workflow

Step 0 — Pre-flight
  1. Read assets/template.html end-to-end through the <style> block AND the <script> block. The script solves five iframe-specific bugs (real scroller detection, dual capture-phase listeners, auto-focus, no scrollIntoView, position persistence) — do not rewrite it.
  2. Read references/layouts.md so you know the 8 layouts. Pay special attention to the "Theme rhythm" section — it's the rule that prevents the deck from feeling sleepy.
  3. Read the active DESIGN.md — map its tokens to the six :root variables in the seed.
Step 1 — Copy the seed

Copy assets/template.html to the project root as index.html. Replace the six :root variables with the active design system's tokens. Replace the page <title>.

Step 2 — Decide slide count + theme rhythm BEFORE writing any slide

Default: 6 slides unless the brief says otherwise.

Audience / formatSlides
Product overview / lightning talk (5–10 min)6
Pitch deck (15 min)8–10
Investor update / longer talk (20–30 min)12–18

Then write out the rhythm before any HTML — for example, 8 slides:

01  hero light center  Cover
02  light              Problem
03  hero dark center   Big stat
04  light              Three points
05  dark               Pipeline
06  hero light center  Quote
07  light              Before / after
08  hero dark center   Ask

A healthy sequence has:

  • No 3+ same theme in a row
  • ≥ 1 hero dark AND ≥ 1 hero light (for 8+ slides)
  • Alternating breath every 3–4 slides

Show this rhythm sketch to the user before writing slide HTML — they can redirect cheaply.

Show full SKILL.md (184 more words)Show less
Step 3 — Paste and fill

For each planned slide, copy the matching <section> from layouts.md into the body. Replace bracketed text with real, specific copy. No filler / no lorem. If a slide feels empty, the layout is wrong — pick a different one.

Tag each slide with data-screen-label="01 Cover", "02 Problem", etc., in the order you wrote them. (The seed's first three slides already do this — extend the pattern.)

Step 4 — Self-check

Run through references/checklist.md. The "Theme rhythm spot-check" at the end is non-negotiable:

bash
grep 'class="slide' index.html

Read the resulting class list. If you see light × 4 in a row, swap one to dark. If no hero dark exists in an 8+ slide deck, promote one big-stat or closing slide.

Step 5 — Emit the artifact
<artifact identifier="deck-slug" type="text/html" title="Deck Title">
<!doctype html>
<html>...</html>
</artifact>

One sentence before the artifact. Stop after </artifact>.

Hard rules

  • Theme class on every slide (light | dark | hero light | hero dark). Bare class="slide" = regression.
  • No 3+ same theme in a row.
  • Display = serif via var(--font-display). .h-hero / .h-xl / .h-md already enforce.
  • One accent per slide, used at most twice.
  • Don't rewrite the nav script. It's proven.
  • No scrollIntoView(). Breaks iframe.
  • data-screen-label on every slide.

© sanqiufong, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files (references, assets) in skills/simple-deck of sanqiufong/slides-from-anything.

  • SKILL.md
  • assets/template.html
  • example.html
  • references/checklist.md
  • references/layouts.md

Open the folder on GitHubat commit 65da4ac

Compare with similar skills

Simple Deck next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Simple Deck compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Simple Deck this skillsanqiufong/slides-from-anything132—~1kAutomated safety check: PassApache-2.0
Slideshowchmonitor/chmonitor299—~8.1kAutomated safety check: PassGPL-3.0
Marketing SlidesOpenClaudia/openclaudia-skills711—~1.2kAutomated safety check: PassMIT
Bmad Cis Agent Presentation Masterredhat-cop/vault-config-operator1671 repos~1.1kAutomated safety check: PassApache-2.0
Gammasundial-org/awesome-openclaw-skills663—~948Automated safety check: PassNone
Ib Check Deckinfometa/workbuddyskills344—~999Automated safety check: PassNone

Similar skills

  • Slideshow

    chmonitor/chmonitor

    Author a HyperFrames slideshow composition — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching sequences, and hotspot navigation.

    299 GitHub stars~8.1k tokensUpdated 3 days ago
    Documents & OfficeAuto-check passed
  • Marketing Slides

    OpenClaudia/openclaudia-skills

    Create marketing slides, pitch decks, sales decks, and product presentations.

    711 GitHub stars~1.2k tokensUpdated 20 days ago
    Documents & OfficeAuto-check passed
  • Bmad Cis Agent Presentation Master

    redhat-cop/vault-config-operator

    Visual communication and presentation expert for slide decks, pitch decks, and visual storytelling.

    167 GitHub starsUsed in 1 repo~1.1k tokens
    Documents & OfficeAuto-check passed
  • Gamma

    sundial-org/awesome-openclaw-skills

    Generate AI-powered presentations, documents, and social posts using Gamma.app API.

    663 GitHub stars~948 tokensUpdated 7 mo ago
    Documents & OfficeAuto-check passed
  • Ib Check Deck

    infometa/workbuddyskills

    Investment banking presentation quality checker. An agent skill from infometa/workbuddyskills.

    344 GitHub stars~999 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Form Deck

    jeremylongshore/tons-of-skills-marketplace

    A skill your agent uses when asked to design a pitch deck, presentation, or slide set.

    2.8k GitHub stars~3k tokensUpdated today
    Documents & OfficeAuto-check: notes

More from sanqiufong/slides-from-anything

All 48 skills in this repo
  • PPTX HTML Fidelity Audit

    sanqiufong/slides-from-anything

    Audit a python-pptx export against its source HTML deck, identify layout/content drift (footer overflow, cropped content, missing italic/em, lost styling, off-rhythm spacing), and re-export with…

    132 GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Mobile App

    sanqiufong/slides-from-anything

    A mobile-app screen rendered inside a pixel-accurate iPhone 15 Pro frame on the page.

    132 GitHub starsUsed in 1 repo~942 tokens
    Auto-check passed
  • Replit Deck

    sanqiufong/slides-from-anything

    Single-file horizontal-swipe HTML deck in the style of Replit Slides's landing-page template gallery.

    132 GitHub starsUsed in 1 repo~2.9k tokens
    Auto-check passed
  • Live Artifact

    sanqiufong/slides-from-anything

    Create refreshable, auditable Open Design artifacts backed by connector or local data.

    132 GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Open Design Landing

    sanqiufong/slides-from-anything

    Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own…

    132 GitHub starsUsed in 1 repo~3.3k tokens
    Auto-check passed
  • Web Prototype

    sanqiufong/slides-from-anything

    General-purpose desktop web prototype. An agent skill from sanqiufong/slides-from-anything.

    132 GitHub starsUsed in 3 repos~1k tokens
    Auto-check passed

Questions about Simple Deck

What does Simple Deck do?

Single-file horizontal-swipe HTML deck. An agent skill from sanqiufong/slides-from-anything. Simple Deck is an agent skill from sanqiufong/slides-from-anything. Single-file horizontal-swipe HTML deck.

When should I use Simple Deck?

Simple Deck fits situations like: tasks that involve Slides and decks; tasks that involve Fundraising and pitch decks.

How do I install Simple Deck in Claude Code?

Run `npx skills add sanqiufong/slides-from-anything --skill simple-deck -a claude-code`. Or copy the skill folder (skills/simple-deck in sanqiufong/slides-from-anything) into .claude/skills/simple-deck in your project. Claude Code loads it when a task matches its description.

How do I install Simple Deck in Codex?

Run `npx skills add sanqiufong/slides-from-anything --skill simple-deck -a codex`. Or copy the skill folder (skills/simple-deck in sanqiufong/slides-from-anything) into .agents/skills/simple-deck in your project. Codex loads it when a task matches its description.

Can I use Simple Deck in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sanqiufong/slides-from-anything --skill simple-deck -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/simple-deck, .gemini/skills/simple-deck, .github/skills/simple-deck and .opencode/skills/simple-deck in your project.

What does Simple Deck need to run?

SKILL.md names no scripts, command-line tools or credentials: Simple Deck is instructions for the agent only.

Does Simple Deck access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Simple Deck safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Simple Deck use?

Simple Deck is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Simple Deck use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Simple Deck?

Skills that share tags, products or a category with Simple Deck: Slideshow (chmonitor/chmonitor, 299 stars), Marketing Slides (OpenClaudia/openclaudia-skills, 711 stars), Bmad Cis Agent Presentation Master (redhat-cop/vault-config-operator, 167 stars) and Gamma (sundial-org/awesome-openclaw-skills, 663 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Simple Deck?

sanqiufong (a GitHub user) maintains it in sanqiufong/slides-from-anything, which has 132 GitHub stars. The repository holds 48 skills in this directory. The repository was last updated on October 7, 2026.

Source: sanqiufong/slides-from-anything on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.