docs-update

docs-update is a command for Claude Code from Marcel-Bich/marcel-bich-claude-marketplace. It costs 11 tokens per session (4,528 once invoked), scanned A, original, MIT.

A command for keeping README files and wiki articles in sync with changes in a code repository. A wiki is a separate set of linked documentation pages, often hosted with a project.

In plain words
What is it for?
Locating a wiki checkout, reviewing proposed documentation updates, and committing and pushing accepted changes to both repositories.
Why use it?
It helps find documentation that is missing or out of date instead of requiring developers to compare the code and wiki manually.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dogma plugin — 9 commands, 1 agent shipped together

Good fit Locating a wiki checkout, reviewing proposed documentation updates, and committing and pushing accepted changes to both repositories.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Marcel-Bich/marcel-bich-claude-marketplace
Claude Code
/plugin install dogma

Made for: Claude Code.

Or install dogma, the plugin that ships this one along with the rest of its 9 commands, 1 agent.

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 docs-update

README.md
[![agentmods](https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/docs-update/github.svg)](https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/docs-update)
Your own site
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/docs-update"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/docs-update/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.

agentmods 80×15 button for docs-update

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/docs-update"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/docs-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,528 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.00011 $0.04528
Opus 5 $0.00005 $0.02264
Sonnet 5 $0.00002 $0.00906
Haiku 4.5 $0.00001 $0.00453

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

Security

Grade A, and why

docs-update 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 12d 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/dogma/commands/docs-update.md · 669 lines

How it starts

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

Claude-Dogma: Documentation Update

You are executing the /dogma:docs-update command. Your task is to synchronize documentation across README files and wiki articles, ensuring everything is up-to-date.

Overview

This command:

  1. Locates the wiki repository (parallel checkout, or clone from URL)
  2. Analyzes changes in the main repo that affect documentation
  3. Compares with wiki content to find gaps or outdated info
  4. Interactively asks user about each update
  5. Commits and pushes to both repos (respecting DOGMA-PERMISSIONS.md)

Phase 1: Locate Wiki Repository

Step 1.1: Check Argument

The user provided: $ARGUMENTS

If a path or URL was provided:

  • If it's a local path: verify it exists and is a git repo
  • If it's a GitHub URL: clone it to a temp location or find existing clone

Step 1.2: Search for Existing Wiki Checkout

If no argument provided, search common locations:

# Get current repo name
REPO_NAME=$(basename "$(git rev-parse --show-toplevel)")

# Search parallel directories
ls -d "../${REPO_NAME}.wiki" 2>/dev/null || true
ls -d "../${REPO_NAME}-wiki" 2>/dev/null || true
ls -d "wiki" 2>/dev/null || true
ls -d ".wiki" 2>/dev/null || true

# Search parent directory for any .wiki repos
ls -d ../*.wiki 2>/dev/null || true

Step 1.3: Ask User if Not Found

If wiki repo not found, ask:

Wiki repository not found automatically.

How would you like to provide the wiki location?

1. Enter local path (e.g., ../my-project.wiki)
2. Enter GitHub wiki URL (e.g., https://github.com/user/repo.wiki.git)
3. Skip wiki sync (only update README files in main repo)
4. Cancel

If user provides GitHub URL:

# Clone to parent directory
cd .. && git clone <URL>

Step 1.4: Verify Wiki Repository

Once found/cloned:

SCRIPT_DIR="${CLAUDE_PLUGIN_ROOT:-$(dirname "$(dirname "$(realpath "$0")")")}/scripts"

cd <wiki-path>
git rev-parse --git-dir  # Verify it's a git repo
"$SCRIPT_DIR/git-remote-safe.sh" url  # Show remote URL (token-safe)
ls -la                   # List wiki files

Read the full file on GitHub · 669 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. 12d ago First seen · 669 lines · 11 tokens per session scan A 2e156ef89ccc

Subscribe to this mod's changes

docs-update is a command published in the GitHub repository Marcel-Bich/marcel-bich-claude-marketplace (13 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 4,528 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-30.