Borrowing it
Nothing to install: this file belongs to shutootaki/gwm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/shutootaki/gwm/main/.claude/skills/docs-sync/SKILL.mdgit clone --depth 1 https://github.com/shutootaki/gwmWrote 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.
[](https://agentmods.dev/skills/shutootaki/gwm/docs-sync)<a href="https://agentmods.dev/skills/shutootaki/gwm/docs-sync"><img src="https://agentmods.dev/badge/skills/shutootaki/gwm/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.
<a href="https://agentmods.dev/skills/shutootaki/gwm/docs-sync"><img src="https://agentmods.dev/badge/skills/shutootaki/gwm/docs-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00154 | $0.02105 |
| Opus 5.5 | $0.00062 | $0.00842 |
| Sonnet 5.5 | $0.00031 | $0.00421 |
| Haiku 4.5 | $0.00015 | $0.00211 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
docs-sync: ドキュメント整合性チェック
ソースコード(SOURCE OF TRUTH)とドキュメント間のドリフトを検出し修正提案する。
ソースファイルマップ
| ファイル | 役割 |
|---|---|
src/cli/args.rs |
CLI定義(SOURCE OF TRUTH) |
src/config/types.rs |
設定型定義(SOURCE OF TRUTH) |
src/ui/views/help.rs |
TUIヘルプテキスト(同期先) |
README.md |
英語ドキュメント(同期先) |
README_JA.md |
日本語ドキュメント(同期先) |
チェック手順
5つのファイルを読み取り、以下6チェックを順に実施する。
オプションで scripts/extract-metadata.sh を先に実行し、機械的抽出結果を補助に使える。
Check 1: CLI Args → Help Text
args.rsの非hiddenコマンド/オプションがhelp.rsに正確に反映されているか確認する。
-
args.rsから抽出:
Commandsenumの非hiddenバリアント(hide = trueを除く)- 各Args構造体の非hiddenフィールドの
short/long/docコメント - コマンドエイリアス(
alias = "...")
-
help.rsの各定数(
GLOBAL,LIST,ADD,REMOVE,GO,CLEAN,SYNC,HELP)と比較:- 非hiddenオプションの欠落
- hiddenなのにhelp.rsに残っているオプション
- short/long形式の不一致
Check 2: CLI Args → README
READMEのCommand Referenceセクションがargs.rsと一致しているか確認する。
- Check 1で抽出した非hiddenコマンド/オプション一覧を使用
README.mdの## Commandsや各コマンドセクションと比較:- コマンド一覧テーブルの網羅性
- 各コマンドのオプション記載の正確性
- deprecated構文が例に含まれていないか
Check 3: Config Types → README
types.rsの全設定フィールドがREADMEに正しく記載されているか確認する。
-
types.rsから抽出:
Config構造体と全ネスト構造体のフィールド名- デフォルト値(
default_*関数とvirtual_env_defaults定数) - deprecatedフィールド(docコメントで明示)
-
README.mdの
Configuration Optionsテーブルと比較:- フィールドの欠落(特に
virtual_env_handlingセクション) - デフォルト値の不一致
- 設定例の構造が現在のスキーマと矛盾しないか
- フィールドの欠落(特に
既知の注意点:
CopyIgnoredFilesConfigのデフォルトはdefault_copy_enabled()=true,default_copy_patterns()=[".env", ".env.*", ".env.local", ".env.*.local"]default_exclude_patterns()=[".env.example", ".env.sample"]VirtualEnvConfigのデフォルトはvirtual_env_defaultsモジュール定数を参照
Check 4: README ↔ README_JA 構造整合
英語版と日本語版で同じコマンド・オプション・設定が記載されているか確認する。
README.mdとREADME_JA.mdの以下を構造的に比較(翻訳内容の正確性は対象外):
- Commandsテーブルの行数とコマンド名
- 各コマンドのオプションテーブルの行数とオプション名
- Configuration Optionsテーブルの行数と項目名
- セクション構成(h2, h3レベル)
Check 5: 環境変数の網羅性
コード内のGWM_プレフィックス環境変数がREADMEに記載されているか確認する。
What ships with it
1 file 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.
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.
- 1mo ago First seen · 168 lines · 154 tokens per session scan A 0648c9cb016d
docs-sync is a skill published in the GitHub repository shutootaki/gwm (20 stars, last pushed 8mo ago), licensed MIT. It adds 154 tokens to every session and 2,105 once invoked, about $0.0006 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-08-30.
Other skills, from other repositories
verify-change
Use after implementation, before final response.
expert-code-refactoring
Expert code refactoring for Java, JavaScript, and React projects. Focuses on SOLID principles, design patterns, and idiomatic improvements while ensuring test stability.
code-reviewer
Expert code reviewer specializing in code quality, security, performance, and maintainability across multiple programming languages. Use this skill when the user wants a PR review, code analysis, or suggestions for improvement. This skill includes proprietary checklists and a mandatory review template located in its…
hygiene
Use when making code changes to ensure they pass VS Code's hygiene checks. Covers the pre-commit hook, unicode restrictions, string quoting rules, copyright headers, indentation, formatting, ESLint, and stylelint. Run the hygiene check before declaring work complete.
pr-review
Checklist para abrir ou revisar pull request. Valida qualidade do código, spec, testes e segurança antes de abrir ou aprovar qualquer PR.
.claude
Review changes for correctness, tests, and generated-output drift. When Claude specific behavior is relevant, call out the generated .claude surface.