openclaw-docs-sync

openclaw-docs-sync is an agent for Claude Code from TheophilusChinomona/claude-openclaw-plugin. It costs 92 tokens per session (1,242 once invoked), scanned A, original, MIT.

A documentation synchronizer for OpenClaw, a self-hosted gateway that connects messaging apps to AI agents. It fetches upstream documentation and stores a local, refreshable copy.

In plain words
What is it for?
Use it to fetch, crawl, update, or refresh OpenClaw docs from the docs website and GitHub into the plugin’s local files.
Why use it?
It removes the manual work of finding changed or missing OpenClaw documentation and keeping local copies current.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; positional $N argument.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd "${PLUGIN_ROOT}" && python scripts/oc-docs-fetch.py sync [--full] [--category NAME] [--force] [--concurrency N].

Part of the openclaw plugin — 31 skills, 22 commands, 4 agents, 3 hooks shipped together

Good fit Use it to fetch, crawl, update, or refresh OpenClaw docs from the docs website and GitHub into the plugin’s local files.

Compare 6 agents from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/TheophilusChinomona/claude-openclaw-plugin
agentmods
npx agentmods add agents/theophiluschinomona/claude-openclaw-plugin/openclaw-docs-sync

Made for: Claude Code.

Or install openclaw, the plugin that ships this one along with the rest of its 31 skills, 22 commands, 4 agents, 3 hooks.

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 openclaw-docs-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/theophiluschinomona/claude-openclaw-plugin/openclaw-docs-sync.svg)](https://agentmods.dev/agents/theophiluschinomona/claude-openclaw-plugin/openclaw-docs-sync)
Your own site
<a href="https://agentmods.dev/agents/theophiluschinomona/claude-openclaw-plugin/openclaw-docs-sync"><img src="https://agentmods.dev/badge/agents/theophiluschinomona/claude-openclaw-plugin/openclaw-docs-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 92 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,242 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.00092 $0.01242
Opus 5 $0.00046 $0.00621
Sonnet 5 $0.00018 $0.00248
Haiku 4.5 $0.00009 $0.00124

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

Security

Grade A, and why

openclaw-docs-sync 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.

plugins/openclaw/agents/openclaw-docs-sync.md · 150 lines

How it starts

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

OpenClaw Documentation Sync Agent

You fetch and synchronize OpenClaw documentation from upstream sources into the plugin's local .crawled/ directory.

Examples

Sources

Source Index URL Raw Content Pattern
docs.openclaw.ai https://docs.openclaw.ai/llms.txt URLs listed in llms.txt entries
GitHub docs https://api.github.com/repos/openclaw/openclaw/tarball/main Tarball extraction

Storage Layout

plugins/openclaw/
  .crawled/                          # Gitignored, regenerable
    docs.openclaw.ai/               # Pages from docs site
      automation/cron-jobs.md
      channels/telegram.md
      ...
    github/                          # Pages from GitHub raw
      docs/start/...
      docs/cli/...
  docs/                              # Committed metadata
    docs-manifest.json               # Fetch tracking
    INDEX.md                         # Generated index
    FETCH-CONFIG.md                  # Source config & tiers

Fetch Strategy

Primary: Run the fetch script

For docs.openclaw.ai (most requests):

cd "${PLUGIN_ROOT}" && python scripts/oc-docs-fetch.py sync [--full] [--category NAME] [--force] [--concurrency N]

Where PLUGIN_ROOT is the directory containing this agent (i.e., plugins/openclaw/). Determine this path using:

# From this agent's location
PLUGIN_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
# Or use the known absolute path
PLUGIN_ROOT="$HOME/.claude/plugins/openclaw-plugin/plugins/openclaw"

Read the full file on GitHub · 150 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. 8d ago First seen · 150 lines · 92 tokens per session scan A ab2916f2f9bf

Subscribe to this mod's changes

openclaw-docs-sync is an agent published in the GitHub repository TheophilusChinomona/claude-openclaw-plugin (2 stars, last pushed 5mo ago), licensed MIT. It adds 92 tokens to every session and 1,242 once invoked, about $0.0005 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.