update-docs

update-docs is a command for Claude Code from ArogyaReddy/alirezarezvani-claude-skills. It costs 7 tokens per session (1,761 once invoked), scanned A, a copy of update-docs, MIT.

A command for updating documentation-related files after creating or changing skills, agents, or commands. It describes a required inventory and cross-platform synchronization process.

In plain words
What is it for?
Review working-tree changes, synchronize Codex and Gemini files, and verify that new skills appear in the skills index.
Why use it?
It helps keep documentation and generated indexes aligned with repository changes.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/sync-codex-skills.py --verbose.

Good fit Review working-tree changes, synchronize Codex and Gemini files, and verify that new skills appear in the skills index.

Compare 6 commands 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/ArogyaReddy/alirezarezvani-claude-skills
agentmods
npx agentmods add commands/arogyareddy/alirezarezvani-claude-skills/update-docs

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/arogyareddy/alirezarezvani-claude-skills/update-docs.svg)](https://agentmods.dev/commands/arogyareddy/alirezarezvani-claude-skills/update-docs)
Your own site
<a href="https://agentmods.dev/commands/arogyareddy/alirezarezvani-claude-skills/update-docs"><img src="https://agentmods.dev/badge/commands/arogyareddy/alirezarezvani-claude-skills/update-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 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,761 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 100% copy Near-identical to another mod 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.00007 $0.01761
Opus 5 $0.00003 $0.00881
Sonnet 5 $0.00001 $0.00352
Haiku 4.5 $0.00001 $0.00176

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

Security

Grade A, and why

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

Origin

This is a copy

100% identical to update-docs — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/update-docs.md · 229 lines

How it starts

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

After completing any skill creation, agent creation, or command creation in this repository, run the full post-creation sync pipeline below. Execute every step — never skip a task. If something is unclear or a step fails, ask the user for guidance before continuing.


Step 1: Inventory what changed

Scan the working tree to identify what was added, modified, or deleted:

git status --short

Classify each change:

  • New skill — a new folder containing SKILL.md under a domain directory
  • New agent — a new .md file under agents/
  • New command — a new .md file under commands/
  • Modified skill/agent/command — updated existing files
  • Deleted skill/agent/command — removed files

Report the inventory to the user before proceeding.


Step 2: Cross-platform CLI sync

Ensure all platforms have compatible versions of every skill, agent, and command.

2a. Codex CLI

Run the Codex sync script to regenerate symlinks and the skills index:

python3 scripts/sync-codex-skills.py --verbose

Verify the output: check .codex/skills-index.json for correct total_skills count and that new skills appear in the index.

2b. Gemini CLI

Run the Gemini sync script:

python3 scripts/sync-gemini-skills.py --verbose

Verify: check .gemini/skills-index.json for correct total count. New skills, agents, and commands should all have corresponding entries and symlinks under .gemini/skills/.

2c. OpenClaw

Verify that scripts/openclaw-install.sh will pick up the new skills. The install script uses the same directory structure, so no separate sync is needed — but confirm the new skill directories are not excluded by any filter in the script.

Report sync results (skill counts per platform) to the user.


Step 3: Claude Code plugin marketplace

3a. Domain-level plugin.json

For each domain that had changes, update the domain's .claude-plugin/plugin.json:

  • Update description with accurate skill/tool/reference counts
  • Update version if needed
  • Verify source paths are correct

Read the full file on GitHub · 229 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 · 229 lines · 7 tokens per session scan A eb557a7e4d02

Subscribe to this mod's changes

update-docs is a command published in the GitHub repository ArogyaReddy/alirezarezvani-claude-skills (31 stars, last pushed 5mo ago), licensed MIT. It adds 7 tokens to every session and 1,761 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to update-docs, differing in 0 lines, and is treated as a copy.