create-theme

create-theme is a skill for Claude Code, Codex from 1weiho/open-slide. It costs 129 tokens per session (3,015 once invoked), scanned A, original, MIT.

A reusable visual style package for presentations, containing written design guidance and a runnable preview. It defines choices such as colors, type styles, layouts, fixed title or footer elements, and motion.

In plain words
What is it for?
Use it to create or extract a presentation theme and save the paired files that the slide authoring tools and theme preview can use.
Why use it?
It keeps slides in the same visual style and lets authors preview that style before using it in a presentation.

Skill for Claude CodeCodex

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/1weiho/open-slide/create-theme
Any agent
npx skills add 1weiho/open-slide --skill create-theme
Clone the repo
git clone --depth 1 https://github.com/1weiho/open-slide

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 create-theme

README.md
[![agentmods](https://agentmods.dev/badge/skills/1weiho/open-slide/create-theme.svg)](https://agentmods.dev/skills/1weiho/open-slide/create-theme)
Your own site
<a href="https://agentmods.dev/skills/1weiho/open-slide/create-theme"><img src="https://agentmods.dev/badge/skills/1weiho/open-slide/create-theme.svg" alt="Measured on agentmods" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,015 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.00129 $0.03015
Opus 5 $0.00064 $0.01507
Sonnet 5 $0.00026 $0.00603
Haiku 4.5 $0.00013 $0.00301

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

Security

Grade A, and why

create-theme 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.

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.

packages/core/skills/create-theme/SKILL.md · 254 lines

How it starts

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

Create a slide theme

This skill produces a theme bundle under themes/: two paired files that together describe a reusable visual identity.

  1. themes/<id>.md — agent-facing documentation: palette, typography, layout, fixed Title/Footer/Eyebrow components, motion. This is what create-slide reads when an author picks the theme.
  2. themes/<id>.demo.tsx — a runnable mini-slide (a normal slide module: export default Page[]) that demonstrates the theme on 2–3 pages. The dev UI's Themes panel loads this file and renders it as the theme's live preview.

Both files share the same stem so the runtime can pair them automatically.

A theme is distinct from a slide's design const. The theme markdown is authoring-time aesthetic direction (copied into a real slide's source by create-slide). The demo .tsx is a self-contained preview, not a real slide — it does not appear in the slides list. A per-slide const design: DesignSystem = { … } (declared at the top of slides/<id>/index.tsx) is the runtime tokens object the user can tweak from the Design panel. The markdown commits the direction; the per-slide design const makes the slide tweakable; the demo .tsx makes the theme previewable.

You only write files under themes/<id>.md and themes/<id>.demo.tsx. Never modify real slides or other configuration. The canvas / type-scale defaults that themes can override live in the slide-authoring skill — read it before writing the theme so your overrides are stated explicitly.

Step 1 — Identify the input source

A theme can be derived from any combination of three input shapes:

  • Image references — paths or URLs to slide screenshots, mood-board images, brand assets.
  • Free-text description — prose describing the desired palette, fonts, feel.
  • An existing slideslides/<id>/index.tsx whose visual identity should be lifted out into a reusable theme.

If the user's original message already specifies the inputs unambiguously, skip the question and proceed. Otherwise call AskUserQuestion (multi-select) so they can pick one or more sources, and ask follow-ups (paths, slide id, prose) only as needed.

Read the full file on GitHub · 254 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. 4d ago First seen · 254 lines · 129 tokens per session scan A d1a056551f50

Subscribe to this mod's changes

create-theme is a skill published in the GitHub repository 1weiho/open-slide (7,375 stars, last pushed today), licensed MIT. It adds 129 tokens to every session and 3,015 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.