rootcause-mcp: Skill for Claude Code

.claude/skills/memory-checkpoint/SKILL.md

memory-checkpoint is a skill for Claude Code from u9401066/rootcause-mcp. It costs 0 tokens per session (2,060 once invoked), scanned A, a copy of memory-checkpoint, Apache-2.0.

A checkpoint helper that saves the important details of a coding conversation to a Memory Bank. It records current work, decisions, changed files, and remaining tasks.

In plain words
What is it for?
Use it before pausing work, after major progress, or when a conversation is getting long and you need to preserve project context.
Why use it?
Long conversations may be summarized, causing exact implementation details and reasoning to be lost. Saving a checkpoint gives the agent a durable reference for continuing later.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions AGENTS.md; 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/memory-checkpoint/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 memory-checkpoint

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/u9401066/rootcause-mcp/memory-checkpoint"><img src="https://agentmods.dev/badge/skills/u9401066/rootcause-mcp/memory-checkpoint.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 2,060 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.02060
Opus 5.5 $0.00000 $0.00824
Sonnet 5.5 $0.00000 $0.00412
Haiku 4.5 $0.00000 $0.00206

Measured 1mo ago against content hash 8d4a98bf5928, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memory-checkpoint 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.

Origin

This is a copy

100% identical to memory-checkpoint — 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/memory-checkpoint/SKILL.md · 286 lines

How it starts

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

Memory Checkpoint 技能 (記憶檢查點)

描述

在對話被 Summarize 壓縮前,主動將詳細記憶外部化到 Memory Bank,避免重要上下文遺失。

觸發條件

  • 「記憶檢查點」、「checkpoint」、「存檔」
  • 「保存記憶」、「外部化記憶」
  • 「sync memory」、「dump context」
  • 對話較長時主動觸發(建議每 10-15 輪對話或重大進展後)

⚠️ 為什麼需要這個 Skill?

當對話過長時,系統會自動 Summarize(摘要)對話歷史,可能導致:

  • 詳細的程式碼變更記錄被省略
  • 決策背後的討論脈絡遺失
  • 檔案路徑和具體實作細節模糊化
  • 需要花時間重建上下文

解決方案:在被 Summarize 前,主動將關鍵記憶寫入 memory-bank/ 目錄。


📋 Checkpoint 內容

1️⃣ activeContext.md - 當前工作焦點

## 當前工作焦點
<!-- 當前正在做什麼 -->

## 進行中的變更
<!-- 具體的檔案和修改 -->

## 待處理事項
<!-- 下一步要做什麼 -->

## 關鍵決策
<!-- 本次對話做的重要決定 -->

## 相關檔案
<!-- 涉及的檔案路徑列表 -->

2️⃣ progress.md - 進度追蹤

## Done (已完成)
- [x] 具體完成的事項(含檔案路徑)

## Doing (進行中)
- [ ] 正在進行的工作

## Next (下一步)
- [ ] 計劃要做的事項

3️⃣ decisionLog.md - 決策日誌

## YYYY-MM-DD

### 決策:[決策標題]
- **背景**:為什麼需要這個決定
- **選項**:考慮過的方案
- **決定**:最終選擇
- **原因**:選擇的理由

4️⃣ architect.md - 架構記錄(如有變更)

## 架構變更記錄

### YYYY-MM-DD: [變更標題]
- **變更內容**:
- **影響範圍**:
- **相關檔案**:

🚀 Checkpoint 執行步驟

自動執行(推薦)

當偵測到以下情況,AI 應主動執行 Checkpoint:

  1. 對話長度指標

    • 對話超過 10 輪
    • 累積修改超過 5 個檔案
    • 完成一個重要功能/修復
  2. 工作階段轉換

    • 從設計階段轉到實作
    • 完成一個 PR 或 Commit
    • 切換到不同的功能區塊
  3. 明確指標

    • 使用者說「先記一下」、「checkpoint」
    • 使用者說「等等繼續」、「我先去忙」

手動執行

使用者可隨時說:

  • 「記憶檢查點」
  • 「同步 memory bank」
  • 「存檔目前進度」

📝 Checkpoint 範本

Quick Checkpoint(快速檢查點)

更新 activeContext.md:

# Active Context

> Last checkpoint: 2024-XX-XX HH:MM

## 🎯 當前焦點
[一句話描述當前在做什麼]

## 📝 本次對話摘要
1. [做了什麼 1]
2. [做了什麼 2]
3. [做了什麼 3]

## 📁 變更的檔案
- `path/to/file1.py` - [變更摘要]
- `path/to/file2.ts` - [變更摘要]

## ⚠️ 待解決
- [ ] 問題 1
- [ ] 問題 2

## 💡 重要決定
- 決定 A:[原因]
- 決定 B:[原因]

## 🔜 下一步
1. [下一步 1]
2. [下一步 2]

Full Checkpoint(完整檢查點)

更新所有相關 Memory Bank 檔案:

memory-bank/
├── activeContext.md  ← 當前焦點 + 變更檔案
├── progress.md       ← Done/Doing/Next
├── decisionLog.md    ← 新決策(如有)
├── architect.md      ← 架構變更(如有)
├── productContext.md ← 技術棧變更(如有)
└── systemPatterns.md ← 新模式/慣例(如有)

Read the full file on GitHub · 286 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. 1mo ago First seen · 286 lines · 0 tokens per session scan A 8d4a98bf5928

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

vault-summarize

Use when the user asks to summarize, digest, or get an overview of a folder, project, or set of notes in their markdown vault — runs the vault's batched map-reduce recipe so note bodies stay out of the retained conversation context.

pvliesdonk/markdown-vault-mcp · 55 tokens

vault-workflow

Use when the user asks you to search, read, or reason about notes in their markdown vault — guides when to use which vault tool and how to chain them for good results.

pvliesdonk/markdown-vault-mcp · 40 tokens

second-brain-reflection

Systematically extract lessons from tasks, compress them into reusable rules, and store them in the appropriate memory tier (Local, Global, or Private). Use this skill at the end of every major mission or experiment to build your 'Second Brain'.

kinhluan/skills · 56 tokens

memory-checkpoint

A checkpoint process that copies important project context into Memory Bank files before a conversation is summarized. It records current work, completed and upcoming tasks, decisions, and architecture changes.

u9401066/template-is-all-you-need · 85 tokens

memory-updater

A method for maintaining project notes in a set of Memory Bank files, including current context, progress, and important decisions. The notes preserve project state between conversations.

u9401066/template-is-all-you-need · 89 tokens

mem0-oss-to-platform

Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…

mem0ai/mem0 · 217 tokens