Marp Cli

v0.0.1

Convert Markdown to presentations via CLI. Output HTML, PDF, PowerPoint (PPTX), and images (PNG/JPEG).

1· 1.9k·16 current·16 all-time
byKGTAF@killgfat

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for killgfat/marp-cli.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Marp Cli" (killgfat/marp-cli) from ClawHub.
Skill page: https://clawhub.ai/killgfat/marp-cli
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install marp-cli

ClawHub CLI

Package manager switcher

npx clawhub@latest install marp-cli
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Markdown→presentations) aligns with the declared requirement (needs the 'marp' binary) and the SKILL.md commands. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md only instructs running marp CLI commands and documents options (watch, server, --allow-local-files, --browser-path). Those options legitimately expand Marp's capabilities (e.g., server exposes files, --allow-local-files permits local file access). This is expected for a CLI reference but is a user-risk consideration rather than an incoherence.
Install Mechanism
No install spec and no code files — lowest-risk, instruction-only skill. The README suggests standard installation methods (npm, brew, binaries) which are appropriate.
Credentials
No environment variables or credentials are required by the skill. Examples show use of PORT/HOST and --browser-path, which are normal usage patterns and not unexpected secret requests.
Persistence & Privilege
Skill is not always-enabled, does not request persistent privileges, and contains no install-time actions. Autonomous invocation is allowed (platform default) but the skill has no extra persistent access.
Assessment
This skill is a documentation-only wrapper around the Marp CLI — it assumes you already have a legitimate 'marp' binary. Before using: (1) install marp from the official project (npm, Homebrew, or official releases) to avoid malicious binaries; (2) be cautious with server mode and --allow-local-files (they can expose local files or loads of data if served to networks); (3) avoid feeding untrusted Markdown that may reference local resources if you enable local-file access; and (4) ensure your browser executable path is explicit if you have multiple browsers to avoid accidentally invoking an unexpected binary.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

📽️ Clawdis
Any binmarp
latestvk97a127dsezdpwt7nmx8syhkvh80xxe3
1.9kdownloads
1stars
1versions
Updated 2mo ago
v0.0.1
MIT-0

Marp CLI

Convert Markdown to presentations via CLI. Output HTML, PDF, PowerPoint (PPTX), and images (PNG/JPEG).

Browser requirement: Conversions marked with 🌐 require a compatible browser (Chrome, Edge, or Firefox) installed on your system.

Quick Start

# Convert to HTML
marp slide-deck.md

# Convert to PDF (requires browser)
marp --pdf slide-deck.md

# Convert to PowerPoint
marp --pptx slide-deck.md

# Convert to images
marp --images png slide-deck.md

📖 Detailed guide: QUICKSTART.md

Format conversion

HTML

marp slide-deck.md
marp slide-deck.md -o output.html

PDF 🌐

marp --pdf slide-deck.md
marp slide-deck.md -o output.pdf

# With PDF outlines
marp --pdf --pdf-outlines slide-deck.md

# Includes presenter notes as annotations on lower-left
marp --pdf --pdf-notes slide-deck.md

PowerPoint (PPTX) 🌐

marp --pptx slide-deck.md
marp slide-deck.md -o output.pptx

# Editable PPTX (experimental, requires LibreOffice Impress)
marp --pptx --pptx-editable slide-deck.md

Images 🌐

# Multiple images
marp --images png slide-deck.md
marp --images jpeg slide-deck.md

# Title slide image only
marp --image png slide-deck.md
marp slide-deck.md -o output.png

# High resolution (scale factor)
marp slide-deck.md -o title.png --image-scale 2

Presenter notes

marp --notes slide-deck.md
marp slide-deck.md -o output.txt

Watch mode

# Watch file and auto-convert on changes
marp -w slide-deck.md

# Watch with browser preview
marp -w -p slide-deck.md

Server mode

# Serve directory with on-demand conversion
marp -s ./slides

# Specify port via environment
PORT=5000 marp -s ./slides

# Access converted formats via query strings
# http://localhost:8080/deck.md?pdf
# http://localhost:8080/deck.md?pptx

Preview window

# Open preview window (automatically enables watch mode)
marp -p slide-deck.md

# Preview with PDF output
marp -p --pdf slide-deck.md

Multiple files

# Convert multiple files
marp slide1.md slide2.md slide3.md

# Convert directory
marp ./slides/

# Use glob patterns
marp **/*.md

# Convert with parallelism (default: 5 concurrent)
marp -P 10 ./*.md

# Disable parallelism
marp --no-parallel ./*.md

Options

OptionDescription
-o, --output <path>Output file path
-w, --watchWatch mode - auto-convert on changes
-s, --server <dir>Server mode - serve directory
-p, --previewOpen preview window
--pdfConvert to PDF (requires Chrome/Edge/Firefox)
--pptxConvert to PowerPoint PPTX (requires browser)
--pptx-editableGenerate editable PPTX (experimental)
--images [png|jpeg]Convert to multiple images
--imageConvert title slide to single image
--image-scale <factor>Scale factor for images
--notesExport presenter notes to TXT
--pdf-notesAdd PDF note annotations
--pdf-outlinesAdd PDF outlines/bookmarks
--allow-local-filesAllow accessing local files (security note)
--browser <chrome|edge|firefox>Choose browser for conversion
--browser-path <path>Specify browser executable path
-P, --parallel <num>Parallel conversion count
--no-parallelDisable parallel conversion
--template <name>HTML template (default: bespoke)

Common patterns

# Watch and preview while editing
marp -w -p deck.md

# Serve slides directory
marp -s ./presentations

# Convert all slides to PDF
marp --pdf *.md

# Create OG image from title
marp deck.md -o og.png --image-scale 3

# Export presenter notes
marp --notes deck.md

Documentation

DocumentDescription
QUICKSTART.mdQuick start guide
EXAMPLES.mdDetailed examples
README.mdProject overview
Official docshttps://github.com/marp-team/marp-cli

Comments

Loading comments...