marp-cli for Openclaw

A versatile command-line utility that transforms Markdown documents into professional presentation decks across multiple formats.

killgfat
v0.0.1
Feb 10, 2026
1
2.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install marp-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install marp-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is marp-cli?

Marp CLI is the primary interface for the Marp (Markdown Presentation Ecosystem), designed to bridge the gap between simple text editing and high-quality presentation delivery. By utilizing Openclaw Skills, developers can treat their presentations as code, allowing for version-controlled slide decks that are easy to update and share. The tool supports rendering Markdown into interactive HTML, print-ready PDFs, PowerPoint files, and static images, ensuring compatibility with any presentation environment.

Built for speed and flexibility, this skill allows users to focus on content using standard Markdown syntax while the CLI handles the complex layout and styling. Whether you are building internal documentation or preparing for a conference, Marp CLI provides a streamlined path from a single text file to a polished visual asset.

marp-cli Use Cases

  • Creating slide decks directly from documentation using Openclaw Skills workflows.
  • Generating automated PDF or PowerPoint exports for recurring project status reports.
  • Producing high-resolution social media preview images (OG images) from presentation title slides.
  • Hosting a local presentation server that dynamically converts Markdown files for browser viewing.
  • Synchronizing speaker notes into text files or PDF annotations for professional presentations.

How marp-cli Works

  1. The user initializes a Markdown file with Marp metadata to define slide boundaries and styles.
  2. Marp CLI reads the source Markdown and applies the selected engine or template to render the content.
  3. For formats like PDF, PPTX, and images, the tool utilizes a headless browser (Chrome, Edge, or Firefox) to perform high-fidelity rendering.
  4. Output files are generated in the specified directory, with optional support for scaling images or adding PDF outlines.
  5. When integrated with Openclaw Skills, the conversion can be automated based on file changes or triggered via CLI commands.

marp-cli Setup

To get started with Marp CLI, ensure you have a compatible browser installed. You can then execute standard conversion commands within your Openclaw Skills environment:

# Convert to HTML (default)
marp slide-deck.md

# Convert to PDF with presenter notes
marp --pdf --pdf-notes slide-deck.md

# Export the title slide as a high-resolution PNG
marp slide-deck.md -o title.png --image-scale 2

marp-cli Data Schema & Taxonomy

Marp CLI organizes data through a simple input-output relationship based on the following taxonomy:

Component Description
Input Source Markdown (.md) files using Marp-specific YAML headers and --- delimiters
Web Outputs Standard HTML5 presentations using the Bespoke.js template engine
Document Outputs PDF files with optional outlines and speaker note annotations
Presentation Outputs PPTX files (PowerPoint), including experimental support for editable formats
Asset Outputs PNG and JPEG image sequences representing individual slides

marp-cli Advanced Features

  • Watch Mode: Automatically re-generates presentation files whenever the source Markdown is saved using the -w flag.
  • Server Mode: Launches a local server via marp -s to browse and preview a directory of Markdown files as slides.
  • Parallel Conversion: Utilizes multi-core processing with -P to handle bulk conversion of entire directories efficiently.
  • PDF Outlines & Notes: Enhances exported documents with interactive bookmarks and presenter annotations.
  • Custom Template Support: Allows power users to swap the default HTML rendering engine for specialized presentation frameworks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0