CtrlK
BlogDocsLog inGet started
Tessl Logo

context-compression

When agent sessions generate millions of tokens of conversation history, compression becomes mandatory. The naive approach is aggressive compression to minimize tokens per request.

31

Quality

24%

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

Fix and improve this skill with Tessl

tessl review fix ./skills/context-compression/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

38%Scale 1-5

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

This skill reads more like a research paper summary or knowledge base article than an actionable skill for Claude. It contains valuable conceptual information about context compression strategies but is overly verbose, lacks executable implementations, and doesn't integrate its own evaluation methodology into the workflow as validation checkpoints. The content would benefit significantly from being condensed to core actionable guidance with detailed reference material split into bundle files.

Suggestions

Cut the content by 50-60%: remove explanatory sections like 'Why Tokens-Per-Task Matters' and 'The Artifact Trail Problem' which explain concepts rather than instruct. Reduce to a concise decision framework and the structured summary template.

Add explicit validation checkpoints to workflows: after compression, include a step like 'Run probe questions against the summary to verify artifact trail completeness before proceeding' with specific probe examples to use.

Split detailed content into bundle files: move evaluation dimensions, compression ratio tables, and extended examples into separate reference files (e.g., EVALUATION.md, EXAMPLES.md) and reference them from the main skill.

Make the 'Implementing Anchored Iterative Summarization' section more concrete with a specific before/after example showing the merge operation when new content is compressed into an existing summary.

DimensionReasoningScore

Conciseness

The skill is significantly verbose at ~300+ lines. It explains concepts Claude already understands (what ROUGE is, what compression ratios mean, what artifact trails are). Many sections read like a research paper summary rather than actionable instructions. The 'Core Concepts' section explains three approaches at length before getting to any guidance, and the 'Why Tokens-Per-Task Matters' section belabors a point that could be stated in one sentence.

2 / 5

Actionability

The skill provides structured summary templates and decision tables, which are somewhat concrete. However, it lacks executable code, specific commands, or copy-paste ready implementations. The 'Implementing Anchored Iterative Summarization' section is a numbered list of abstract steps rather than concrete implementation. The examples show markdown output but not how to produce it programmatically. This is an instruction-only skill, but the guidance remains at a conceptual level rather than providing specific, actionable steps Claude can follow.

3 / 5

Workflow Clarity

The 'Three-Phase Compression Workflow' and 'Implementing Anchored Iterative Summarization' sections provide sequences, but lack validation checkpoints or feedback loops. For a skill dealing with compression where information loss is the core risk, there are no explicit verification steps (e.g., 'run probes after compression to verify quality before proceeding'). The probe-based evaluation is described conceptually but never integrated into the workflow as a validation checkpoint.

3 / 5

Progressive Disclosure

The skill is a monolithic document with no bundle files. It references several related skills (context-degradation, context-optimization, evaluation, memory-systems) and an 'Evaluation Framework Reference' but none of these are provided. The content that could be split out (detailed evaluation dimensions, compression ratio tables, extensive examples) is all inlined, making the document very long. The References section mentions external resources but the internal structure doesn't leverage any file splitting.

2 / 5

Total

10

/

20

Passed

Description

11%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.

This description reads like the opening of an explanatory essay rather than a functional skill description. It provides no concrete actions, no explicit 'when to use' guidance, and lacks the specificity needed for Claude to reliably select it from a pool of skills. It would need a complete rewrite to be functional.

Suggestions

Rewrite to state concrete actions the skill performs, e.g., 'Compresses long conversation histories by summarizing prior turns, removing redundant context, and preserving key information to fit within token limits.'

Add an explicit 'Use when...' clause with natural trigger phrases, e.g., 'Use when conversation history exceeds context window limits, when token usage is too high, or when the user mentions context compression or summarization.'

Remove the editorial/explanatory framing ('The naive approach is...') and replace with direct, third-person capability statements that distinguish this skill from general summarization or context management skills.

DimensionReasoningScore

Specificity

The description discusses a problem (compression of conversation history) but does not describe any concrete actions the skill performs. There are no verbs like 'compresses', 'summarizes', or 'truncates' — it reads more like an essay introduction than a capability description.

1 / 5

Completeness

The description answers neither 'what does this skill do' nor 'when should Claude use it'. It provides background commentary on a problem but never states what the skill actually does or when it should be selected. There is no 'Use when...' clause or equivalent.

1 / 5

Trigger Term Quality

It includes some relevant terms like 'compression', 'tokens', 'conversation history', and 'agent sessions', but these are framed as background context rather than natural trigger keywords a user would say. Common user phrases like 'summarize context', 'reduce token usage', or 'context window' are absent.

2 / 5

Distinctiveness Conflict Risk

The description is too vague to carve out a clear niche. 'Compression' and 'tokens' could overlap with many skills related to context management, summarization, or token optimization. Without specific actions or triggers, it risks conflicting with any skill in a similar domain.

2 / 5

Total

6

/

20

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.