rootcause-mcp: Skill for Claude Code

.claude/skills/readme-updater/SKILL.md

readme-updater is a skill for Claude Code from u9401066/rootcause-mcp. It costs 0 tokens per session (1,250 once invoked), scanned A, a copy of readme-updater, Apache-2.0.

Instructions for updating a project's README, the main guide that explains a software project, when its code changes. They define when the update should happen and what sections the document should contain.

In plain words
What is it for?
Use them after important code changes, during documentation work, or when a pre-commit process asks for the README to be synchronised.
Why use it?
They help keep setup steps, features, configuration, usage, and project structure from becoming out of date.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Codex.

This is u9401066/rootcause-mcp's own configuration. It tells Claude Code how to work on rootcause-mcp 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 rootcause-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to u9401066/rootcause-mcp. 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/rootcause-mcp/master/.claude/skills/readme-updater/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/u9401066/rootcause-mcp

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 readme-updater

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/readme-updater"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/readme-updater.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 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 100% copy Near-identical to another mod 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.00000 $0.01250
Opus 5 $0.00000 $0.00625
Sonnet 5 $0.00000 $0.00250
Haiku 4.5 $0.00000 $0.00125

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

Security

Grade A, and why

readme-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 9d 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.

Origin

This is a copy

100% identical to readme-updater — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/skills/readme-updater/SKILL.md · 204 lines

How it starts

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

README 更新技能

描述

智能更新 README.md,保持與程式碼變更同步。

觸發條件

  • 「更新 README」「readme」「文檔同步」
  • git-precommit 編排器調用
  • 新增重要功能後

法規依據

  • 憲法:CONSTITUTION.md 第 6 條

📁 README.md 建議結構

# 專案名稱

> 一句話描述

## ✨ 功能特色

- 🔥 功能 1
- 🚀 功能 2

## 📦 安裝

### 前置需求
- Node.js >= 18
- Python >= 3.11

### 安裝步驟
\`\`\`bash
npm install
\`\`\`

## 🚀 快速開始

\`\`\`bash
npm run dev
\`\`\`

## 📖 使用說明

### 基本用法
...

### 進階用法
...

## 📁 專案結構

\`\`\`
src/
├── domain/
├── application/
├── infrastructure/
└── presentation/
\`\`\`

## ⚙️ 設定

| 變數 | 說明 | 預設值 |
| ---- | ---- | ------ |
| PORT | 服務埠號 | 3000 |

## 🤝 貢獻

請參閱 CONTRIBUTING.md

## 📄 授權

MIT License

🔧 操作步驟

Step 1: 讀取現有 README

read_file("README.md")

Step 2: 分析變更內容

git-precommit 調用時:

get_changed_files()

或分析專案結構:

list_dir("src/")

Step 3: 判斷需要更新的區塊

變更類型 更新區塊 偵測方式
新功能 ✨ 功能特色 新增 feature 資料夾
新依賴 📦 安裝 pyproject.toml/package.json 變更
API 變更 📖 使用說明 公開 API 檔案變更
目錄變更 📁 專案結構 新增/移除主要資料夾
新設定 ⚙️ 設定 config 檔案變更

Step 4: 執行更新

使用 replace_string_in_file 精確更新:

新增功能到功能列表

oldString: "## ✨ 功能特色\n\n- 🔥 功能 1\n- 🚀 功能 2"
newString: "## ✨ 功能特色\n\n- 🔥 功能 1\n- 🚀 功能 2\n- 🔐 用戶認證(新)"

更新專案結構

oldString: "## 📁 專案結構\n\n```\nsrc/\n├── domain/"
newString: "## 📁 專案結構\n\n```\nsrc/\n├── domain/\n│   └── entities/"

🛡️ 保護區塊

以下區塊不應自動修改(需人工確認):

  • 📄 授權資訊(License)
  • 🤝 貢獻指南(Contributing)
  • 🙏 致謝(Acknowledgments)
  • 📜 免責聲明(Disclaimer)

🔄 與其他 Skills 整合

Skill 整合方式
git-precommit 自動調用,傳入變更資訊
readme-i18n 更新後同步多語言版本
changelog-updater 參考 CHANGELOG 新功能

📊 輸出格式

📝 README 更新報告

變更偵測:
- ✅ 新增功能:用戶認證模組
- ✅ 新增依賴:bcrypt

建議更新:
- [功能列表] 新增「🔐 用戶認證」
- [安裝說明] 新增 bcrypt 安裝指令

執行結果:
- ✅ README.md 已更新 (2 處變更)

📌 提醒:請檢查 readme-i18n 是否需要同步

⚠️ 注意事項

  1. 保持格式一致:使用 emoji 時要與現有風格一致
  2. 不要移除內容:只新增或更新,不主動刪除區塊
  3. 程式碼範例驗證:更新範例時確保語法正確
  4. 多語言同步:有 README.zh-TW.md 時需通知 readme-i18n

Read the full file on GitHub · 204 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. 9d ago First seen · 204 lines · 0 tokens per session scan A be46297de96a

Subscribe to this mod's changes

readme-updater is a skill published in the GitHub repository u9401066/rootcause-mcp (0 stars, last pushed 6d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,250 tokens. A static security scan graded it A with 0 findings. It is 100% identical to readme-updater, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories