Preview a Markdown file in the cmux built-in browser (supports partial filename matching)
Scanned 5/27/2026
Install via CLI
openskills install monzou/mo-cmux---
name: mo
description: Preview a Markdown file in the cmux built-in browser (supports partial filename matching)
argument-hint: "[file-path]"
allowed-tools:
- Bash
- Write
- Read
---
# Markdown Preview
Preview the most recently generated Markdown content or a specified file in the cmux built-in browser.
## Markdown files in the current directory
!`ls -1 *.md 2>/dev/null | head -20`
## Steps
### When an argument is provided
1. If `$ARGUMENTS` is an existing file path, open it directly.
2. Otherwise, treat `$ARGUMENTS` as a **partial match pattern** and search for `.md` files whose name contains the argument (case-insensitive). Use the Markdown file list above.
- **Exactly one match** — open that file.
- **Multiple matches** — show the matches and ask the user which one to open.
- **No matches** — tell the user no matching `.md` file was found.
Run the following with the Bash tool. **You must set `run_in_background: true`. Do not append `&` to the command.**
```bash
${CLAUDE_PLUGIN_ROOT}/scripts/mo-cmux <resolved-file-path>
```
### When no argument is provided
Check the preceding conversation for Markdown context:
- **If an existing `.md` file was being discussed or edited**, open that file directly so that live-reload works on the original file:
```bash
${CLAUDE_PLUGIN_ROOT}/scripts/mo-cmux <path-to-the-file>
```
- **If the Markdown was generated inline** (not saved to a file), write it to `/tmp/claude-preview.md` (using the Write tool) and then open it:
```bash
${CLAUDE_PLUGIN_ROOT}/scripts/mo-cmux /tmp/claude-preview.md
```
Run with the Bash tool. **You must set `run_in_background: true`. Do not append `&` to the command.**
## Important
- **Run with `run_in_background: true`. Do not append `&` to the command.** Appending `&` causes the shell to exit immediately, which also terminates mo-cmux.
- mo automatically detects file changes and reloads, so updating the file will refresh the browser automatically.
- If the user continues the conversation and the Markdown is updated after previewing, simply overwrite the same file to trigger an automatic reload.
No comments yet. Be the first to comment!
Playbook for creating and editing uCoz landing pages via MCP tools (`templates_tool`, `ftp_tool`, `modules_tool`). Use for tasks such as: "build a landing page", "update the homepage as a landing page", "create a promo page on the homepage", "add a lead form / menu / SEO to the homepage". Homepage: `page_list`, `page_get`; first publish — `page_update` with full `page_tmpl`; HTML edits after generation — `patch_template` (module_id=2, template_id=1), not `update_template`. Activate the mail f...
Interact with the Paperclip control plane API to manage tasks, coordinate with other agents, and follow company governance. Use when you need to check assignments, update task status, delegate work, post comments, set up or manage routines (recurring scheduled tasks), or call any Paperclip API endpoint. Do NOT use for the actual domain work itself (writing code, research, etc.) — only for Paperclip coordination.
Digital Audio Workstation usage, music composition, interactive music systems, and game audio implementation for immersive soundscapes.
Instantly.ai cold email outreach API - manage campaigns, leads, accounts, and analytics. Use for cold email automation, lead management, campaign creation/monitoring, and email account warmup.
Run a single Terminal-Bench problem through Paperclip in a bounded, human-in-the-loop improvement cycle until the smoke passes, the board rejects the next fix, the iteration budget is exhausted, or a real blocker is named. Each iteration runs a bounded smoke against an isolated Paperclip App worktree, captures artifacts, diagnoses the exact stop point with `/diagnose-why-work-stopped`, requests board confirmation before any product fix, then reruns against the same worktree. Use whenever an i...