CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

strategic-compact

Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction. Use when a session is approaching a context limit and a task phase is a natural place to compact.

Quality

80%

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/strategic-compact/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

71%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 highly actionable with concrete configuration, setup, and decision guidance, and handles the risky aspects of compaction with explicit checkpoints. It loses points on efficiency — repeated precedence rules and a padded generic token-optimization section — and on structure, since referenced script files are absent from the bundle and detail that belongs in references is inlined.

Suggestions

Cut or drastically trim the "Token Optimization Patterns" section (trigger tables, context composition, duplicate detection) — it is generic advice unrelated to the skill's core purpose — and state the window-precedence rules once instead of three times (env-var bullet, blockquote, and Stop-hook paragraph).

Move version-specific details like "Claude Code 2.1.233 removed the todo/task tools" into a dedicated compatibility/deprecated note or reference file so time-sensitive content does not sit in the main body.

Split detailed material (full configuration and window-resolution precedence rules, token optimization notes) into a references/ file linked from a lean SKILL.md overview, and either include the referenced script files (suggest-compact.js, install.sh, hooks.json) in the bundle or remove references to them.

DimensionReasoningScore

Conciseness

Mostly efficient (hook setup, env vars, decision table), but the "Token Optimization Patterns" section explains things Claude already knows ("Conversation history — Grows with each exchange"), the window-precedence rules are stated three times (env-var bullet, blockquote, and the Stop-hook paragraph), and the version-specific "2.1.233 removed the todo/task tools" note sits outside any deprecated section. Not a 2 because the majority of sections are tight and earn their tokens.

3 / 5

Actionability

Guidance is copy-paste ready: the exact hooks JSON block, specific environment variables with defaults, a phase-by-phase compaction decision table, and a concrete "/compact Focus on implementing auth middleware next" example covering the common cases. Minor vagueness in the supplementary Token Optimization section does not detract from the core workflow.

5 / 5

Workflow Clarity

The risky operation (compaction destroying context) has explicit checkpoints — "Write the plan to a file before compacting", "Don't compact mid-implementation", and the "Mid-implementation → No" decision-table row — but the steps are distributed across sections rather than consolidated into one ordered sequence, so it falls short of anchor 5.

4 / 5

Progressive Disclosure

The body is well-sectioned with headers and tables, but no bundle exists: `suggest-compact.js`, `./install.sh`, and `hooks/hooks.json` are referenced yet not present, and tangential material (token optimization patterns, detailed window-precedence rules) is inlined in a ~150-line file rather than split into clearly signaled reference files.

3 / 5

Total

15

/

20

Passed

Description

82%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 with an explicit third-person 'what' and a concrete 'Use when...' clause covering the main triggers. Its only weaknesses are limited action coverage (one core action rather than several) and a few missing natural trigger variations like 'context window'.

DimensionReasoningScore

Specificity

"Suggests manual context compaction at logical intervals" names the domain and one concrete action, but the description does not list several specific actions, matching anchor 3 rather than 4; it is well above anchor 2 because the action named is concrete rather than generic.

3 / 5

Completeness

It explicitly answers both what ("Suggests manual context compaction at logical intervals to preserve context through task phases") and when ("Use when a session is approaching a context limit and a task phase is a natural place to compact") with concrete trigger phrases, matching the anchor-5 pattern; anchor 4's caveat that the 'when' could be more explicit does not apply.

5 / 5

Trigger Term Quality

Natural terms like "context limit", "compact", "session", and "task phase" give good keyword coverage a user would plausibly say, but common variations such as "context window" or "running out of tokens" are missing, so it falls just short of anchor 5.

4 / 5

Distinctiveness Conflict Risk

The niche is clear — timing manual compaction at logical task boundaries instead of arbitrary auto-compaction — with distinct triggers (context limit approach, phase boundary) and minimal overlap risk with other skills.

5 / 5

Total

17

/

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.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

affaan-m/ECC

Path

skills/strategic-compact/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.