Agent skill

Deck Generator

by ericosiu in ericosiu/ai-marketing-skills

Generate professional presentations with AI-generated images.

MITAuto-check passedDocuments & Office

Install Deck Generator

skills CLI
$ npx skills add ericosiu/ai-marketing-skills --skill deck-generator -a claude-code

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

GitHub CLI
$ gh skill install ericosiu/ai-marketing-skills deck-generator --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/ericosiu/ai-marketing-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/deck-generator .claude/skills/deck-generator && 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
deck-generator
GitHub stars
3.6k
Used in
1 other repo
Token cost
~909 tokens
SKILL.md length
296 words
Files
4 (incl. scripts)
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

Generate professional presentations with AI-generated images.

  • Works in 4 steps: Content Spec → Style Selection → Generate → …
  • Asked to create a deck
  • SKILL.md covers Quick Start, Workflow, Key Details and Content JSON Format, plus 1 more section
  • Runs Python scripts from its folder; calls python3; needs GEMINI_API_KEY and GOOGLE_APPLICATION_CREDENTIALS

What it does

Deck Generator is an agent skill from ericosiu/ai-marketing-skills. Generate professional presentations with AI-generated images. Use when asked to create a deck, presentation, pitch deck, or slides. Supports style presets (whiteboard, corporate, minimalist, etc). Uses Imagen 4.0 API for image generation and Google Slides API for assembly. Produces full decks from markdown content specs in minutes.

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `README.md` and `scripts/generate-deck.py`).

It sits in Documents & Office, covering Slides and decks and Cloud office suites. It works with Google Slides. The repository describes itself as: Open-source AI marketing skills — growth experiments, sales pipeline, content ops, outbound, SEO, and finance automation. The licence is MIT.

When your agent uses it

  • Asked to create a deck
  • Tasks that involve Slides and decks
  • Tasks that involve Cloud office suites

Example prompts

  • “/deck-generator”

Requirements

  • Python 3
  • A credential in GEMINI_API_KEY

Workflow steps

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

  1. Content Spec
  2. Style Selection
  3. Generate
  4. Review & Iterate

What it can do on your machine

Read from SKILL.md and the folder at commit 8088e1a. 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

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    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 these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY
    • GOOGLE_APPLICATION_CREDENTIALS

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

Context cost

Deck Generator loads about 909 tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 296 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~909

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); the scripts in this folder are not scanned.

SKILL.md

The full file from ericosiu/ai-marketing-skills at commit 8088e1a, republished under its MIT licence (© ericosiu). 296 words, ~909 tokens.

Download SKILL.mdSave it as .claude/skills/deck-generator/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
deck-generator
description
Generate professional presentations with AI-generated images. Use when asked to create a deck, presentation, pitch deck, or slides. Supports style presets (whiteboard, corporate, minimalist, etc). Uses Imagen 4.0 API for image generation and Google Slides API for assembly. Produces full decks from markdown content specs in minutes.

Deck Generator

Generate complete presentations where every slide is an AI-generated image in a consistent visual style.

Quick Start

  1. Read the content spec (user provides slide content or a markdown file)
  2. Read references/styles.md to pick or customize a visual style
  3. Run scripts/generate-deck.py with content + style

Workflow

Step 1: Content Spec

Accept slide content in any format. Normalize to this structure per slide:

  • Title: Bold headline
  • Body: Key points, stats, or narrative
  • Visual cues: Icons, diagrams, layouts described in words

If user provides a markdown file with --- separators, parse each section as a slide. If user provides a topic only, generate 10-14 slides following standard deck structures.

Step 2: Style Selection

Available style presets:

StyleDescription
whiteboardHand-drawn sketch on white. Black ink, orange accents.
corporateNavy/white/gold. Clean sans-serif. Professional.
minimalistPure white, electric blue accent. Maximum negative space.
dark-techNear-black background, neon green. Terminal aesthetic.
playfulBright pastels, rounded shapes. Modern startup vibe.
editorialBlack/white with red spot color. Magazine aesthetic.

Default: whiteboard. User can specify any preset or describe a custom style.

