CtrlK
BlogDocsLog inGet started
Tessl Logo

context-optimization

Context optimization extends the effective capacity of limited context windows through strategic compression, masking, caching, and partitioning. The goal is not to magically increase context windows but to make better use of available capacity.

44

Quality

44%

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 ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/context-optimization/SKILL.md

The canonical home for this skill is context-optimization in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

36%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 content is a well-structured conceptual explainer with a few executable snippets, but it over-explains fundamentals Claude already knows, lacks a sequenced workflow with validation, and references a reference file that does not exist in the bundle.

Suggestions

Cut definitional explanations of concepts Claude already knows (KV-cache basics, what compaction is) and keep only the non-obvious specifics (the 80%+ token-usage figure, reduction targets, never/always-mask lists).

Turn the decision framework into an explicit numbered workflow with a validation/measure checkpoint ('measure utilization -> select strategy -> apply -> re-measure quality vs token savings').

Either create the referenced 'Optimization Techniques Reference' file and move the per-technique deep dives there, or remove the dangling reference so progressive disclosure resolves.

DimensionReasoningScore

Conciseness

The body spends significant space explaining concepts Claude already knows (e.g., 'The KV-cache stores Key and Value tensors computed during inference' and definitional 'What is Compaction' sections), matching the 'noticeably verbose; several unnecessary explanations' anchor rather than the tighter 3.

2 / 5

Actionability

Three small Python snippets and a when/what decision framework give some concrete guidance, but the snippets rely on undefined helpers (compact_context, store_observation, extract_key) and much guidance stays abstract, fitting the 'some concrete guidance but incomplete' anchor.

3 / 5

Workflow Clarity

No real sequenced workflow with validation checkpoints is presented; the 'Optimization Decision Framework' is a loose when->what mapping with no steps, feedback loops, or verification, matching 'rough sequence present but many gaps; validation absent'.

2 / 5

Progressive Disclosure

Section headers give reasonable structure, but all detail is inlined into one file and the only internal reference ('Optimization Techniques Reference') has no corresponding bundle file, so content that could be split out remains inline with an unresolvable reference.

3 / 5

Total

10

/

20

Passed

Description

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

The description clearly states what the skill does and names a specific niche, but it omits any 'Use when...' trigger guidance and relies on abstract technique nouns rather than concrete actions and natural user phrases.

Suggestions

Add an explicit 'Use when...' clause naming natural trigger phrases (e.g., 'Use when context limits constrain a task, token costs or latency are rising, or long-running agents need larger effective context').

Replace abstract strategy nouns with concrete action verbs (e.g., 'Compacts, masks, caches, and partitions context') to lift specificity.

Include common user phrasings and synonyms ('running out of context', 'reduce tokens', 'context window limits') to improve trigger-term coverage.

DimensionReasoningScore

Specificity

Names the domain ('context optimization') and four techniques ('compression, masking, caching, and partitioning'), but these are abstract strategy nouns rather than concrete action verbs, landing between the 3 and 4 anchors and closer to 3.

3 / 5

Completeness

The 'what' is clearly stated ('extends the effective capacity of limited context windows...') but there is no 'Use when...' clause or equivalent trigger guidance, so per the judging guideline completeness is capped at 3.

3 / 5

Trigger Term Quality

Relevant terms like 'context optimization', 'context windows', and 'compression' appear, but natural user phrases ('running out of context', 'reduce token usage', 'context limits') and synonyms are missing, matching the 'some relevant keywords but missing common variations' anchor.

3 / 5

Distinctiveness Conflict Risk

'Context optimization' is a fairly specific niche with named techniques, giving it a clear scope with only minor overlap risk against closely related skills like context-fundamentals or memory-systems.

4 / 5

Total

13

/

20

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

15

/

16

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.