Automated summary
Runs a diagnosis of the current Claude Code session through the `cozempic current --diagnose` command to report size, token count, and context usage.
Strengths
- Reports the exact token count (or a heuristic estimate) plus the percentage of the 200K context window consumed
- Breaks down bloat sources: progress ticks, file history snapshots, system reminders, thinking content, signatures, and tool results
- Lists the top 10 largest messages and estimates savings for the gentle, standard, and aggressive prescriptions
- Pairs the findings with a concrete prescription recommendation based on session size (under 5MB, 5-20MB, over 20MB)
Limitations
- Relies entirely on the external `cozempic` tool being installed and available
- Diagnoses only; it does not shrink the context, deferring that to `/cozempic:treat`
- Assumes a 200K context window, which may not match other models or setups
Reach for it when the user asks about session size or context usage, or when you notice the context window filling up.
Avoid it when the goal is to actually reduce context, since this skill only analyzes and points to `/cozempic:treat`.
Security analysis
SafeThe skill only instructs running a read-only diagnostic command via a narrowly scoped Bash(cozempic *) permission. It does not exfiltrate data, modify files, disable safeguards, or execute untrusted remote content.
No concerns found
How this analysis is madeExamples
How big is my current session? Can you show me the token count and how much of the context window I've used?I feel like my context is getting full — can you diagnose what's bloating this session and what's taking up the most space?Diagnose my session and tell me which prescription I should run to trim it down.name: diagnose description: Analyze Claude Code session bloat — shows token count, context usage %, and bloat breakdown. Use when the user asks about session size, context usage, or when you notice the context window is getting full. allowed-tools: Bash(cozempic *)
Run a diagnosis on the current session:
cozempic current --diagnose
The output includes:
- Weight: total session size in bytes and message count
- Tokens: exact token count (from usage data) or heuristic estimate
- Context bar: visual bar showing % of the 200K context window used
- Vital signs: progress ticks, file history snapshots, system reminders, thinking content, signatures, tool results
- Message type breakdown: bytes per message type
- Top 10 largest messages: biggest bloat contributors
- Estimated savings by prescription: what gentle/standard/aggressive would save
Always surface the token count and context % to the user. If context is above 60%, suggest running /cozempic:treat with a prescription recommendation:
- Under 5MB:
gentle - 5-20MB:
standard - Over 20MB:
aggressive
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/claude-code-session-diagnostic-mm5t8bbd/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/claude-code-session-diagnostic-mm5t8bbd' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/claude-code-session-diagnostic-mm5t8bbd/download' --output '.skill-downloads/claude-code-session-diagnostic-mm5t8bbd/SKILL.md.part' && mv '.skill-downloads/claude-code-session-diagnostic-mm5t8bbd/SKILL.md.part' '.skill-downloads/claude-code-session-diagnostic-mm5t8bbd/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(cozempic *)
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/claude-code-session-diagnostic-mm5t8bbd/SKILL.md' && test -s '.skill-downloads/claude-code-session-diagnostic-mm5t8bbd/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/diagnose' && cp -R '.skill-downloads/claude-code-session-diagnostic-mm5t8bbd' '.claude/skills/diagnose'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/claude-code-session-diagnostic-mm5t8bbd'openskills read 'claude-code-session-diagnostic-mm5t8bbd'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/claude-code-session-diagnostic-mm5t8bbd/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
PDF Reader
Productivity
Read and extract text from PDF files, including documents, reports, contracts, and spreadsheets. Works with local files, URLs, and WhatsApp attachments. Use whenever PDF content is needed, even if not explicitly requested.
Discord Messaging Workflows
Productivity
Use the message tool to send, edit, and moderate Discord messages with interactive components.
Interactive Verdict Preview
Productivity
Generate an interactive HTML preview of keep/drop verdicts for maintainer review, then process the pasted feedback JSON.