Mmcp.market

doncheli-context-health skill

by doncheli·doncheli/don-cheli-sdd·57 stars·Apache-2.0

Report the current state of the context window and recommend compression or cleanup actions. Activate when user mentions "context health", "context window", "how much context", "context full", "running out of context", "compress context".

A100/100content scan

Is the doncheli-context-health skill safe?

Clean: nothing in its files matched our rules. We read 1 file in the folder on 2026-09-28.

No findings.

Install the doncheli-context-health skill

A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.

git clone --depth 1 https://github.com/doncheli/don-cheli-sdd.git /tmp/don-cheli-sdd
mkdir -p ~/.claude/skills
cp -r /tmp/don-cheli-sdd/.opencode/skills/doncheli-context-health ~/.claude/skills/doncheli-context-health
available in every project

In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub

The instructions your agent would load

SKILL.md as published, without the frontmatter. Read it on GitHub

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
  1. Report usage as a percentage of the model's context limit
  2. Apply thresholds from the global rules:
  • > 50K tokens in a result → recommend isolating in subagent
  • > 200K session tokens → recommend summarizing and compressing context
  1. Identify the highest-cost items in the current context:
  • Large file reads
  • Repeated content
  • Verbose tool outputs that could be summarized
  1. Recommend specific actions:
  • Which files can be evicted (already processed)
  • Which outputs should be summarized
  • Whether a subagent should handle the next task
  1. If context is healthy (< 40% used), confirm and suggest no action
  2. 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)

More skills from doncheli/don-cheli-sdd

  • Adoncheli-api-contractDesign complete API contracts covering endpoints, auth, rate limiting, error handling, retries, circuit breaker and idempotency. Activate when user mentions "api contract", "api design", "endpoint", "webhook", "REST", "GraphQL", "OpenAPI", "design the API".
  • Adoncheli-api-contractDesign complete API contracts covering endpoints, auth, rate limiting, error handling, retries, circuit breaker and idempotency. Activate when user mentions "api contract", "api design", "endpoint", "webhook", "REST", "GraphQL", "OpenAPI", "design the API".
  • Adoncheli-audit-trailRecord and query the decision log for a project. Activate when user mentions "audit", "trail", "log decisions", "decision history", "why was this decided", "ADR", "architecture decision".
  • Adoncheli-audit-trailRecord and query the decision log for a project. Activate when user mentions "audit", "trail", "log decisions", "decision history", "why was this decided", "ADR", "architecture decision".
  • Adoncheli-changelogAuto-generate CHANGELOG.md entries from git commit history. Activate when user mentions "changelog", "release notes", "what changed", "generate changelog", "CHANGELOG", "release history".
  • Adoncheli-changelogAuto-generate CHANGELOG.md entries from git commit history. Activate when user mentions "changelog", "release notes", "what changed", "generate changelog", "CHANGELOG", "release history".
  • Adoncheli-context-healthReport the current state of the context window and recommend compression or cleanup actions. Activate when user mentions "context health", "context window", "how much context", "context full", "running out of context", "compress context".
  • Adoncheli-data-policyAudit and document what personal or sensitive data the project collects, processes, and stores. Activate when user mentions "privacy", "data policy", "what data", "GDPR", "personal data", "data retention", "PII".
  • Adoncheli-data-policyAudit and document what personal or sensitive data the project collects, processes, and stores. Activate when user mentions "privacy", "data policy", "what data", "GDPR", "personal data", "data retention", "PII".
  • Adoncheli-debateRun an adversarial multi-role debate to surface trade-offs and reach a reasoned decision. Activate when user mentions "debate", "discuss", "trade-off", "decision", "compare options", "pros and cons", "choose between".
  • Adoncheli-debateRun an adversarial multi-role debate to surface trade-offs and reach a reasoned decision. Activate when user mentions "debate", "discuss", "trade-off", "decision", "compare options", "pros and cons", "choose between".
  • Adoncheli-diagramAuto-generate Mermaid or C4 diagrams from code analysis. Activate when user mentions "diagram", "mermaid", "architecture diagram", "C4", "class diagram", "sequence diagram", "ERD", "flowchart", "visualize code".

All agent skills → · MCP servers