PluginBench
Skill
Pass
Audit score 90

cmux-markdown

manaflow-ai/cmux

Display markdown files in a formatted panel with live reload alongside your terminal.

What is cmux-markdown?

A markdown viewer skill that opens `.md` files in a dedicated panel with rich formatting (headings, code blocks, tables, lists) and automatic live reloading when the file changes on disk. Use it to display agent plans, documentation, or notes that update in real-time while you work in the terminal.

  • Open markdown files in a split panel next to the terminal with rich formatting
  • Auto-reload the panel when the file changes on disk (supports direct writes, editor saves, and atomic file replacement)
  • Render markdown elements including headings, code blocks, tables, lists, blockquotes, bold/italic, links, and images
  • Target specific workspaces, surfaces, or windows when opening the panel
  • Support both light and dark mode rendering

How to install cmux-markdown

npx skills add null --skill cmux-markdown
Claude Code
Cursor
Windsurf
Cline

How to use cmux-markdown

  1. 1.Write your plan or notes to a `.md` file (e.g., `plan.md`)
  2. 2.Run `cmux markdown open plan.md` to open it in a split panel
  3. 3.The panel automatically re-renders whenever the file changes on disk
  4. 4.Optionally target a specific workspace with `--workspace workspace:2` or surface/window as needed

Use cases

Good for
  • Display an agent-generated task plan or checklist alongside the terminal while working
  • Show documentation, changelogs, or READMEs that update in real-time as you reference them
  • Monitor a plan file being progressively written by another process or agent
  • Review notes and task lists that auto-update without manual refresh
Who it's for
  • Coding agents creating and updating plan files
  • Developers working with live-updating documentation or task lists
  • Teams using markdown-based planning or note-taking workflows

cmux-markdown FAQ

What happens if the markdown file is deleted?

The panel shows a 'file unavailable' state. If the file returns later, close and reopen the panel.

Does the panel update if I edit the file with an editor like VS Code or vim?

Yes, the panel automatically re-renders when the file is saved by any editor, direct writes, or atomic file replacement.

Can I use this with agent-generated plans?

Yes, this is ideal for agents. Write the plan to a `.md` file and open it with `cmux markdown open plan.md`. The panel updates automatically as the agent updates the file.

What markdown elements are supported?

Headings (h1-h6), fenced code blocks, inline code, tables, ordered/unordered lists, blockquotes, bold, italic, strikethrough, links, horizontal rules, and images.

Can I open the markdown panel in a specific workspace?

Yes, use `--workspace workspace:2` to target a specific workspace, or `--surface` and `--window` for more granular control.

Full instructions (SKILL.md)

Source of truth, from manaflow-ai/cmux.


name: cmux-markdown description: Open markdown files in a formatted viewer panel with live reload. Use when you need to display plans, documentation, or notes alongside the terminal with rich rendering (headings, code blocks, tables, lists).

Markdown Viewer with cmux

Use this skill to display markdown files in a dedicated panel with rich formatting and live file watching.

Core Workflow

  1. Write your plan or notes to a .md file.
  2. Open it in a markdown panel.
  3. The panel auto-updates when the file changes on disk.
# 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

When to Use

  • Displaying an agent plan or task list alongside the terminal
  • Showing documentation, changelogs, or READMEs while working
  • Reviewing notes that update in real-time (e.g., a plan file being written by another process)

Live File Watching

The panel automatically re-renders when the file changes on disk. This works with:

  • Direct writes (echo "..." >> plan.md)
  • Editor saves (vim, nano, VS Code)
  • Atomic file replacement (write to temp, rename over original)
  • Agent-generated plan files that are updated progressively

If the file is deleted, the panel shows a "file unavailable" state. During atomic replace, the panel attempts automatic reconnection within its short retry window. If the file returns later, close and reopen the panel.

Agent Integration

Opening a plan file

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

Updating a plan in real-time

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

Recommended AGENTS.md instruction

Add this to your project's AGENTS.md to instruct coding agents to use the markdown viewer:

## Plan Display

When creating a plan or task list, write it to a `.md` file and open it in cmux:

    cmux markdown open plan.md

The panel renders markdown with rich formatting and auto-updates when the file changes.

Routing

# 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

Deep-Dive References

ReferenceWhen to Use
references/commands.mdFull command syntax and options
references/live-reload.mdFile watching behavior, atomic writes, edge cases

Rendering Support

The markdown panel renders:

  • Headings (h1-h6) with dividers on h1/h2
  • Fenced code blocks with monospaced font
  • Inline code with highlighted background
  • Tables with alternating row colors
  • Ordered and unordered lists (nested)
  • Blockquotes with left border
  • Bold, italic, strikethrough
  • Links (clickable)
  • Horizontal rules
  • Images (inline)

Supports both light and dark mode.