Graphic Recording Generation

VerifiedSafe

This skill generates hand-drawn visual note illustrations from slide content or screenshots, using the Gemini API. It extracts theme colors from the deck configuration, constructs a prompt, and produces an image in graphic recording style. Helpful for transforming text-heavy slides into engaging visual summaries without manual design work.

Sby Skills Guide Bot
ContentIntermediate
6/2/2026
Claude Code
#graphic-recording#visual-notes#image-generation#slide-content

Recommended for

Automated summary

Generates hand-drawn visual note illustrations from slide content and inserts them into MDX files using the Gemini API.

Strengths

  • Automatically extracts slide text and theme colors for consistent styling.
  • Supports both text-based and screenshot-based content extraction.
  • Saves images to the correct assets directory and inserts them with proper MDX formatting.

Limitations

  • Requires a GEMINI_API_KEY to be set in the environment.
  • Screenshot method requires a running development server.
  • Only supports the Gemini 3.1 Flash image model.
When to use it

When you want to create engaging graphic recording style visuals from presentation slides with minimal manual effort.

When not to use it

When you need photorealistic images or complex compositions beyond hand-drawn visual notes.

Security analysis

Safe
Quality score85/100

The skill runs predefined scripts via npx tsx for screenshot capture and Gemini image generation, using environment variables for API keys. It does not exfiltrate data, run destructive commands, or disable safety features. All file operations are within expected deck directories. No injection or risky patterns.

No concerns found

How this analysis is made

Examples

Create graphic recording for first slide
グラレコを生成して。デッキは product-launch、スライド1の内容をグラレコ風にして挿入して。
Generate visual notes from current slide screenshot
Take a screenshot of the current slide in deck 'tech-talk' and generate a graphic recording style image, then insert it.
Graphic recording for topic 'architecture'
Run graphic recording for the 'architecture' section of my 'system-design' deck.

name: graphic-recording description: | Graphic recording style image generation skill. Takes slide text or screenshots as input, generates a hand-drawn visual note illustration that follows the deck's theme colors, saves it to the deck's assets directory, and inserts it into the MDX file. Uses Gemini API (gemini-3.1-flash-image-preview). Triggers: "グラレコ", "グラフィックレコーディング", "graphic recording", "グラレコ風", "グラレコを生成" allowed-tools:

  • Bash
  • Read
  • Write
  • Edit
  • Glob
  • Grep

graphic-recording Skill

Generate graphic recording style visual note illustrations from slide content. Reuses the nanobanana-image skill's generation scripts.

Prerequisites

  • GEMINI_API_KEY set in .env.local

Workflow

Step 1: Identify Target Slide

Determine from user request:

  1. Target deck: directory name under decks/
  2. Source slide: which MDX file's content to visualize
  3. Insertion target: same slide or a different one

Ask if unclear.

Step 2: Extract Slide Content

Method A: Text-based (preferred) Read the target MDX file and extract text content.

Method B: Screenshot-based If dev server is running, capture the slide and analyze visually:

npx tsx .claude/skills/nanobanana-image/scripts/capture-slide.ts \
  --deck <deck-name> \
  --slide <0-indexed> \
  --output /tmp/slide-capture.png

Step 3: Extract Theme Colors

Read the deck's deck.config.ts and extract:

  • primary — main color (headings, emphasis borders)
  • accent — accent color (highlights, arrows)
  • background — background color
  • text — body text color
  • surface — surface color (card backgrounds)

Step 4: Build Prompt

Combine slide text content and theme colors into a graphic recording style prompt.

See references/prompt-guide.md for prompt construction guidelines.

Always present the prompt to the user for confirmation before generating.

Step 5: Generate Image

Use the nanobanana-image generation script:

npx tsx .claude/skills/nanobanana-image/scripts/generate-image.ts \
  --prompt "<constructed prompt>" \
  --output "decks/<deck>/assets/<filename>.png" \
  --aspect-ratio 16:9 \
  --resolution 2K
  • Default aspect ratio: 16:9 (full-width slide usage)
  • Filename: graphic-recording-<topic>.png (kebab-case English)

Step 6: Insert into MDX

<img src="./assets/<filename>.png" alt="..." style={{ width: "100%", borderRadius: "0.8rem" }} />
  • Use relative path ./assets/ (resolveAssetPaths() auto-converts)
  • Adjust width and placement based on slide layout

Step 7: Report Results

  • Generated image file path
  • Prompt used
  • How to verify on dev server

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/graphic-recording-generation-mma3jr28/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/graphic-recording-generation-mma3jr28' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/graphic-recording-generation-mma3jr28/download' --output '.skill-downloads/graphic-recording-generation-mma3jr28/SKILL.md.part' && mv '.skill-downloads/graphic-recording-generation-mma3jr28/SKILL.md.part' '.skill-downloads/graphic-recording-generation-mma3jr28/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Original excerpt: Prerequisites
  • GEMINI_API_KEY set in .env.local

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/graphic-recording-generation-mma3jr28/SKILL.md' && test -s '.skill-downloads/graphic-recording-generation-mma3jr28/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/graphic-recording' && cp -R '.skill-downloads/graphic-recording-generation-mma3jr28' '.claude/skills/graphic-recording'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/graphic-recording-generation-mma3jr28'

openskills read 'graphic-recording-generation-mma3jr28'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/graphic-recording-generation-mma3jr28/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills