cmd_docs

cmd_docs is a skill for Claude Code from majiang213/OpenClaw-MAS. It costs 19 tokens per session (226 once invoked), scanned A, original, MIT.

A compatibility entry for an older documentation-lookup command. The maintained workflow uses current library documentation to answer technical questions.

In plain words
What is it for?
Use it for legacy requests to look up documentation, providing the project path and the library or question being investigated.
Why use it?
It keeps older command usage available while directing new documentation work to the maintained skill.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit Use it for legacy requests to look up documentation, providing the project path and the library or question being investigated.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/majiang213/openclaw-mas/cmd_docs
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.

Any agent
npx skills add majiang213/OpenClaw-MAS --skill cmd_docs
Clone the repo
git clone --depth 1 https://github.com/majiang213/OpenClaw-MAS

Made for: Claude Code.

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 cmd_docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/majiang213/openclaw-mas/cmd_docs.svg)](https://agentmods.dev/skills/majiang213/openclaw-mas/cmd_docs)
Your own site
<a href="https://agentmods.dev/skills/majiang213/openclaw-mas/cmd_docs"><img src="https://agentmods.dev/badge/skills/majiang213/openclaw-mas/cmd_docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00019 $0.00226
Opus 5 $0.00010 $0.00113
Sonnet 5 $0.00004 $0.00045
Haiku 4.5 $0.00002 $0.00023

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

Security

Grade A, and why

cmd_docs scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cmd_docs/SKILL.md · 36 lines

What it actually says

Project Path

The first argument is the project path. Before doing anything else:

  1. Extract the project path from the first argument
  2. Verify the path exists
  3. Work within that directory for all file operations and shell commands

Docs Command (Legacy Shim)

Use this only if you still reach for /docs. The maintained workflow lives in skills/documentation-lookup/SKILL.md.

Canonical Surface

  • Prefer the documentation-lookup skill directly.
  • Keep this file only as a compatibility entry point.

Arguments

$ARGUMENTS

Delegation

Apply the documentation-lookup skill.

  • If the library or the question is missing, ask for the missing part.
  • Use live documentation through Context7 instead of training data.
  • Return only the current answer and the minimum code/example surface needed.
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 · 36 lines · 19 tokens per session scan A d83dc1856e1b

Subscribe to this mod's changes

cmd_docs is a skill published in the GitHub repository majiang213/OpenClaw-MAS (5 stars, last pushed 5mo ago), licensed MIT. It adds 19 tokens to every session and 226 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

interview-prep

Prepare for architecture interview questions and scenarios. Practice system design, tradeoff discussions, communication. Use for career development and interview readiness.

sethdford/claude-skills · 31 tokens

technical-mentoring

Coach engineers on architecture and design. Provide feedback, guide learning, support growth. Use when mentoring junior architects or senior engineers.

sethdford/claude-skills · 30 tokens

architecture-kata

Practice architectural design with structured problems. Time-limited design challenges. Use for skill development, interviews, team exercises.

sethdford/claude-skills · 27 tokens

interview-prep

Technical interview preparation expert for algorithms, system design, and behavioral questions.

RightNow-AI/openfang · 18 tokens

explain-this

Explain whatever the user is pointing at right now in plain language: a pending question, a piece of code, an error, a command output, or an artifact like a plan or findings report. Use when the user asks to "explain this", "what am I being asked", "what's happening right now", "help me understand this", "what does…

tobihagemann/turbo · 102 tokens

understand-change

Teach the user to deeply understand a change through interactive tutoring: restating understanding, drilling into why/what/how, and quizzing until mastery. The active counterpart to a one-shot explanation. Use when the user asks to "understand this change", "teach me this change", "help me understand what changed"…

tobihagemann/turbo · 96 tokens