summary

summary is a skill for Claude Code from TechHU-GS/cc-discipline. It costs 23 tokens per session (536 once invoked), scanned A, original, MIT.

A procedure for preserving the important context of a coding session before shortening the conversation. It records the task state, decisions, constraints, and next steps.

In plain words
What is it for?
Use it before compacting a session. It checks the progress document, notes unfinished work and learnings, and produces a copyable summary option.
Why use it?
It reduces the chance that a shortened conversation will lose key project information or repeat rejected approaches.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

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.

agentmods
npx agentmods add skills/techhu-gs/cc-discipline/summary
Any agent
npx skills add TechHU-GS/cc-discipline --skill summary
Clone the repo
git clone --depth 1 https://github.com/TechHU-GS/cc-discipline

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 summary

README.md
[![agentmods](https://agentmods.dev/badge/skills/techhu-gs/cc-discipline/summary.svg)](https://agentmods.dev/skills/techhu-gs/cc-discipline/summary)
Your own site
<a href="https://agentmods.dev/skills/techhu-gs/cc-discipline/summary"><img src="https://agentmods.dev/badge/skills/techhu-gs/cc-discipline/summary.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 536 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00023 $0.00536
Opus 5 $0.00012 $0.00268
Sonnet 5 $0.00005 $0.00107
Haiku 4.5 $0.00002 $0.00054

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

Security

Grade A, and why

summary 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 5d 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/summary/SKILL.md · 49 lines

How it starts

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

You are about to compact this session. A bad compact loses critical context and degrades work quality. Your job is to write a compact option that preserves what matters most.

What to do

1. Scan current session state

Quickly identify:

  • What task(s) are we working on? What's the overall goal?
  • What decisions have been made and why?
  • What approaches were tried and rejected (and why)?
  • What is the current state of implementation? (done / in progress / blocked)
  • What are the key constraints and gotchas discovered?
  • What are the next steps?

2. Check knowledge files

Read docs/progress.md — is it up to date? If not, update it NOW before compacting. This is your primary insurance against context loss.

Also check: are there unsaved learnings that should go into memory?

3. Write the compact option

Output a compact option string that the user can copy into /compact [option]. The string should:

  • Lead with the current task and its status
  • Include key decisions with their reasoning (not just the decision)
  • Include rejected approaches (so Claude doesn't retry them)
  • Include discovered constraints and gotchas
  • Include the immediate next steps
  • Be specific — "working on auth" is useless, "refactoring OAuth2 token refresh in src/auth/refresh.ts because the current implementation doesn't handle token rotation, decided to use sliding window approach over fixed expiry" is useful

Format:

/compact [your option string here]

Rules

  • Be specific, not generic. Every word in the option should carry information that helps post-compact Claude continue at full quality.
  • Include the "why", not just the "what". "Using approach A" is less useful than "Using approach A because B had race condition issues we discovered in message #45."
  • Include negative knowledge. What NOT to do is as valuable as what to do. "Don't use the built-in cache — it doesn't support TTL, we already tested this."
  • Keep it under 500 words. The option needs to be dense, not exhaustive. If you need more, put the details in progress.md and reference it.
  • Don't overlap with progress.md. The option should complement progress.md, not duplicate it. Focus the option on session-specific context that progress.md might not capture (conversation dynamics, user preferences expressed this session, subtle constraints).

Read the full file on GitHub · 49 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. 5d ago First seen · 49 lines · 23 tokens per session scan A ccf598d2f3c7

Subscribe to this mod's changes

summary is a skill published in the GitHub repository TechHU-GS/cc-discipline (0 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 536 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-31.