No slash command · from kipi-core
Generates modern PDF presentation decks from markdown content using Slidev layouts and Unsplash imagery. A local open-source alternative to Gamma.
Ships in kipi-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn plain markdown into a themed, image-rich slide deck exported as PDF. Closest open-source equivalent to Gamma. Runs locally. No subscription.
---).decisions.json directly using the Write tool. No extra API call.Triggers: "make a deck", "turn this into slides", "slide version of X", "build a presentation from this", "gamma-style deck".
Do NOT invoke for plain editing / rewriting of existing slide content.
Do NOT invoke if the user wants a PPTX specifically (use python-pptx instead).
pnpm on the user's machine. If missing:
brew install node
npm install -g pnpm
.env at the calling instance root:
echo 'UNSPLASH_ACCESS_KEY=<your-key>' >> ./.env
.env. Never paste the key into any file in this skill.decisions.json.bash <skill>/scripts/setup.sh ./deck-workspace
This creates a local Slidev workspace with themes installed. Takes ~1-2 minutes first run. Subsequent runs reuse it.
# 1. Preflight: key + deps must be present
bash <skill>/scripts/check_env.sh ./deck-workspace
# 2. (LLM mode) Claude reads <input.md>, decides layout + image keyword
# per slide, and WRITES ./deck-workspace/decisions.json with the Write
# tool (schema below). Skip this step when running outside Claude.
# 3. Generate Slidev markdown from source
# LLM mode:
python3 <skill>/scripts/generate.py <input.md> ./deck-workspace/slides.raw.md \
--theme seriph --decisions ./deck-workspace/decisions.json
# Rules mode (no decisions file):
python3 <skill>/scripts/generate.py <input.md> ./deck-workspace/slides.raw.md --theme seriph
# 4. Fill image placeholders from Unsplash
python3 <skill>/scripts/fetch_images.py ./deck-workspace/slides.raw.md
# 5. Export PDF
bash <skill>/scripts/render.sh ./deck-workspace ./deck-workspace/slides.raw.md ./deck.pdf
One object per slide, in source order. generate.py validates this file
and exits non-zero on any violation.
[
{"layout": "cover", "image_keyword": "sunrise mountains"},
{"layout": "image-right", "image_keyword": "student classroom"},
{"layout": "center", "image_keyword": null},
{"layout": "end", "image_keyword": null}
]
Rules Claude must follow when writing decisions.json:
layout is one of: cover, center, statement, two-cols, image-right, image-left, quote, end, default.cover.<!-- layout: X --> in the source, use that layout.image_keyword is 1-3 concrete nouns suitable for stock photo search. Required for cover, image-right, image-left. null for every other layout.Good keywords: library books, koi fish, child drawing, mountain sunrise.
Bad keywords: Naruto, loneliness, theme of courage, The Ordinary World.
Slides separated by a line containing only ---. First slide is the cover.
Example:
# Deck Title
Subtitle line.
---
# Second slide
Body content here.
<!-- layout: image-right -->
Anime anchor: Naruto.
---
# Homework
Optional closing text.
See references/layout-catalog.md for the full enum and pick rules.
Force a layout by adding <!-- layout: <name> --> in a slide body.
Use concrete nouns in {{IMG:keyword}} placeholders. 1-3 words.
Good: mountain sunrise, library books, child drawing.
Bad: feeling of wonder, theme of courage (abstract concepts return weak results).
Default: @slidev/theme-seriph (clean serif, modern).
Fallback: @slidev/theme-default (sans-serif, minimal).
Install more themes in the workspace:
cd ./deck-workspace && pnpm add @slidev/theme-<name>
Browse: https://sli.dev/resources/theme-gallery
| Symptom | Fix |
|---|---|
pnpm: command not found | npm install -g pnpm |
UNSPLASH_ACCESS_KEY not set | Add to .env at calling dir |
| Images all say "no image found" | Keywords too abstract. Use concrete nouns. |
| PDF export hangs | First run downloads Chromium. Let it finish. |
| Layout looks wrong | Check <!-- layout: X --> hint or let rules pick |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub assafkip/kipi-system --plugin kipi-core10 skills in this plugin
/architecture-reviewSurfaces architectural friction in real code — shallow modules, tight coupling, untested seams — and proposes deepening refactors using Ousterhout's deep-module principle (small interface hiding a large implementation). Use when the founder says 'architecture review', 'find shallow modules', 'architectural friction', 'deep module analysis', or asks for refactor recommendations on a directory of code. Scope it to actual code (plugins/, q-system/.q-system/scripts/) — not markdown rules, canonical files, or prose./audhd-executive-functionAUDHD executive function accommodations. Apply to all output the founder will act on./founder-voiceFounder voice enforcement for all written output. Apply to any text another person will read./headline-engineeringPlatform-optimized headline and hook engineering for X (Twitter), Reddit, LinkedIn, Medium, Substack. Apply when writing or reviewing any title, tweet, thread opener, Reddit post title, or social hook intended for public publication. Triggers on "write a headline", "draft a tweet", "X thread", "Reddit post", "LinkedIn post", "Medium article", "make this hook stronger", "shorter title", "more clickable", "the title is too long", or any time a draft has a title that will be seen by people outside the company./improveCritique an outside idea (a pasted tip, post, transcript or video summary) against what this system already has. Use when the founder pastes something and asks whether to adopt it, or says 'improve', 'should we do this', 'compare this to what we have'. Grounded by scripts/improve_ground.py in the lessons corpora and named files; returns adopt, skip, or already-built, and NEVER decides what to build, sell or publish./learn-from-correctionPropose a principle edit to a skill or persona file based on a (agent_output, human_output) correction pair. Outputs a proposal markdown for human review - never auto-edits the target file.Other plugins' skills for the same job