docs-sync

docs-sync is a skill for Claude Code, Codex from LeeYudok/agents-scaffold. It costs 106 tokens per session (1,360 once invoked), scanned A, original, MIT.

A documentation review that compares statements in README files and project instructions with the current code, command output, and official documentation. It updates related language versions or files together when needed.

In plain words
What is it for?
Use it after changing code, configuration, presets, commands, paths, versions, thresholds, or generated files, and before opening a pull request that depends on updated documentation.
Why use it?
Documentation can become outdated even when automated tests still pass. This check prevents incorrect paths, defaults, versions, numbers, and claims about automatic behavior from misleading developers.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/leeyudok/agents-scaffold/docs-sync
Any agent
npx skills add LeeYudok/agents-scaffold --skill docs-sync
Clone the repo
git clone --depth 1 https://github.com/LeeYudok/agents-scaffold

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/docs-sync.svg)](https://agentmods.dev/skills/leeyudok/agents-scaffold/docs-sync)
Your own site
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/docs-sync"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/docs-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,360 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00106 $0.01360
Opus 5 $0.00053 $0.00680
Sonnet 5 $0.00021 $0.00272
Haiku 4.5 $0.00011 $0.00136

Measured 4d ago against content hash 1717e1f1c686, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 4d 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.

.claude/skills/docs-sync/SKILL.md · 97 lines

How it starts

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

문서 현행화 (docs-sync)

문서 stale 은 자동 게이트에 걸리지 않는다. 링크 체커는 깨진 링크만 보고, 테스트 스위트는 문서를 읽지 않는다. 그래서 절차로 잡는다.

원칙

  • 주장 단위로 검증한다. 문서를 "읽고 자연스러운지" 보는 게 아니라, 문장이 담은 검증 가능한 주장(경로·버전·수치·동작·기본값)을 뽑아 실제와 대조한다.
  • 근거 없이 고치지 않는다. 파일:라인, 명령 출력, 공식문서 URL 중 하나가 있어야 한다. 확인 못 한 건 지우지 말고 "미검증"으로 명시한다 — 조용히 삭제하면 정보가 사라진다.
  • 낙관적 서술 금지. 부분만 동작하면 "동작한다"고 쓰지 않는다. 되는 범위와 안 되는 범위를 나눠 쓴다.

절차

1. 변경 범위 추출

git log --oneline <last-doc-commit>..HEAD
git diff --stat <last-doc-commit>..HEAD

문서에 영향 주는 변경만 추린다 — CLI 플래그·기본값, 파일/디렉터리 경로, 생성 산출물, 버전, 임계값·수치, 게이트 동작, 지원 범위.

2. 문서의 검증 가능한 주장 수집

대상: README*, AGENTS.md, CLAUDE.md, 각 디렉터리 README.md, 스킬/에이전트 문서.

grep -rn '`[^`]*/`\|버전\|기본값\|default\|v[0-9]\+\.[0-9]' README*.md docs/ 2>/dev/null

특히 낡기 쉬운 것: 디렉터리 트리 블록(신규 산출물 누락), 버전 표기, "자동으로 ~한다" 류 동작 서술, 지원 매트릭스.

3. 주장별 대조

주장 유형 검증 방법
경로·파일 존재 ls / find — 실제 생성물 기준, 소스 트리 아님
CLI 플래그·기본값 <cmd> --help 실행. 문서 인용 금지, 출력이 근거
도구 버전 <cmd> --version 실측 + 실측 일자 병기
동작("자동 로드한다") 해당 도구 공식문서 URL. 없으면 "문서 근거 없음"으로 표기
수치·임계값 코드에서 grep 하거나 실제 산출물 측정(wc -c 등)
게이트 동작 실제로 실행해서 exit code 확인

4. 다국어·짝 파일 동시 갱신 (필수)

한쪽만 고치면 나머지가 stale 이 되는데 어떤 게이트에도 안 걸린다.

ls README*.md                       # 다국어 README 전량
ls presets/lang-en/ 2>/dev/null     # 언어 오버레이 존재 여부
  • README 를 고쳤으면 존재하는 언어판 전부를 같은 커밋에서. 이 저장소 기준 README.md(영문) · README.ko.md · README.zh.md · README.ja.md 4종이다.
  • .claude/** 베이스 파일을 고쳤으면 presets/lang-en/ 의 대응 파일도 같은 커밋에서.
  • 번역이 아니라 같은 사실의 각 언어판 — 수치·버전·경로·표 구조는 동일하게 유지한다.
  • 언어별로 원문이 달라 일괄 치환이 깨진다. 파일마다 grep -n 으로 교체 대상을 먼저 확인한다.

5. 게이트 실행

python3 .claude/scripts/knowledge_graph.py --check   # 깨진 링크 0 확인

문서만 고쳤어도 테스트 스위트를 한 번 돌린다 — 문서에 인용된 명령·경로가 테스트와 어긋나 있으면 여기서 드러난다.

6. 보고

정정한 주장을 이전 → 이후 + 근거 형태로 나열한다. "README 를 갱신했다" 같은 요약만 남기지 않는다. 확인 못 해 "미검증"으로 남긴 항목도 함께 보고한다.

완료 기준

Read the full file on GitHub · 97 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. 4d ago First seen · 97 lines · 106 tokens per session scan A 1717e1f1c686

Subscribe to this mod's changes

docs-sync is a skill published in the GitHub repository LeeYudok/agents-scaffold (25 stars, last pushed 5d ago), licensed MIT. It adds 106 tokens to every session and 1,360 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-30.