med-paper-assistant: Skill for Claude Code

.claude/skills/git-doc-updater/SKILL.md

git-doc-updater is a skill for Claude Code from u9401066/med-paper-assistant. It costs 29 tokens per session (277 once invoked), scanned A, original, Apache-2.0.

A workflow for keeping project documentation aligned with code changes before a Git commit, which is a saved checkpoint in a project's history.

In plain words
What is it for?
Use it to decide when to update the README, CHANGELOG, ROADMAP, and memory-bank files based on the files changed in a commit.
Why use it?
It reduces the chance that README files, change logs, roadmaps, or progress notes become outdated after code changes.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is u9401066/med-paper-assistant's own configuration. It tells Claude Code how to work on med-paper-assistant itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything med-paper-assistant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/med-paper-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/u9401066/med-paper-assistant/master/.claude/skills/git-doc-updater/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/med-paper-assistant

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 git-doc-updater

README.md
[![agentmods](https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/git-doc-updater/github.svg)](https://agentmods.dev/skills/u9401066/med-paper-assistant/git-doc-updater)
Your own site
<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/git-doc-updater"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/git-doc-updater/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 git-doc-updater

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/med-paper-assistant/git-doc-updater"><img src="https://agentmods.dev/badge/skills/u9401066/med-paper-assistant/git-doc-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 277 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.00029 $0.00277
Opus 5 $0.00015 $0.00138
Sonnet 5 $0.00006 $0.00055
Haiku 4.5 $0.00003 $0.00028

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

Security

Grade A, and why

git-doc-updater 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 10d 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/git-doc-updater/SKILL.md · 29 lines

What it actually says

Git 文檔自動更新技能

觸發:更新文檔、sync docs、準備發布、被 git-precommit 自動調用

工具:read_filereplace_string_in_fileget_changed_filesmemory_bank_update_progress


更新對應

文檔 更新條件 調用 Skill
README.md 新功能/依賴變更 readme-updater
CHANGELOG.md 任何代碼變更 changelog-updater
ROADMAP.md 完成里程碑 roadmap-updater
memory-bank/ 每次提交 memory-updater

工作流

  1. get_changed_files() 分析變更
  2. 判斷更新:src/ 新檔→README、pyproject.toml→README 安裝、任何變更→CHANGELOG、ROADMAP 項目→ROADMAP
  3. 依序呼叫對應 Skill
  4. memory_bank_update_progress() 同步
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. 10d ago First seen · 29 lines · 29 tokens per session scan A 17b533a9d2e7

Subscribe to this mod's changes

git-doc-updater is a skill published in the GitHub repository u9401066/med-paper-assistant (12 stars, last pushed 9d ago), licensed Apache-2.0. It adds 29 tokens to every session and 277 once invoked, about $0.0001 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.