dok3-docs-sync

dok3-docs-sync is a skill for Claude Code from LeeYudok/agents-scaffold. It costs 196 tokens per session (3,810 once invoked), scanned A, original, MIT.

A documentation-checking workflow that compares README files, agent instructions, rules, and other project docs with the current code, settings, and file layout.

In plain words
What is it for?
Use it after moving or deleting directories, changing ports or dependencies, merging a large refactor, or before submitting a change that alters documented behaviour.
Why use it?
It finds stale paths, commands, versions, and other claims after changes, so an agent or developer is less likely to follow instructions that are no longer true.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is <레포 검증기들> # AGENTS.yaml 검증기, 링크 검사(python3 .claude/scripts/knowledge_graph.py --check) 등.

Part of the yd-skills plugin — 20 skills shipped together

Good fit Use it after moving or deleting directories, changing ports or dependencies, merging a large refactor, or before submitting a change that alters documented behaviour.

Compare 6 skills 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/LeeYudok/agents-scaffold
agentmods
npx agentmods add skills/leeyudok/agents-scaffold/dok3-docs-sync

Made for: Claude Code.

Or install yd-skills, the plugin that ships this one along with the rest of its 20 skills.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeyudok/agents-scaffold/dok3-docs-sync"><img src="https://agentmods.dev/badge/skills/leeyudok/agents-scaffold/dok3-docs-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 196 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,810 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.00196 $0.03810
Opus 5.5 $0.00078 $0.01524
Sonnet 5.5 $0.00039 $0.00762
Haiku 4.5 $0.00020 $0.00381

Measured today against content hash 7ac14776c150, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dok3-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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/find_stale_refs.py, tests/test_find_stale_refs.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/yd-skills/skills/dok3-docs-sync/SKILL.md · 186 lines

How it starts

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

dok3-docs-sync

코드는 빌드와 테스트가 지켜 주지만 문서는 아무도 지켜 주지 않는다. 디렉터리를 지우거나 옮기면 그 경로를 가리키던 지침·README·규칙이 조용히 거짓이 된다. 에이전트는 그 문서를 읽고 없는 파일을 찾거나 지운 명령을 다시 돌린다.

이 스킬은 바뀐 실제에 문서를 맞춘다. 판단 기준은 언제나 코드·설정·파일시스템과 실제 실행 결과다. 문서끼리 맞추는 것이 아니다.

원칙

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

경계

대상 맡는 스킬
에이전트 영속 메모리의 사실 감사 dok3-memory-factcheck (이 스킬은 경로 참조만 같이 고친다)
AGENTS.yaml 처음 세팅·구조 변경 dok3-agents-yaml (이 스킬은 기존 값이 실제와 맞는지만 본다)
프로젝트 전용 대조표 레포에 *-doc-sync 같은 프로젝트 스킬이 있으면 그 대조표를 먼저 따른다
고친 문장·보고서·이슈/MR 본문의 문장 정리 dok3-writer-kr (이 스킬은 무엇을 고칠지 정하고, 문장은 그 규칙으로 쓴다)
이슈·커밋·MR 레포 워크플로(AGENTS.md). GitLab 에이전트 계정을 쓰면 옵트인 dok3-git-ship

워크플로

1. 범위 정하기

무엇이 바뀌었는지부터 확정한다. 추측으로 범위를 넓히지 않는다.

git log --oneline -15                          # 기준점 찾기
git diff --name-status -M <기준> HEAD | head    # 무엇이 지워지고 옮겨졌나
  • 기준점은 사용자가 말한 커밋·MR, 없으면 문서를 마지막으로 맞춘 머지 직전 커밋이다.
  • 레포의 프로젝트 스킬·AGENTS.md·.claude/rules/ 에 문서 갱신 규칙(어떤 코드가 바뀌면 어떤 문서를 고치는지)이 있으면 읽고 그대로 따른다.

2. 드리프트 뽑기 — 스크립트 먼저

손 grep 보다 스크립트가 먼저다. 사람이 짠 정규식은 하위 프로젝트의 같은 이름 경로 (ews-v3/web/src 를 가리키는 web/src)를 지운 경로로 오인한다.

S=<이 스킬>/scripts/find_stale_refs.py
python3 $S --removed-since <기준>            # 지워지거나 옮겨진 경로를 가리키는 줄
python3 $S                                  # 전체 존재 검사(첫 조각이 레포에 있는 경로만)
python3 $S --exclude 'model-source/*' --json  # 보존본 제외, 기계 처리용
  • 추적 중인 문서(*.md·*.yaml·*.toml·AGENTS*·CLAUDE* 등)만 본다. 코드의 경로 문자열은 빌드·테스트 몫이다.
  • 전체 존재 검사는 첫 경로 조각이 지금 레포에 있는 토큰만 본다(다른 레포 경로 소음을 줄이려고). 최상위 폴더를 통째로 지웠다면 반드시 --removed-since 로 잡는다.
  • 레포 어딘가에 실제로 있는 경로(하위 프로젝트 기준 상대경로, docs/12 같은 번호 축약)는 빼고 보고한다. 옮겨진 경로는 renamed -> 새 경로 로 알려 준다.
  • 종료 코드는 current 가 있으면 1, history 만 남으면 0, git·인자 오류는 2 다. 1 은 스크립트가 고장 났다는 뜻이 아니라 고칠 줄이 있다는 뜻이다. --strict 는 history 도 1 로 센다.
  • 스크립트가 못 잡는 드리프트는 따로 확인한다. 서술 종류마다 근거 원천이 정해져 있고, 문서끼리 맞추지 않는다.

Read the full file on GitHub · 186 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 186 lines · 196 tokens per session scan A 7ac14776c150

Subscribe to this mod's changes

dok3-docs-sync is a skill published in the GitHub repository LeeYudok/agents-scaffold (40 stars, last pushed today), licensed MIT. It adds 196 tokens to every session and 3,810 once invoked, about $0.0008 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-11-30.

Related

dok3-docs-sync compared with skills from other repositories

dok3-docs-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dok3-docs-syncLeeYudok/agents-scaffoldSkill40todayMITA196Claude Code
reviewSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
code-reviewSpaceMalamute/ai-rulesSkill29mo agononeA15Claude Code
security-auditSpaceMalamute/ai-rulesSkill29mo agononeA14Claude Code
review-prSpaceMalamute/ai-rulesSkill29mo agononeA16Claude Code
memstack-development-code-reviewercwinvestments/memstackSkill43317d agoMITA75Claude Code
audit-agents-skillsFlorianBruniaux/claude-code-ultimate-guideSkill7.5ktodayCC-BY-SA-4.0A41Claude Code