agentleFS
masaki39masaki39/marp-mcp/skills/marp/SKILL.md

marp

Skill14 starsChanged 9 months agoMITView on GitHub

Create and edit Marp presentations using marp-mcp CLI. Use when user wants to create slides, manage presentations, or work with Marp markdown files.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. ivanrvpereira/.agents★ 19same name
    2. JoseAI-Automatizaciones/marp-skill★ 2same name
    3. czhmisaka/deepseek-harness-custom★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 7 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create and edit Marp slide decks via the marp-mcp CLI.

    line 9
  2. Distinctive:

    If not installed, use npx:

    line 19
  3. Distinctive:

    Add or update Marp frontmatter fields.

    line 68
  4. Distinctive:

    Create a new Marp presentation with frontmatter and a title slide in one step.

    line 81
  5. Distinctive:

    Read slide content from a Marp file.

    line 115
  6. Very specific:

    Use create to initialize a new presentation in one step, then add slides:

    line 177
  7. Distinctive:

    Follow this order when building a presentation from scratch:

    line 188
  8. Distinctive:

    Add an inline style to any slide to override the font size for the whole presentation:

    line 236
  9. Distinctive:

    Use these tools to add CSS View Transition morphing effects:

    line 246
  10. Very specific:

    Use create for new presentations — it handles frontmatter, title slide, and IDs in one call

    line 269
  11. Very specific:

    Use list-layouts before manage to check available layouts and required parameters

    line 270
  12. Very specific:

    Run generate-ids after adding all initial slides, then use IDs for subsequent edits

    line 271
  13. Very specific:

    When replacing slides, always specify the correct --slide-id (use read to discover IDs)

    line 272
  14. Very specific:

    Use --note to add speaker notes to any slide

    line 273
  15. Very specific:

    Prefer --position after --slide-id <id> for precise slide placement

    line 274
  16. Very specific:

    Use export -f html to preview the presentation in a browser

    line 275

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Marp Presentation Skill

Create and edit Marp slide decks via the marp-mcp CLI.

Installation Check

First, verify the CLI is available:

marp-mcp --version

If not installed, use npx:

npx @masaki39/marp-mcp@latest --version

Available Themes and Styles

  • Theme (-t): Base CSS that defines the slide foundation. Each theme is a standalone CSS file in the repository.
  • Style (-s): Additional CSS layouts and components layered on top of a theme. Styles are designed for the default theme, so -s implies -t default unless explicitly overridden.

Themes

default, gaia, uncover

Styles

StyleDescription
richRich visual style with cards, timelines, grids, gradients, and more
minimalClean, flat design with typography focus and minimal decoration
darkDark mode style with indigo and emerald accents, developer-friendly
corporateProfessional business style with navy color scheme, structured layouts
academicAcademic conference presentation style with maroon color scheme, structured for scholarly talks
techModern tech/startup style with violet-cyan gradient accents, strong typography for product demos and engineering talks

CLI Command Reference

Global Options

  • -t, --theme <name> — Select theme (default: default)
  • -s, --style <name> — Select style (default: default)
  • -V, --version — Show version
  • -h, --help — Show help

Commands

list-layouts

List all available slide layouts (JSON output).

marp-mcp list-layouts
marp-mcp -t gaia list-layouts
marp-mcp -s rich list-layouts

set-frontmatter <file>

Add or update Marp frontmatter fields.

marp-mcp set-frontmatter slides.md --header "My Presentation" --paginate
marp-mcp -s rich set-frontmatter slides.md --header "Research Talk"

Options:

  • --header <text> — Header text
  • --paginate / --no-paginate — Enable or disable pagination

create <file>

Create a new Marp presentation with frontmatter and a title slide in one step.

marp-mcp create slides.md --title "My Talk"
marp-mcp -s tech create slides.md --title "Product Demo" --subtitle "Q3 2025" --slides 5

Options:

  • --title <text> — Presentation title (required)
  • --subtitle <text> — Optional subtitle for the title slide
  • --no-paginate — Disable slide page numbers
  • --slides <n> — Number of blank content placeholder slides to add (default: 0)

manage <file>

Insert, replace, or delete slides using slide IDs.

marp-mcp manage slides.md -l title -p '{"heading":"Hello","content":"World"}'
marp-mcp manage slides.md -l content -p '{"heading":"Agenda","body":"- Item 1\n- Item 2"}' --position after --slide-id <id>
marp-mcp manage slides.md -l content --mode replace --slide-id <id> -p '{"heading":"Updated","body":"New content"}'
marp-mcp manage slides.md --mode delete --slide-id <id>

