A local Markdown preview server enabling real-time document rendering, side-by-side editing, and rich text export to publishing platforms.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install claw-markdown-preview-skill
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install claw-markdown-preview-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Claw Markdown Preview is a developer-centric rendering utility designed for integration with AI coding environments. Instead of manually exporting files or toggling layout viewers, this skill enables your assistant to display formatted Markdown documents directly inside your browser.
Running as a lightweight local Python HTTP service, the interface features 22 layout themes, 9 code-highlighting schemes, and a variety of preview configurations. It provides an integrated double-pane sync editor, local clipboard image pasting, and rich-text copying for publishing workflows.
To clean up older services and launch the local preview application, execute the following commands:
# 1. Kill prior running processes
PID_FILE="/tmp/claw-markdown-preview.pid"
if [ -f "$PID_FILE" ]; then
OLD_PID=$(cat "$PID_FILE")
kill "$OLD_PID" 2>/dev/null || true
rm -f "$PID_FILE"
fi
pkill -f "preview_server.py" 2>/dev/null || true
# 2. Run preview server in the background
PYTHONUNBUFFERED=1 python3 scripts/preview_server.py --file "<MD_FILE_PATH>" --no-open --heartbeat-timeout 60
# 3. Detect port, record PID, and open browser (Example port: 8765)
PID=$(lsof -iTCP:8765 -sTCP:LISTEN -P -n -t 2>/dev/null | head -1)
echo "$PID" > /tmp/claw-markdown-preview.pid
open "http://127.0.0.1:8765"
The preview script manages assets, configurations, and internal states according to the schema below:
| Item | Type | Description |
|---|---|---|
--file |
File Parameter | Target Markdown file to poll, render, and update. |
--port |
Network Property | Local port (defaults to 8765, auto-negotiates up to 20 alternate options if occupied). |
images/ |
Directory | Storage path for clipboard-pasted files, co-located with the parent Markdown directory. |
claw-markdown-preview.pid |
State Log | Temp process file to coordinate starting, killing, and monitoring the server process. |
Loading
An Openclaw Skills utility that checks LegionSpace version availability across seven Chinese app stores and exports the latest results automatically.

A precision skill for searching, validating, and pulling off-the-shelf catalog component STEP files directly into CAD workflows.

An AI agent skill to programmatically generate, update, and validate 2D DXF drawings and CAD projections from Python sources.

TKSeller is an interactive automation skill designed to integrate custom TikTok seller SaaS platforms directly with messaging clients.

A professional tool to generate, validate, and render Mermaid syntax diagrams to SVG, PNG, and PDF formats using the mmdc CLI.

An AI-powered gardening companion that automates watering reminders, maintains structured plant archives, and provides real-time health diagnostics.








































