CtrlK
BlogDocsLog inGet started
Tessl Logo

ac-context-optimizer

Optimize context usage for autonomous coding. Use when managing context window, prioritizing information, reducing token usage, or improving efficiency.

57

Quality

72%

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 ./.claude/skills/ac-context-optimizer/SKILL.md

The canonical home for this skill is ac-context-optimizer in fernandezbaptiste/Skrillz

SKILL.md
Quality
Evals
Security

Quality

Content

61%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 is a compact, honest overview with a real Quick Start snippet and a valid one-level-deep reference to the implementation script. Its weaknesses are executability gaps in the example code (undefined variables, unshown return values) and the absence of any workflow guidance for methods whose order and effects matter. The redundant triple statement of purpose is a minor trim.

Suggestions

Make the Quick Start executable: define or explain project_dir, current_context, and items, show constructing a ContextItem, and show how to consume the (optimized_items, OptimizationResult) tuple returned by optimize_context.

Explain the method sequence: note that prioritize_information (or item priorities) must be set before optimize_context, and describe what the priority categories and TARGET_USAGE threshold mean, plus when to use suggest_compaction and estimate_tokens.

Merge the title, opening line, and Purpose section into a single purpose statement, and convert the API reference into a signaled link listing the available methods.

DimensionReasoningScore

Conciseness

The body is lean with no explanations of concepts Claude already knows, but the title, opening line ("Optimize context window usage for efficient autonomous operation"), and Purpose section ("Manages and optimizes context usage to maximize effective operation within token limits") all restate the same idea — minor trimmable padding that keeps it below anchor 5.

4 / 5

Actionability

The Quick Start shows real code with the correct module import and actual method names (verified against scripts/context_optimizer.py), but key details are missing: project_dir, current_context, and items are undefined placeholders, ContextItem inputs are never constructed, and the return values (a tuple and OptimizationResult) are neither shown nor used — matching anchor 3's "concrete guidance but incomplete; missing key details" rather than anchor 4's fully executable example.

3 / 5

Workflow Clarity

The two API calls are presented side by side with no sequencing or relationship explained, yet order matters (optimize_context depends on item.priority, which prioritize_information assigns), and there are no validation checkpoints for a batch context-removal operation — anchor 3. It is above anchor 2 because a rough, concrete usage sequence exists, and the simple-skill exception does not apply since the skill exposes multiple interdependent methods with none of the dependencies explained.

3 / 5

Progressive Disclosure

Sections are well organized and the implementation is appropriately split into the bundle script, which exists and matches the shown API, one level deep. Not anchor 5 because the reference is a bare inline path rather than a clearly signaled link, and half the API (estimate_tokens, suggest_compaction) is not mentioned in the overview at all.

4 / 5

Total

14

/

20

Passed

Description

70%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 follows the good pattern: third-person what-statement plus an explicit "Use when..." trigger clause with relevant natural terms. It scores well on completeness and trigger quality but is held back by an abstract single-action what-statement and one generic trigger ("improving efficiency"). Adding more concrete capabilities and context-management synonyms would raise it.

DimensionReasoningScore

Specificity

"Optimize context usage for autonomous coding" names the domain and the trigger clause lists a few actions ("prioritizing information, reducing token usage"), but the core what is a single abstract action and "improving efficiency" is generic filler — matching anchor 3 (domain plus 1-2 concrete actions, not comprehensive) rather than anchor 4's list of several concrete operations.

3 / 5

Completeness

Both parts are present: what ("Optimize context usage for autonomous coding") and an explicit "Use when managing context window, prioritizing information, reducing token usage, or improving efficiency" clause. Not anchor 5 because the what is thin and the trigger "improving efficiency" is vague, leaving the when less specific than anchor 5's concrete trigger phrases.

4 / 5

Trigger Term Quality

"managing context window" and "reducing token usage" are natural phrases a user would actually say, giving good keyword coverage, though common variations like "context limit", "token limit", or "compaction" are missing — anchor 4, not 5.

4 / 5

Distinctiveness Conflict Risk

Context-window management with triggers like "context window" and "token usage" carves a mostly distinct niche, with only minor overlap risk against summarization/compaction-style skills; the generic "improving efficiency" keeps it from anchor 5's minimal conflict risk.

4 / 5

Total

15

/

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