doncheli-context-health

doncheli-context-health is a skill for Claude Code, Codex from Bilal140202/the-lord-of-the-skills. It costs 52 tokens per session (450 once invoked), scanned A, a copy of doncheli-context-health, MIT.

A monitor for the amount of information currently held in an agent's context window. It estimates usage, finds the largest items, and suggests compression or cleanup.

In plain words
What is it for?
Use it to check context usage, find expensive files or outputs, decide what to summarize, and determine whether another agent should handle the next task.
Why use it?
It helps prevent important work from being crowded out as a conversation grows. It also indicates when files or long outputs can be summarized or removed from active context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to check context usage, find expensive files or outputs, decide what to summarize, and determine whether another agent should handle the next task.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bilal140202/the-lord-of-the-skills/doncheli__don-cheli-sdd
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 Bilal140202/the-lord-of-the-skills --skill doncheli__don-cheli-sdd
Clone the repo
git clone --depth 1 https://github.com/Bilal140202/the-lord-of-the-skills

Made for: Claude Code, Codex.

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/bilal140202/the-lord-of-the-skills/doncheli__don-cheli-sdd/github.svg)](https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/doncheli__don-cheli-sdd)
Your own site
<a href="https://agentmods.dev/skills/bilal140202/the-lord-of-the-skills/doncheli__don-cheli-sdd"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/doncheli__don-cheli-sdd/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/bilal140202/the-lord-of-the-skills/doncheli__don-cheli-sdd"><img src="https://agentmods.dev/badge/skills/bilal140202/the-lord-of-the-skills/doncheli__don-cheli-sdd.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.
Origin 100% copy Near-identical to another mod 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-12, 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

This is a copy

100% identical to doncheli-context-health — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/fangorn/claude-code/doncheli__don-cheli-sdd/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 Bilal140202/the-lord-of-the-skills (4 stars, last pushed 6d ago), licensed MIT. 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. It is 100% identical to doncheli-context-health, differing in 0 lines, and is treated as a copy.