session-debrief

session-debrief is a skill for Claude Code from terrylica/cc-skills. It costs 31 tokens per session (2,004 once invoked), scanned A, original, MIT.

A tool for turning a Claude Code session into a handoff document, error investigation, or chronological summary. Claude Code is a coding assistant; a handoff document records enough context for another developer or session to continue the work.

In plain words
What is it for?
Use it to document a session for the next developer, inventory errors and anomalies, or produce a dense timeline of changes, discoveries, problems, and outcomes.
Why use it?
It prevents important decisions, failed commands, warnings, and unfinished tasks from being lost when a coding session ends. It also separates error investigation from a general timeline of events.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/terryli/eon/cc-skills.

Part of the devops-tools plugin — 24 skills shipped together , and of cc-skills

Good fit Use it to document a session for the next developer, inventory errors and anomalies, or produce a dense timeline of changes, discoveries, problems, and outcomes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add terrylica/cc-skills
Claude Code
/plugin install devops-tools

Made for: Claude Code.

Or install devops-tools, the plugin that ships this one along with the rest of its 24 skills.

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 session-debrief

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/session-debrief/github.svg)](https://agentmods.dev/skills/terrylica/cc-skills/session-debrief)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/session-debrief"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/session-debrief/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 session-debrief

Your own site · 80×15
<a href="https://agentmods.dev/skills/terrylica/cc-skills/session-debrief"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/session-debrief.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,004 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.00031 $0.02004
Opus 5 $0.00015 $0.01002
Sonnet 5 $0.00006 $0.00401
Haiku 4.5 $0.00003 $0.00200

Measured yesterday against content hash bc617aefda1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

session-debrief 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 yesterday.

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.

plugins/devops-tools/skills/session-debrief/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.

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

Execution Model — MANDATORY

You MUST use AskUserQuestion TWICE before spawning an Agent. Ask for the goal first, then the time range. Then spawn the Agent with resolved parameters.


Step 1 — Ask Which Goal

Use AskUserQuestion to present exactly these three choices:

Which analysis mode?

  1. Handoff Document — Exhaustive context for the next developer or Claude session continuing this work. Extracts every decision, file, command, gotcha, incomplete item, and next step. Multiple MiniMax chunks if needed for full coverage.
  2. Error Forensics — Complete inventory of every warning, error, deprecation, failed command, and anomaly that occurred — especially ones Claude acknowledged but ignored or deferred. Full verbatim detail with file paths and commands.
  3. Chronological Summary — Dense technical timeline of everything that happened: every decision, change, problem, discovery, and outcome in turn order. As concise as possible while capturing maximum events.

Step 2 — Ask Time Range

Use AskUserQuestion to ask:

How far back should sessions be included?

  • 48 hours (default — last 2 days)
  • 1 week (168 hours)
  • 1 month (720 hours)
  • Custom — enter any natural language like "3 days", "2 weeks", "5 hours", "since Monday"

Convert their answer to hours for --since <N>:

  • "3 days" → 72
  • "2 weeks" → 336
  • "5 hours" → 5
  • "since Monday" → calculate hours from now to last Monday

Step 3 — Spawn Agent

Agent(
  description: "Session analysis - Goal <N>: <name>",
  prompt: "Run session analysis for the current project. Execute:

    bun run $HOME/eon/cc-skills/plugins/devops-tools/scripts/session-debrief.ts \\
      --goal <1|2|3> \\
      --since <hours> \\
      --verbose

  Print all output exactly as-is. Do not filter or summarize.
  If the command fails, show the full error and suggest troubleshooting.",
  run_in_background: true
)

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. yesterday Changed bc617aefda1c
  2. 3d ago First seen · 204 lines · 31 tokens per session scan A 34d5d9dc6294

Subscribe to this mod's changes

session-debrief is a skill published in the GitHub repository terrylica/cc-skills (66 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 2,004 once invoked, about $0.0002 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-09-05.

Related

Other skills, from other repositories

android-development

Android development with Kotlin, Jetpack Compose, and modern Android architecture. Use when building Android apps, implementing Material Design, or following Android best practices.

travisjneuman/.claude · 33 tokens

email-systems

Transactional email (Resend, SendGrid, SES), templates (React Email, MJML), deliverability (SPF/DKIM/DMARC), and inboxing best practices. Use when building email infrastructure, designing templates, or troubleshooting deliverability.

travisjneuman/.claude · 55 tokens

customer-persona-builder

Data-driven customer persona development combining market research, user behavior analysis, and segmentation frameworks. Use when creating buyer personas, ideal customer profiles (ICPs), or user archetypes.

travisjneuman/.claude · 40 tokens

devops-cloud

DevOps, cloud infrastructure, and platform engineering. Use when working with AWS, GCP, Azure, Kubernetes, Terraform, CI/CD pipelines, or infrastructure as code.

travisjneuman/.claude · 38 tokens

generic-design-system

Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.

travisjneuman/.claude · 60 tokens

generic-code-reviewer

Review code for bugs, security vulnerabilities, performance issues, accessibility gaps, and CLAUDE.md workflow compliance. Supports any tech stack - HTML/CSS/JS, React, TypeScript, Node.js, Python, NestJS, Next.js, and more. Use when completing features, before commits, or reviewing pull requests.

travisjneuman/.claude · 70 tokens