Manages mo markdown viewer: displays status dashboard for servers/projects, adds/removes watch patterns and groups, resets sessions via interactive menu.
From claw-monpx claudepluginhub leejuoh/claude-code-zero --plugin claw-moThis skill is limited to using the following tools:
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
Interactive management hub for mo markdown viewer. Shows current state and lets the user choose what to do.
For config schema, HTTP API, and groups: read ${PLUGIN_DIR}/references/shared.md
Check prerequisite first: command -v mo >/dev/null 2>&1 — if missing, tell user to install and stop.
Then run in parallel:
mo --status --json — get all running servers${PLUGIN_DATA_DIR}/config.json — get all configured projectsgit rev-parse --show-toplevelPresent a clear overview:
mo server status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
● project-a :6342 running docs(12) plans(3) default(2)
● project-b :6367 running specs(5)
○ project-c :6315 stopped
Current project: project-a (:6342)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
What would you like to do?
1) Add pattern
2) Remove pattern
3) Add group
4) Remove group
5) Reset session
Match config entries with running servers to show accurate status (● running / ○ stopped).
Ask what the user wants to do. Handle based on choice:
Add pattern:
POST /_/api/patterns with {"pattern": "...", "group": "..."}Remove pattern:
DELETE /_/api/patterns?pattern=...&group=...Add group:
Remove group:
Reset session:
echo "y" | mo --clear -p PORTAfter completing an action, show the updated dashboard and ask if they want to do anything else. Exit when they're done.
y to mo --clear — it prompts for confirmation and will hang without it