Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/TheophilusChinomona/claude-openclaw-pluginnpx agentmods add commands/theophiluschinomona/claude-openclaw-plugin/oc-docsWrote 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.
[](https://agentmods.dev/commands/theophiluschinomona/claude-openclaw-plugin/oc-docs)<a href="https://agentmods.dev/commands/theophiluschinomona/claude-openclaw-plugin/oc-docs"><img src="https://agentmods.dev/badge/commands/theophiluschinomona/claude-openclaw-plugin/oc-docs/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/theophiluschinomona/claude-openclaw-plugin/oc-docs"><img src="https://agentmods.dev/badge/commands/theophiluschinomona/claude-openclaw-plugin/oc-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00853 |
| Opus 5 | $0.00011 | $0.00426 |
| Sonnet 5 | $0.00004 | $0.00171 |
| Haiku 4.5 | $0.00002 | $0.00085 |
Grade A, and why
oc-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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/oc-docs Command
Manage locally-cached OpenClaw documentation from docs.openclaw.ai and GitHub.
Plugin Root
Determine the plugin root path:
PLUGIN_ROOT="$HOME/.claude/plugins/openclaw-plugin/plugins/openclaw"
Subcommands
Parse the user's arguments to determine the subcommand:
sync (default if no args)
Fetch and update documentation from upstream sources using parallel HTTP.
Flags:
--full— Fetch all tiers (Tier 1 + 2 + 3, ~431 pages)--category <name>— Fetch only pages in the specified category--force— Re-fetch everything, ignore staleness--concurrency N— Max concurrent requests (default: 10)- No flags — Fetch Tier 1 only (~148 core pages)
Steps:
- Run the fetch script:
cd "${PLUGIN_ROOT}" && python scripts/oc-docs-fetch.py sync [flags] - The script handles: fetching llms.txt, parsing entries, filtering by tier/category, parallel HTTP fetch, manifest updates, and INDEX.md regeneration.
- Parse the JSON output from stdout for summary stats.
- Report results to the user: pages fetched, unchanged, skipped, failed.
status
Show documentation sync status.
Steps:
- Run:
cd "${PLUGIN_ROOT}" && python scripts/oc-docs-fetch.py status - Display the output directly to the user.
Example output:
OpenClaw Documentation Status
========================================
Total fetched: 148 pages
docs-site: 148
github: 0
Stale: 12 (> 7 days)
Storage: 2.3M
By Category:
[Tier 1 - Core]
automation 23 pages
channels 31 pages
cli 52 pages
concepts 8 pages
gateway 15 pages
security 19 pages
[Tier 2 - Extended]
install 0 pages
providers 0 pages
...
search <query>
Search crawled documentation for a query string.
Steps:
- Check if
.crawled/exists and has content. If not, suggest/oc-docs sync. - Use Grep to search
.crawled/for the query pattern. - Show matches with file path, line number, and surrounding context (3 lines).
- Group results by category for readability.
- Limit to 20 results by default, mention if more exist.
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.
- 8d ago First seen · 122 lines · 22 tokens per session scan A def6d2ff6aff
oc-docs is a command published in the GitHub repository TheophilusChinomona/claude-openclaw-plugin (2 stars, last pushed 5mo ago), licensed MIT. It adds 22 tokens to every session and 853 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-08-31.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.