Step 3: Generate
bash
# Set your API key
export GEMINI_API_KEY="your-gemini-api-key"

# Run the generator
python3 scripts/generate-deck.py \
  --content slides.json \
  --style whiteboard \
  --title "Deck Title" \
  [--output-dir ./output] \
  [--aspect 16:9]

The script:

  1. Generates each slide image via Imagen 4.0 API
  2. Saves all images to the output directory
  3. Optionally creates a Google Slides presentation (requires Google Slides API credentials)
  4. Returns paths to all generated images
Step 4: Review & Iterate

To regenerate individual slides:

bash
python3 scripts/generate-deck.py \
  --content slides.json \
  --style whiteboard \
  --slides 3,7 \
  --output-dir ./output

Key Details

  • Cost: ~4 cents per image. A 14-slide deck costs roughly 56 cents in API calls.
  • Speed: ~2 minutes for 14 slides.
  • API: Imagen 4.0 via Google's Generative Language API
  • Auth: Set $GEMINI_API_KEY environment variable
  • Aspect ratios: 16:9 (default), 1:1, 4:3, 3:4, 9:16
  • Image models: imagen-4.0-generate-001 (best quality), imagen-4.0-fast-generate-001 (faster)

Content JSON Format

json
[
  {"name": "01-title", "prompt": "Title slide: 'Your Deck Title' with company logo placeholder"},
  {"name": "02-problem", "prompt": "Problem slide showing frustrated marketer staring at dashboard with declining metrics"},
  {"name": "03-solution", "prompt": "Solution slide: AI agent workflow diagram with 3 connected boxes"}
]

Google Slides Integration (Optional)

To automatically create a Google Slides presentation, set up Google Slides API credentials:

bash
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"
python3 scripts/generate-deck.py \
  --content slides.json \
  --style whiteboard \
  --title "My Deck" \
  --google-slides \
  --google-account your-email@example.com

© ericosiu, MIT. 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 3 other files (scripts) in deck-generator of ericosiu/ai-marketing-skills.

  • SKILL.md
  • README.md
  • requirements.txt
  • scripts/generate-deck.py

Open the folder on GitHubat commit 8088e1a

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in ericosiu/ai-marketing-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Deck Generator 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.

Deck Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Deck Generator this skillericosiu/ai-marketing-skills3.6k1 repos~909Automated safety check: PassMIT
Gslides Add Newslselector/seminar164—~1.1kAutomated safety check: PassNone
Gslides Update Aa Indexlselector/seminar164—~703Automated safety check: PassNone
Gslides Update Hiringlselector/seminar164—~956Automated safety check: PassNone
Gslides Update Layoffslselector/seminar164—~757Automated safety check: PassNone
Chart To Driveai-analyst-lab/ai-analyst304—~1.4kAutomated safety check: PassMIT

Similar skills

  • Gslides Add News

    lselector/seminar

    Find this week's most important AI news and add it as new topics to the live Google Slides seminar deck (YYYY-MM-DD-AI-News), without ever re-adding a topic the author parked or deleted, and without…

    164 GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Gslides Update Aa Index

    lselector/seminar

    Refresh the Artificial Analysis Intelligence Index slide of the live Google Slides seminar deck with a new screenshot of the Cost per Intelligence Index Task chart, today's date in its date box…

    164 GitHub stars~703 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Gslides Update Hiring

    lselector/seminar

    Refresh the Tech Hiring slide of the live Google Slides seminar deck - software job postings statistics from Indeed via FRED (read by the script), plus the skills and qualifications in demand this…

    164 GitHub stars~956 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Gslides Update Layoffs

    lselector/seminar

    Refresh the Jobs and Layoffs slide of the live Google Slides seminar deck with current totals from layoffs.fyi and TrueUp, today's date, and new screenshots of both layoff charts.

    164 GitHub stars~757 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Chart To Drive

    ai-analyst-lab/ai-analyst

    Standardized workflow for uploading local chart PNGs to Google Drive and making them available for insertion into Google Docs and Slides.

    304 GitHub stars~1.4k tokensUpdated 6 days ago
    Documents & OfficeAuto-check passed
  • Gslides Update Toc

    lselector/seminar

    Rebuild the table of contents on the first slide of the live Google Slides seminar deck from the slides as they are now, and write the week's epigraph if its placeholder is still empty.

    164 GitHub stars~1.2k tokensUpdated today
    Documents & OfficeAuto-check passed

