CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

claude-context-management

Comprehensive context management strategies for cost optimization and infinite-length conversations. Covers server-side clearing (tool results, thinking blocks), client-side SDK compaction (automatic summarization), and memory tool integration. Use when managing long conversations, optimizing token costs, preventing context overflow, or enabling continuous agentic workflows.

Quality

86%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

77%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers an actionable, well-sequenced workflow with executable examples and excellent reference structure, but it is let down by padded sections that re-teach Claude-known concepts and by time-sensitive model/version trivia embedded inline. Trimming those sections would lift the skill substantially.

Suggestions

Delete the 'Key Concepts' section and the 'The Problem/The Solution' framing: definitions like 'Context Window: Maximum tokens available for input + output' re-explain knowledge Claude already has and cost significant tokens for zero new information.

Remove the footer metadata ('Last Updated', 'Quality Score: 95/100', 'Citation Coverage') and move 'Supported Models' and dated beta info into a reference file or an explicitly framed version notes section, so time-sensitive details don't live in the main body.

Replace the 'messages=[...]' placeholder in the memory-integration example with a minimal concrete message so all three quick-start examples are fully copy-paste executable.

DimensionReasoningScore

Conciseness

The core workflow, decision tables, and quick-start code are efficient, but several sections pad the document: 'The Problem/The Solution' and 'Key Concepts' re-explain knowledge Claude already has (what a context window is, that tokens accumulate), 'Supported Models' embeds time-sensitive version info without a deprecated/old-patterns framing, and the 'Quality Score: 95/100' / 'Citation Coverage' / 'Last Updated' footer is pure padding. Mostly efficient with notable unnecessary sections, matching the 3 anchor rather than the 2 anchor since only roughly a fifth of the body is padding.

3 / 5

Actionability

Three near-complete Python examples with full parameter sets (trigger, keep, clear_at_least, exclude_tools, compaction_control), concrete tuning guidance (thresholds 50K-150K with a recommended band, keep 3-5), and measurable targets (30-50% token savings). It falls short of 5 because the memory-integration example uses 'messages=[...]', a non-executable placeholder that breaks copy-paste readiness.

4 / 5

Workflow Clarity

The 6-step workflow (assess, choose, configure, integrate memory, monitor, validate) is clearly sequenced, Step 6 includes an explicit validation checklist and an adjustment process with a 'repeat until optimal balance achieved' feedback loop, and Step 5 provides monitor-then-adjust optimization loops. No destructive or batch operations, so the validation cap does not apply; this matches the checklist-plus-feedback-loops 5 anchor.

5 / 5

Progressive Disclosure

The body is a genuine overview that signals four one-level-deep references in 'Next Steps', each annotated with its contents ('All 6 parameters explained', '3-stage workflow', etc.), and all four files exist in references/ with substantive matching content. Clear overview, well-signaled references, easy navigation matches the 5 anchor.

5 / 5

Total

17

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: third-person, specific about all three strategies, with an explicit 'Use when' trigger clause covering the main use cases. Its only weaknesses are a few missing natural trigger synonyms and mild overlap with sibling cost-optimization skills.

DimensionReasoningScore

Specificity

Names multiple concrete actions covering the skill's full scope: 'server-side clearing (tool results, thinking blocks)', 'client-side SDK compaction (automatic summarization)', and 'memory tool integration'. Coverage is comprehensive rather than leaving minor gaps, matching the 5 anchor; the leading word 'Comprehensive' is mild fluff but the enumerated specifics back it up.

5 / 5

Completeness

Explicitly answers both questions: the 'what' is the three named strategies, and the 'when' is an explicit multi-trigger 'Use when...' clause with concrete phrases. This matches the 5 anchor; it is well above the 4 anchor where the 'when' would only be weakly specified.

5 / 5

Trigger Term Quality

Triggers include natural phrases users would say: 'managing long conversations, optimizing token costs, preventing context overflow, or enabling continuous agentic workflows'. Good coverage, but common variations like 'context window limits', 'token usage', or 'reduce costs' are missing, so it falls short of the comprehensive-synonyms anchor at 5.

4 / 5

Distinctiveness Conflict Risk

The context-management niche (server-side clearing, SDK compaction, memory tool) is mostly distinct with specific triggers, but 'cost optimization' / 'optimizing token costs' overlaps with the closely related claude-cost-optimization skill referenced in the body. Minor overlap risk with a sibling skill fits the 4 anchor rather than the minimal-conflict 5 anchor.

4 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

fernandezbaptiste/Skrillz

Path

skills/claude-context-management/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.