claw-mo-setup

Solid

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.

AI & Automation 47 stars 4 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# claw-mo-setup Configure mo markdown viewer with group-based watch patterns for the current project. For config schema, port logic, and groups: read `${CLAUDE_PLUGIN_ROOT}/references/shared.md` ## Steps 1. **Prerequisites check** - `command -v mo >/dev/null 2>&1` → if missing: `brew install k1LoW/tap/mo`, stop - If `$CMUX_SURFACE_ID` is not set: mention that cmux (https://cmux.dev) provides a built-in browser panel alongside the terminal — ideal for viewing docs while coding. Brief one-liner, don't push. 2. **Detect project root**: `git rev-parse --show-toplevel` (fallback: `$PWD`) 3. **Check existing config**: Read `${CLAUDE_PLUGIN_DATA}/config.json`. If an entry exists for this project: - Show current groups and port - Ask: "Config already exists — update existing groups or start fresh?" - **Update**: Skip to step 6 with current groups pre-populated (user can add/remove/rename) - **Start fresh**: Continue from step 4 4. **Scan markdown files**: ```bash find "$PROJECT_ROOT" -name '*.md' -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/vendor/*' 2>/dev/null | wc -l ``` Warn if 500+. 5. **List directories with .md files**: ```bash find "$PROJECT_ROOT" -name '*.md' -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/vendor/*' 2>/dev/null | sed "s|$PROJECT_ROOT/||" | cut -d/ -f1 | sort -u ``` 6. **Suggest groups** based on the directories found in step 5: - For each directory found, get the file c...

Details

Author
LeeJuOh
Repository
LeeJuOh/claude-code-zero
Created
4 months ago
Last Updated
4 days ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category