claw-mo-open

claw-mo-open is a skill for Claude Code, Codex from LeeJuOh/claude-code-zero. It costs 50 tokens per session (1,616 once invoked), scanned C, original, MIT.

A command for opening a Markdown file, directory, or supplied text in the running mo browser viewer. Markdown is plain text formatted for readable documents, and mo is the viewer used here.

In plain words
What is it for?
Previewing one Markdown file, watching a documentation directory, or opening piped Markdown. It resolves paths, detects the project and group, reads configuration, and checks whether the mo server is running.
Why use it?
It removes the need to manually find a document, choose its project group, or open the correct browser view. It can also start from text received through standard input, the command-line stream used to pass data between programs.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the claw-mo plugin — 5 skills, 1 hook shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/leejuoh/claude-code-zero/claw-mo-open
Any agent
npx skills add LeeJuOh/claude-code-zero --skill claw-mo-open
Clone the repo
git clone --depth 1 https://github.com/LeeJuOh/claude-code-zero

Made for: Claude Code, Codex.

Or install claw-mo, the plugin that ships this one along with the rest of its 5 skills, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for claw-mo-open

README.md
[![agentmods](https://agentmods.dev/badge/skills/leejuoh/claude-code-zero/claw-mo-open.svg)](https://agentmods.dev/skills/leejuoh/claude-code-zero/claw-mo-open)
Your own site
<a href="https://agentmods.dev/skills/leejuoh/claude-code-zero/claw-mo-open"><img src="https://agentmods.dev/badge/skills/leejuoh/claude-code-zero/claw-mo-open.svg" alt="Measured on agentmods" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,616 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00050 $0.01616
Opus 5 $0.00025 $0.00808
Sonnet 5 $0.00010 $0.00323
Haiku 4.5 $0.00005 $0.00162

Measured 4d ago against content hash f6ec6136349d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

claw-mo-open scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

FILE_ID=$(curl -s "http://localhost:$PORT/_/api/groups" | python3 -c "

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "http://localhost:$PORT/_/api/groups/$GROUP/files" \
plugins/claw-mo/skills/claw-mo-open/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

claw-mo-open

Add a specific file, directory, or piped markdown content to the running mo server and open the browser directly on that file.

For config schema, HTTP API, deep-linking, and browser opening: read ${CLAUDE_PLUGIN_ROOT}/references/shared.md

Arguments

  • $ARGUMENTS — one of:
    • File path: docs/spec.md
    • Directory: docs/ (added as a watch pattern)
    • - or --stdin: read markdown from stdin (e.g., cat notes.md | /claw-mo-open -)
    • Optional --group <name> to pin the target group (otherwise auto-detected)
  • Examples:
    • /claw-mo-open docs/spec.md
    • /claw-mo-open plans/ --group plans
    • some-tool | /claw-mo-open - --group scratch

Steps

  1. Parse $ARGUMENTS:

    • Detect --stdin or a bare - → stdin mode
    • Otherwise resolve file/dir path with realpath
    • Extract --group; if absent, auto-detect from config (match the file path against each group's patterns, fall back to default)
  2. Prerequisites: command -v mo >/dev/null 2>&1.

  3. Project key: git rev-parse --show-toplevel (fallback: $PWD).

  4. Read config from ${CLAUDE_PLUGIN_DATA}/config.json.

  5. Check running server: mo --status --json → is a server on $PORT?

  6. If server is running AND config exists — verify sync before mutating:

    • Compare live group→patterns to saved config (see shared.md)
    • If drifted: tell the user that /claw-mo-up would clear+rebuild this runtime; ask whether to resync first or add into the drifted runtime
    • If they resync: clear, restart from config, then continue
    • If they decline: continue but warn the change won't survive the next /claw-mo-up unless config is updated
  7. Add the content based on mode:

    (a) File path, server running:

    curl -s -X POST "http://localhost:$PORT/_/api/groups/$GROUP/files" \
      -H 'Content-Type: application/json' \
      -d "{\"path\": \"$(realpath file.md)\"}"
    

    (b) Directory, server running:

    curl -s -X POST "http://localhost:$PORT/_/api/patterns" \
      -H 'Content-Type: application/json' \
      -d "{\"pattern\": \"$(realpath dir)/**/*.md\", \"group\": \"$GROUP\"}"
    

Read the full file on GitHub · 118 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 118 lines · 50 tokens per session scan C f6ec6136349d

Subscribe to this mod's changes

claw-mo-open is a skill published in the GitHub repository LeeJuOh/claude-code-zero (51 stars, last pushed 4d ago), licensed MIT. It adds 50 tokens to every session and 1,616 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

mcporter

List, auth, and call MCP servers/tools from the terminal.

NousResearch/hermes-agent · 16 tokens

article-writing

Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.

affaan-m/ECC · 57 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

complete-partial-pr

Evaluate and complete an issue or PR where the submitted patch fixes only a narrow symptom of the reported pain point. Use when a contribution may miss adjacent integration surfaces, provider/spec semantics, roundtrip behavior, tests, docs, or historical maintainer decisions.

pydantic/pydantic-ai · 55 tokens

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens