don-cheli-sdd: Skill for Claude Code

.agent/skills/doncheli-context-health/SKILL.md

doncheli-context-health is a skill for Claude Code from doncheli/don-cheli-sdd. It costs 52 tokens per session (450 once invoked), scanned A, original, Apache-2.0.

A context-window report estimates how much of an AI coding session's available working text is being used. It identifies large files, repeated content, and outputs that take up space, then suggests cleanup or compression.

In plain words
What is it for?
It helps check context usage, find expensive items, decide which processed files or outputs can be summarized, and determine whether the next task should be isolated.
Why use it?
It helps avoid running out of room during a long coding session. It shows what is consuming space without removing anything automatically.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

This is doncheli/don-cheli-sdd's own configuration. It tells Claude Code how to work on don-cheli-sdd 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 don-cheli-sdd configures →

Part of the don-cheli-sdd plugin — 28 skills, 115 commands, 1 agent shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to doncheli/don-cheli-sdd. 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/doncheli/don-cheli-sdd/main/.agent/skills/doncheli-context-health/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/doncheli/don-cheli-sdd

Made for: Claude Code.

Or install don-cheli-sdd, the plugin that ships this one along with the rest of its 28 skills, 115 commands, 1 agent.

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 doncheli-context-health

README.md
[![agentmods](https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-context-health/github.svg)](https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-context-health)
Your own site
<a href="https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-context-health"><img src="https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-context-health/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 doncheli-context-health

Your own site · 80×15
<a href="https://agentmods.dev/skills/doncheli/don-cheli-sdd/doncheli-context-health"><img src="https://agentmods.dev/badge/skills/doncheli/don-cheli-sdd/doncheli-context-health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 450 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00052 $0.00450
Opus 5 $0.00026 $0.00225
Sonnet 5 $0.00010 $0.00090
Haiku 4.5 $0.00005 $0.00045

Measured 12d ago against content hash 2e9bf709f89c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

doncheli-context-health 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 12d 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

Copies of this mod

1 near-identical copy found in the catalogue:

.agent/skills/doncheli-context-health/SKILL.md · 52 lines

What it actually says

Don Cheli: Context Health Monitor

Instructions

  1. Estimate the current context window usage based on:
    • Files loaded in the current session
    • Conversation length (turns × average tokens)
    • Any large outputs already in context
  2. Report usage as a percentage of the model's context limit
  3. Apply thresholds from the global rules:
    • 50K tokens in a result → recommend isolating in subagent

    • 200K session tokens → recommend summarizing and compressing context

  4. Identify the highest-cost items in the current context:
    • Large file reads
    • Repeated content
    • Verbose tool outputs that could be summarized
  5. Recommend specific actions:
    • Which files can be evicted (already processed)
    • Which outputs should be summarized
    • Whether a subagent should handle the next task
  6. If context is healthy (< 40% used), confirm and suggest no action
  7. Never truncate or discard context without explicit user confirmation

Output Format

## Context Health — 2026-03-28T16:00Z

### Usage Estimate
- Current session: ~85K tokens
- Model limit: 200K tokens
- Usage: 42% ✅ (healthy)

### Largest Items
1. src/payments/processor.ts full read — ~8K tokens (can evict — already analyzed)
2. Test run output from 14:32 — ~12K tokens (can summarize — report saved)
3. Conversation history — ~18K tokens (normal)

### Recommendations
- No immediate action required
- If you add 3+ more large files, consider /dc:destilar to compress session notes
- Next heavy task: use a subagent to isolate output

### Warning Threshold
Will warn again at 70% usage (~140K tokens)
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. 12d ago First seen · 52 lines · 52 tokens per session scan A 2e9bf709f89c

Subscribe to this mod's changes

doncheli-context-health is a skill published in the GitHub repository doncheli/don-cheli-sdd (57 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 52 tokens to every session and 450 once invoked, about $0.0003 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-30.