context-summarization

context-summarization is a skill for Claude Code from bhaumikmaan/claude-code-master-skills. It costs 55 tokens per session (999 once invoked), scanned A, original, MIT.

A method for writing structured summaries of conversations and coding sessions. It preserves decisions, technical details, changes, errors, and unfinished work so another person or agent can continue.

In plain words
What is it for?
Use it for handoff notes, session recaps, context compaction, and documenting pending tasks or completed code changes.
Why use it?
It reduces the information lost when a session ends or context is shortened. The summary is designed to stand on its own without requiring the full conversation.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it for handoff notes, session recaps, context compaction, and documenting pending tasks or completed code changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bhaumikmaan/claude-code-master-skills/context-summarization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bhaumikmaan/claude-code-master-skills --skill context-summarization
Clone the repo
git clone --depth 1 https://github.com/bhaumikmaan/claude-code-master-skills

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 context-summarization

README.md
[![agentmods](https://agentmods.dev/badge/skills/bhaumikmaan/claude-code-master-skills/context-summarization/github.svg)](https://agentmods.dev/skills/bhaumikmaan/claude-code-master-skills/context-summarization)
Your own site
<a href="https://agentmods.dev/skills/bhaumikmaan/claude-code-master-skills/context-summarization"><img src="https://agentmods.dev/badge/skills/bhaumikmaan/claude-code-master-skills/context-summarization/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 context-summarization

Your own site · 80×15
<a href="https://agentmods.dev/skills/bhaumikmaan/claude-code-master-skills/context-summarization"><img src="https://agentmods.dev/badge/skills/bhaumikmaan/claude-code-master-skills/context-summarization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 999 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.00055 $0.00999
Opus 5.5 $0.00022 $0.00400
Sonnet 5.5 $0.00011 $0.00200
Haiku 4.5 $0.00006 $0.00100

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

Security

Grade A, and why

context-summarization 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 2mo 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.

skills/context-summarization/SKILL.md · 104 lines

How it starts

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

Context Summarization

CRITICAL: Respond with TEXT ONLY. Do NOT call any tools. You already have all the context you need in the conversation. Tool calls will waste your turn.

Two-Phase Output

Always produce two blocks:

  1. <analysis> -- Your private scratchpad. Chronologically walk through the conversation, ensuring every point is covered. This block is stripped before the summary reaches anyone.
  2. <summary> -- The structured artifact others will read. Must stand alone without the analysis.

Analysis Phase

In your <analysis> block:

  1. Chronologically analyze each message and section. For each, thoroughly identify:
    • The user's explicit requests and intents
    • Your approach to addressing them
    • Key decisions, technical concepts, and code patterns
    • Specific details: file names, full code snippets, function signatures, file edits
    • Errors encountered and how they were fixed
    • Specific user feedback, especially corrections ("do it differently")
  2. Double-check for technical accuracy and completeness.

Summary Schema

Your <summary> must include these sections:

1. Primary Request and Intent

Capture all of the user's explicit requests and intents in detail.

2. Key Technical Concepts

List all important technologies, frameworks, and patterns discussed.

3. Files and Code Sections

Enumerate specific files examined, modified, or created. For each:

  • Why this file is important
  • Summary of changes made (if any)
  • Important code snippets (include them -- they survive compaction, your memory doesn't)

4. Errors and Fixes

Every error encountered, how it was fixed, and any user feedback on the fix.

5. Problem Solving

Problems solved and any ongoing troubleshooting.

6. All User Messages

List ALL non-tool-result user messages. These are critical for understanding changing intent.

7. Pending Tasks

Tasks explicitly asked for that are not yet complete.

8. Current Work

Precisely what was being worked on immediately before this summary. Include file names and code snippets.

Read the full file on GitHub · 104 lines

Files

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.

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. 2mo ago First seen · 104 lines · 55 tokens per session scan A 454e530f24ac

Subscribe to this mod's changes

context-summarization is a skill published in the GitHub repository bhaumikmaan/claude-code-master-skills (3 stars, last pushed 7mo ago), licensed MIT. It adds 55 tokens to every session and 999 once invoked, about $0.0002 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-31.