More from ericosiu/ai-marketing-skills

All 21 skills in this repo
  • Expert Panel

    ericosiu/ai-marketing-skills

    Score, evaluate, and iteratively improve any content or strategy using an auto-assembled panel of domain experts.

    3.6k GitHub starsUsed in 2 repos~2.1k tokens
    Auto-check passed
  • Cold Outbound Optimizer

    ericosiu/ai-marketing-skills

    Design, analyze, and optimize cold outbound email campaigns for Instantly.

    3.6k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Finance Ops

    ericosiu/ai-marketing-skills

    AI-powered financial analysis suite. An agent skill from ericosiu/ai-marketing-skills.

    3.6k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Leveling Up Content Engine

    ericosiu/ai-marketing-skills

    Diagnose and transform any authorized video URL, upload, recording, transcript, podcast, interview, presentation, screen recording, webinar, ad, or published video into the strongest justified…

    3.6k GitHub stars~2.3k tokensUpdated 14 days ago
    Auto-check passed
  • Net New Video Editor

    ericosiu/ai-marketing-skills

    Turn newly recorded talking-head footage into review-ready vertical video drafts with an explicit edit plan, deterministic FFmpeg rendering, captions, hook cards, audio normalization, and visual QA.

    3.6k GitHub stars~1.1k tokensUpdated 14 days ago
    Auto-check passed
  • Packaging Youtube Thumbnails

    ericosiu/ai-marketing-skills

    A skill your agent uses when a user supplies new video content or a channel and wants on-brand YouTube titles, thumbnail concepts, rendered variants, A/B packaging, identity profiling, precise…

    3.6k GitHub stars~3.8k tokensUpdated 14 days ago
    Auto-check passed

Works with

Questions about Deck Generator

What does Deck Generator do?

Generate professional presentations with AI-generated images. Deck Generator is an agent skill from ericosiu/ai-marketing-skills. Generate professional presentations with AI-generated images.

When should I use Deck Generator?

Deck Generator fits situations like: asked to create a deck; tasks that involve Slides and decks; tasks that involve Cloud office suites.

How do I install Deck Generator in Claude Code?

Run `npx skills add ericosiu/ai-marketing-skills --skill deck-generator -a claude-code`. Or copy the skill folder (deck-generator in ericosiu/ai-marketing-skills) into .claude/skills/deck-generator in your project. Claude Code loads it when a task matches its description.

How do I install Deck Generator in Codex?

Run `npx skills add ericosiu/ai-marketing-skills --skill deck-generator -a codex`. Or copy the skill folder (deck-generator in ericosiu/ai-marketing-skills) into .agents/skills/deck-generator in your project. Codex loads it when a task matches its description.

Can I use Deck Generator 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 ericosiu/ai-marketing-skills --skill deck-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/deck-generator, .gemini/skills/deck-generator, .github/skills/deck-generator and .opencode/skills/deck-generator in your project.

What does Deck Generator need to run?

Going by SKILL.md and its folder, Deck Generator needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named GEMINI_API_KEY and GOOGLE_APPLICATION_CREDENTIALS. Our summary lists: Python 3; A credential in GEMINI_API_KEY.

Does Deck Generator 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 Deck Generator 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Deck Generator use?

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

How many tokens does Deck Generator use?

About 909 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Deck Generator?

Skills that share tags, products or a category with Deck Generator: Gslides Add News (lselector/seminar, 164 stars), Gslides Update Aa Index (lselector/seminar, 164 stars), Gslides Update Hiring (lselector/seminar, 164 stars) and Gslides Update Layoffs (lselector/seminar, 164 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Deck Generator?

ericosiu (a GitHub user) maintains it in ericosiu/ai-marketing-skills, which has 3,611 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on September 22, 2026.

Source: ericosiu/ai-marketing-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.