slide

by BytesAgain

Create and manage presentation slides using JSONL storage. Use when building slide decks, applying themes, or exporting to HTML presentations.

View Chinese version with editor review

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/ckchzh/slide

文档

Slide — Presentation Slide Builder

Create, edit, and manage presentation slide decks stored in a local JSONL backend. Supports themes, templates, speaker notes, reordering, outlining, and HTML export.

Prerequisites

  • Python 3.8+
  • bash shell
  • No external dependencies required

Data Storage

All slide data is stored in ~/.slide/data.jsonl. Each line is a JSON object representing either a deck or an individual slide. The tool auto-creates the directory and file on first use.

Commands

CommandDescriptionUsage
createCreate a new slide deck with a titlecreate TITLE [--author AUTHOR] [--description DESC]
addAdd a new slide to an existing deckadd DECK_ID --title TITLE [--content TEXT] [--layout TYPE]
editEdit a slide's title, content, or layoutedit SLIDE_ID [--title T] [--content C] [--layout L]
reorderMove a slide to a new position within its deckreorder SLIDE_ID --position N
themeApply or view a theme for a decktheme DECK_ID [--set THEME_NAME] [--list]
outlineShow a text outline of all slides in a deckoutline DECK_ID
exportExport a deck to HTML or JSONexport DECK_ID [--format html|json] [--output FILE]
previewGenerate a quick text preview of a slidepreview SLIDE_ID
listList all decks or slides within a decklist [--deck DECK_ID] [--limit N]
templateList built-in templates or apply one to a new decktemplate [--apply NAME] [--list]
notesAdd or view speaker notes for a slidenotes SLIDE_ID [--set TEXT]
helpShow usage informationhelp
versionShow version numberversion

Examples

bash
# Create a new deck
bash scripts/script.sh create "Quarterly Review" --author "Kelly"

# Add a title slide
bash scripts/script.sh add deck_abc --title "Welcome" --content "Q1 2026 Results" --layout title

# Edit slide content
bash scripts/script.sh edit slide_xyz --content "Updated revenue figures"

# Reorder a slide to position 3
bash scripts/script.sh reorder slide_xyz --position 3

# Apply a theme
bash scripts/script.sh theme deck_abc --set dark

# Show outline
bash scripts/script.sh outline deck_abc

# Add speaker notes
bash scripts/script.sh notes slide_xyz --set "Mention customer growth"

# Export deck to HTML
bash scripts/script.sh export deck_abc --format html --output presentation.html

# List available templates
bash scripts/script.sh template --list

Output Format

All commands output structured JSON to stdout. The export --format html command outputs a self-contained HTML file with embedded CSS and JavaScript for presentation mode.

Slide Layouts

Built-in layout types: title, content, two-column, image, blank, section-header.

Themes

Built-in themes: default, dark, light, corporate, creative, minimal.

Templates

Built-in templates: blank, pitch-deck, quarterly-review, project-proposal, workshop.

Notes

  • Deck IDs are prefixed with deck_ and slide IDs with slide_.
  • Slides maintain an order field for sequencing within a deck.
  • The HTML export includes keyboard navigation (arrow keys) and fullscreen mode.

Powered by BytesAgain | bytesagain.com | hello@bytesagain.com