Help us improve
Share bugs, ideas, or general feedback.
From claw-mo
Adds a file, directory, or glob pattern to the mo markdown viewer server via HTTP API, starts server if needed, and opens browser tab for preview.
npx claudepluginhub leejuoh/claude-code-zero --plugin claw-moHow this skill is triggered — by the user, by Claude, or both
Slash command
/claw-mo:claw-mo-openThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Quickly add a specific file or directory to the running mo server and open it in the browser.
Starts mo markdown viewer server for current project using config groups/patterns, migrates config if needed, and opens browser tab via cmux or default.
Serves markdown as live-reloading browser previews using mdserve for complex docs, tables, Mermaid diagrams, and multi-file sets. Handles iterative edits.
Opens Markdown files in cmux side panel for real-time preview. Auto-refreshes on changes. Prompts for recent .md file if no path given. Use while Claude edits documents.
Share bugs, ideas, or general feedback.
Quickly add a specific file or directory to the running mo server and open it in the browser.
For config schema, HTTP API, and browser opening: read ${PLUGIN_DIR}/references/shared.md
$ARGUMENTS — file path, directory, or glob pattern. Optional --group to specify target group./claw-mo-open docs/spec.md, /claw-mo-open plans/ --group plansParse $ARGUMENTS — extract file/dir path and optional --group name (default: default)
Check prerequisites: command -v mo >/dev/null 2>&1
Get project key and read config from ${PLUGIN_DATA_DIR}/config.json
Resolve the file path to absolute: realpath <path>
If server is running (mo --status --json shows this port):
curl -s -X POST "http://localhost:$PORT/_/api/files" \
-H 'Content-Type: application/json' \
-d "{\"path\": \"$(realpath file.md)\", \"group\": \"$GROUP\"}"
curl -s -X POST "http://localhost:$PORT/_/api/patterns" \
-H 'Content-Type: application/json' \
-d "{\"pattern\": \"dir/**/*.md\", \"group\": \"$GROUP\"}"
If server is NOT running:
/claw-mo-up behavior first, then add the file/dir6300 + hash % 100), then mo --no-open -p $PORT $(realpath <path>) and open browser. Tell the user about /claw-mo-setup for persistent config.Open browser to the specific group: http://localhost:$PORT/$GROUP
Report what was added and where
realpath before sending