Claw Mo Setup logo

Claw Mo Setup

Community
LeeJuOh
claw-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.

Overview

PublisherLeeJuOh
Repositoryclaude-code-zero
Skill nameclaw-mo-setup
Stars
53
Forks
4
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by LeeJuOh on GitHub. Read the source before you install it.

Installation

Install the Claw Mo Setup AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/claw-mo/skills/claw-mo-setup
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero.git /tmp/claude-code-zero
mkdir -p .claude/skills
cp -r /tmp/claude-code-zero/plugins/claw-mo/skills/claw-mo-setup .claude/skills/claw-mo-setup
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Claw Mo Setup in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Claw Mo Setup on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Claw Mo Setup is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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 count and suggest a group named after that directory:
      bash
      find "$PROJECT_ROOT/DIRNAME" -name '*.md' -not -path '*/node_modules/*' -not -path '*/.git/*' -not -path '*/vendor/*' 2>/dev/null | wc -l
    • If a top-level directory is huge, do not blindly suggest DIRNAME/**/*.md. Inspect one level deeper and propose narrower subgroups when that better matches the actual content (for example raw/articles/**/*.md but not raw/**/*.md when raw/repos/** dominates)
    • If root .md files exist, suggest group default with *.md
    • Use the actual directory name as the group name — don't rename or merge unless obvious (e.g., a single top-level dir with 1 file might be skipped)
    • Always show file counts so the user can see what each pattern covers, and explicitly call out directories you are excluding because the watch scope would be too large
  7. AskUserQuestion: Present suggested groups and port together. Example:

    Detected these groups in your project:
    
    - docs: docs/**/*.md (23 files)
    - plans: plans/*.md (5 files)  
    - default: *.md (3 files)
    
    Port: 6342 (auto-assigned from path hash)
    
    Proceed with these? Let me know if you want to add, remove, or change anything.
  8. Save config to ${CLAUDE_PLUGIN_DATA}/config.json (create file if needed, merge if exists). Use v2 groups format. Include "autosync": true on new entries so PostToolUse adds newly-written .md files to the running mo server without /claw-mo-up.

  9. Offer to start: "Setup complete! Want me to start the server with /claw-mo-up?"

    • If a mo server is already running on $PORT (e.g., from a previous setup in this project), note that /claw-mo-up will apply the new config by clearing and rebuilding — since configured patterns changed, this is expected.
    • Also mention: "Autosync is on by default — when I write .md files here they'll show up in mo automatically while the server is running. Turn off per project via /claw-mo-manage → Server control → Toggle autosync."

Gotchas

  • **/*.md can explode: Projects with vendored code may contain thousands of .md files. Always show the count before accepting broad patterns. Guide users toward specific directory patterns.
  • Large top-level directories need one more pass: If a directory contains a massive subtree, inspect its immediate children before suggesting patterns. Otherwise Claude tends to recommend broad watches like raw/**/*.md that swamp mo with irrelevant files.
  • Group names become URL paths: Keep them simple lowercase, no spaces or special chars.
  • Changing config while a server is running: /claw-mo-up reconciles by detecting drift and running printf 'y\n' | mo --clear then rebuilding. Tell the user this is the expected side effect of reconfiguring, not a bug.
  • autosync defaults to true: every new config entry ships with "autosync": true. The field is only read by the PostToolUse hook; no runtime effect when the server is stopped. Users can disable per project via /claw-mo-manage.

Frequently asked questions

What does the Claw Mo Setup AI skill do?

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.

Why use Claw Mo Setup on TypingMind?

Because you install it once and use it with any model. Claw Mo Setup is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Claw Mo Setup in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LeeJuOh/claude-code-zero/tree/main/plugins/claw-mo/skills/claw-mo-setup. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Claw Mo Setup?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Claw Mo Setup?

As many as you like. As long as a model supports skills, you can use Claw Mo Setup with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Claw Mo Setup AI skill free?

Yes. It is published on GitHub by LeeJuOh under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