Skip to content
Skills Library
Programming · Automation

claw-mo-down

/claw-mo-down

Stop the mo markdown viewer server for the current project. Use when the user says claw-mo-down, wants to stop mo, shut down doc viewer, or kill mo server.

Licence
MIT
Last repository change
09.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 09.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Stop the mo markdown viewer server for the current project. Use when the user says claw-mo-down, wants to stop mo, shut down doc viewer, or kill mo server.

Original author description

Stop the mo markdown viewer server for the current project. Use when the user says claw-mo-down, wants to stop mo, shut down doc viewer, or kill mo server.

How it works

  1. Steps
  2. Gotchas
Original SKILL.md headings · 32 lines, 288 words
SKILL.md preview
---
name: claw-mo-down
disable-model-invocation: true
description: "Stop the mo markdown viewer server for the current project. Use when the user says claw-mo-down, wants to stop mo, shut down doc viewer, or kill mo server."
allowed-tools: Bash, Read
---

# claw-mo-down

Stop the mo markdown viewer server for the current project, with accurate reporting of whether it was actually running.

For config schema and `--shutdown` semantics: read `${CLAUDE_PLUGIN_ROOT}/references/shared.md`

## Steps

1. **Prerequisites**: `command -v mo >/dev/null 2>&1`. If missing, tell the user `brew install k1LoW/tap/mo` and stop.

2. **Project key**: `git rev-parse --show-toplevel` (fallback: `$PWD`).

3. **Read config** from `${CLAUDE_PLUGIN_DATA}/config.json`. If no entry for this project, tell the user no mo server is configured for this project and stop.

4. **Check actual running state**: `mo --status --json 2>/dev/null`. Look for a server whose port matches `$PORT`.
   - **Not running**: tell the user "mo is not running on :$PORT (nothing to stop). Config preserved." and stop.
   - **Running**: continue to step 5.

5. **Shutdown**: `mo --shutdown -p $PORT`

6. **Verify**: re-run `mo --status --json 2>/dev/null` and confirm the port is gone. Report the result:
   - Success → "Stopped mo on :$PORT. Config preserved — run `/claw-mo-up` to restart."
   - Still present → warn the user (rare; orphaned process) and suggest `kill <pid>` using the PID from status.

## Gotchas

- **Config is preserved** — shutdown only stops the server, it doesn't delete the project config. `/claw-mo-up` will restart with the same groups.
- **Backup file is preserved** too — next start auto-restores the session. Use `/claw-mo-manage` → Reset session (which runs `--clear`) if you want a clean slate.
- **If no server is running on that port, `mo --shutdown` exits silently** — that's why this skill checks `--status --json` first and reports accurately instead of always saying "shut down".
- **Don't shut down a server belonging to another project** — the config key is project-scoped, so this skill only touches the port registered for the current project key.

Versions

The database has no other skills named claw-mo-down.

Database snapshot: 13.11.2026 · package version afb0af41f104 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100claw-mo-setup
    Configure mo markdown viewer for the current project. Use when the user wants to set up doc watching, configure mo patterns, initialize claw-mo for a project, or set up markdown viewer groups.
  • 100claw-mo-up
    Start or reopen the mo markdown viewer for the current project. Use when mo is already configured and the user wants to view docs, start mo, open documentation viewer, or preview markdown.
  • 95claw-cron
    Claw scheduled task management using x claw cron. Use when the agent needs to add, remove, list, or manage cron jobs within claw. Also use when explaining the difference between heartbeat checks and scheduled tasks.
  • 95claw-cron
    Claw scheduled task management using x claw cron. Use when the agent needs to add, remove, list, or manage cron jobs within claw. Also use when explaining the difference between heartbeat checks and scheduled tasks.
  • 100claw-earn
    Operate Claw Earn bounties on AI Agent Store through API/UI integration instead of direct contract-only flow. Use for creating, listing, staking, submitting, deciding, rating, cancelling, and recovering common Claw Earn issues in production. This skill should be sufficient for…
  • 86commit
    Create a Git commit for the current task. Use when the user asks to commit changes.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.