Options:

  • -l, --layout <type> — Layout type (required for insert/replace)
  • -p, --params <json> — Parameters as JSON string (default: {})
  • -m, --mode <mode> — Operation mode: insert | replace | delete (default: insert)
  • --position <pos> — Position: end | start | after | before (default: end)
  • --slide-id <id> — Target slide ID (required for after, before, replace, delete)
  • --note <text> — Speaker notes

read <file>

Read slide content from a Marp file.

marp-mcp read slides.md
marp-mcp read slides.md --slide-id <id>

Options:

  • --slide-id <id> — Read a specific slide by ID (omit to list all slides with their IDs)

generate-ids <file>

Generate slide IDs for every slide in a Marp markdown file. Safe to run multiple times — existing IDs are never changed.

marp-mcp generate-ids slides.md

export <file>

Export a Marp presentation to HTML or PDF.

marp-mcp export slides.md -f html
marp-mcp export slides.md -f pdf -o /tmp/presentation.pdf

Options:

  • -f, --format <format> — Output format: html | pdf (required)
  • -o, --output <path> — Output file path (default: same directory as input)
  • --allow-local-files — Allow local image file access in HTML export
  • --theme-set <path> — Path to a custom theme CSS file

generate-agenda <file>

Auto-generate an agenda slide from section slides. Inserts the agenda before the first section slide and adds view-transition CSS to frontmatter. HTML export only.

marp-mcp generate-agenda slides.md
marp-mcp generate-agenda slides.md --section-class acad-section --heading "Today's Agenda"

Options:

  • --section-class <class> — CSS class of section slides (default: acad-section)
  • --heading <text> — Agenda slide heading (default: Agenda)

add-image-transition <file>

Insert a full-screen background image slide before a target slide for zoom-in transition effect. HTML export only.

marp-mcp add-image-transition slides.md --slide-id <id> --image-url https://example.com/image.png

Options:

  • --slide-id <id> — Target slide ID (required; use read to discover IDs)
  • --image-url <url> — Image URL or path for the background slide (required)

Workflow

Quick Start (Recommended)

Use create to initialize a new presentation in one step, then add slides:

marp-mcp -s rich create slides.md --title "My Talk" --subtitle "Author · Event" --slides 3
marp-mcp -s rich list-layouts
marp-mcp -s rich manage slides.md -l content --mode replace --slide-id <id> -p '{"heading":"Intro","body":"Hello world"}'
marp-mcp export slides.md -f html

Manual Workflow

Follow this order when building a presentation from scratch:

  1. Set frontmatter — Initialize the file with theme, header, and pagination
    marp-mcp -s rich set-frontmatter slides.md --header "Title" --paginate
  2. Manage slides — Add slides one by one using layouts
    marp-mcp -s rich manage slides.md -l title -p '{"heading":"My Talk","content":"Subtitle"}'
    marp-mcp -s rich manage slides.md -l content -p '{"heading":"Intro","body":"Hello world"}'
  3. Generate IDs — Assign IDs for future editing
    marp-mcp generate-ids slides.md
  4. Edit slides — Use replace/delete modes with slide IDs
    marp-mcp -s rich manage slides.md -l content --mode replace --slide-id <id> -p '{"heading":"Updated","body":"New content"}'
  5. Export — Export to HTML or PDF
    marp-mcp export slides.md -f html

Layout Information

To get available layouts and their parameters, run:

marp-mcp list-layouts

Or with a specific theme/style:

marp-mcp -t <theme> -s <style> list-layouts

!marp-mcp list-layouts``

Tips

Adjusting font size

Add an inline style to any slide to override the font size for the whole presentation:

<style>section { font-size: 1em; }</style>

The academic style sets font-size: 0.95em by default.

Image morphing transitions (HTML only)

Use these tools to add CSS View Transition morphing effects:

  1. Agenda morphing — call generate-agenda to insert an agenda slide and add numbered icons to section slides. The icon morphs between slides in HTML export.

    marp-mcp generate-agenda slides.md
  2. Image morphing — call add-image-transition with the target slide ID and image URL. A full-screen image slide is inserted before the target; both share a view-transition-name so the image morphs (zooms in) when advancing.

    marp-mcp read slides.md                        # get slide IDs
    marp-mcp add-image-transition slides.md --slide-id <id> --image-url https://example.com/img.png

Export as HTML to see transitions:

marp-mcp export slides.md -f html

Best Practices

  • Use create for new presentations — it handles frontmatter, title slide, and IDs in one call
  • Use list-layouts before manage to check available layouts and required parameters
  • Run generate-ids after adding all initial slides, then use IDs for subsequent edits
  • When replacing slides, always specify the correct --slide-id (use read to discover IDs)
  • Use --note to add speaker notes to any slide
  • Prefer --position after --slide-id <id> for precise slide placement
  • Use export -f html to preview the presentation in a browser

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.