Help us improve
Share bugs, ideas, or general feedback.
From claw-mux
Opens markdown files in a live-reloading cmux viewer panel with rich rendering for displaying plans, documentation, or notes alongside the terminal.
npx claudepluginhub leejuoh/claude-code-zero --plugin claw-muxHow this skill is triggered — by the user, by Claude, or both
Slash command
/claw-mux:cmux-markdownThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to display markdown files in a dedicated panel with rich formatting and live file watching. Requires cmux environment (`$CMUX_WORKSPACE_ID`). Outside cmux, this skill's features are unavailable.
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.
Orchestrates multi-pane terminals with cmux CLI: splits panes/workspaces, spawns Claude/Codex sub-agents, sends keys (incl. ctrl-c), reads output, updates sidebar, manages browser/markdown panes.
Serves markdown as live-reloading browser previews using mdserve for complex docs, tables, Mermaid diagrams, and multi-file sets. Handles iterative edits.
Share bugs, ideas, or general feedback.
Use this skill to display markdown files in a dedicated panel with rich formatting and live file watching. Requires cmux environment ($CMUX_WORKSPACE_ID). Outside cmux, this skill's features are unavailable.
.md file.# Open a markdown file as a split panel next to the current terminal
cmux markdown open plan.md
# Absolute path
cmux markdown open /path/to/PLAN.md
# Target a specific workspace
cmux markdown open design.md --workspace workspace:2
The panel automatically re-renders when the file changes on disk. This works with:
echo "..." >> plan.md)If the file is deleted, the panel shows a "file unavailable" state. During atomic replace, the panel retries within a short window. If the file returns later, close and reopen the panel.
Write your plan to a file, then open it:
cat > plan.md << 'EOF'
# Task Plan
## Steps
1. Analyze the codebase
2. Implement the feature
3. Write tests
4. Verify the build
EOF
cmux markdown open plan.md
The panel live-reloads, so simply overwrite the file as work progresses:
# The markdown panel updates automatically when the file changes
echo "## Step 1: Complete" >> plan.md
# Open in the caller's workspace (default — uses CMUX_WORKSPACE_ID)
cmux markdown open plan.md
# Open in a specific workspace
cmux markdown open plan.md --workspace workspace:2
# Open splitting from a specific surface
cmux markdown open plan.md --surface surface:5
# Open in a specific window
cmux markdown open plan.md --window window:1
| Reference | When to Use |
|---|---|
| Commands | Full command syntax and options |
| Live Reload | File watching behavior, atomic writes, edge cases |
The markdown panel renders:
Supports both light and dark mode.