sync-docs

sync-docs is a skill for Claude Code from ruchernchong/claude-kit. It costs 15 tokens per session (430 once invoked), scanned A, original, MIT.

A documentation maintenance tool for CLAUDE.md project instructions and README.md files. These files explain how to set up, use, and work on a code project.

In plain words
What is it for?
Use it to update setup steps, build and test commands, usage examples, links, project structure, and development instructions.
Why use it?
It helps prevent documentation from becoming inaccurate when files, commands, dependencies, or project practices change.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to update setup steps, build and test commands, usage examples, links, project structure, and development instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ruchernchong/claude-kit/sync-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 ruchernchong/claude-kit --skill sync-docs
Clone the repo
git clone --depth 1 https://github.com/ruchernchong/claude-kit

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ruchernchong/claude-kit/sync-docs/github.svg)](https://agentmods.dev/skills/ruchernchong/claude-kit/sync-docs)
Your own site
<a href="https://agentmods.dev/skills/ruchernchong/claude-kit/sync-docs"><img src="https://agentmods.dev/badge/skills/ruchernchong/claude-kit/sync-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.

agentmods 80×15 button for sync-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/ruchernchong/claude-kit/sync-docs"><img src="https://agentmods.dev/badge/skills/ruchernchong/claude-kit/sync-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 430 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.00015 $0.00430
Opus 5.5 $0.00006 $0.00172
Sonnet 5.5 $0.00003 $0.00086
Haiku 4.5 $0.00002 $0.00043

Measured 1mo ago against content hash 6b195f3d9a14, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sync-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 1mo 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/sync-docs/SKILL.md · 46 lines

What it actually says

Update and maintain project documentation for CLAUDE.md and README.md:

1. CLAUDE.md Management

Purpose: Keep Claude's project instructions current and accurate

  • Scan project structure: Check for new tools, scripts, build systems
  • Update build commands: Sync with package.json, Makefile, or build configs
  • Add new patterns: Document coding conventions, file organization
  • Refresh tool commands: Update linting, testing, deployment instructions
  • Check environment setup: Verify installation and setup steps

2. README.md Maintenance

Purpose: Keep public project documentation up-to-date

  • Update installation: Check dependencies, requirements, setup steps
  • Refresh usage examples: Verify code samples and API documentation
  • Validate links: Test external links, badges, and references
  • Update project status: Current features, roadmap, version info
  • Check screenshots/demos: Ensure visual examples are current

3. Smart Detection Process

  1. File existence: Create CLAUDE.md or README.md if missing
  2. Project analysis: Scan codebase for changes since last update
  3. Cross-reference: Compare project structure with documented instructions
  4. Outdated sections: Identify stale information automatically
  5. Consistency check: Ensure both files complement each other

4. Validation Steps

  • Run project commands mentioned in docs to verify they work
  • Test installation steps from scratch perspective
  • Validate all external links and references
  • Check that CLAUDE.md instructions match current project setup
  • Ensure README.md accurately represents current project state

Focus on keeping both files synchronized with the actual project state and useful for their respective audiences: Claude for CLAUDE.md, users/developers for README.md.

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. 1mo ago First seen · 46 lines · 15 tokens per session scan A 6b195f3d9a14

Subscribe to this mod's changes

sync-docs is a skill published in the GitHub repository ruchernchong/claude-kit (0 stars, last pushed 5mo ago), licensed MIT. It adds 15 tokens to every session and 430 once invoked, about $0.0001 per session on Opus 5.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-01.