CtrlK
BlogDocsLog inGet started
Tessl Logo

strategic-compact

建议在逻辑间隔处手动压缩上下文,以在任务阶段中保留上下文,而非任意的自动压缩。

53

Quality

60%

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

Quality

Content

67%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 well-structured and actionable, with concrete hook configuration, config defaults, and a useful phase-transition decision table. Its main weakness is the tangential '令牌优化模式' section, which pads the skill with token-optimization content only loosely related to its core manual-compaction purpose.

Suggestions

Remove or split out the '令牌优化模式' section (trigger-table lazy loading, context-composition awareness, duplicate-instruction detection, token-optimizer MCP, context-mode) — it is off-topic for a manual-compaction-timing skill and inflates the token budget.

Consider moving the decision table and retention table into a separate reference file referenced one level deep, keeping SKILL.md as a lean overview that points to detailed guidance.

Optionally include the suggest-compact.js script source (or a reference to it) so the hook behavior is fully verifiable rather than only described.

DimensionReasoningScore

Conciseness

Mostly efficient with well-sectioned guidance, but the '令牌优化模式' section (trigger-table lazy loading, context-composition awareness, duplicate-instruction detection, external tools like token-optimizer MCP and context-mode) is tangential to the skill's core purpose of manual compaction timing and adds unnecessary tokens. Not 4 because this off-topic padding is noticeable; not 2 because the core sections are not heavily padded.

3 / 5

Actionability

Provides copy-paste-ready hook JSON for settings.json, a concrete config env var with a default (COMPACT_THRESHOLD=50), and specific script behavior (threshold at 50 calls, reminders every 25). Minor gap: the actual script source is not shown. Not 5 because some guidance remains advisory and no full executable script is included.

4 / 5

Workflow Clarity

The decision table and best-practices list give a clear sequenced 'compress here, not here' flow with checkpoints such as 'write before compacting' and 'the hook says when, you decide whether'. Not 5 because there is no explicit validate→fix→retry feedback loop; not 3 because checkpoints are present and the sequence is clear. The destructive/batch cap does not apply since this is advisory, not a destructive operation.

4 / 5

Progressive Disclosure

Well-organized into clear sections with a '相关' links section; no bundle files are present in references/scripts/assets, and the body appropriately keeps most content inline. Not 5 because the tangential token-optimization section and an external Twitter link keep it from being a clean overview, and there are no one-level-deep bundle references to signal.

4 / 5

Total

15

/

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 conveys the skill's purpose and niche but lacks an explicit trigger ('Use when...') clause, capping completeness at 3. Trigger-term coverage is adequate but misses common synonyms and the literal '/compact' invocation. It is reasonably distinct from other skills.

Suggestions

Add an explicit 'Use when...' trigger clause, e.g. 'Use when running long sessions near the context limit, switching between unrelated tasks, or completing a milestone in a multi-stage workflow.'

Include natural trigger terms users actually say, such as '/compact', 'context window', 'long session', and 'running out of context', to improve trigger-term quality.

Optionally name one or two more concrete actions (e.g. 'suggests /compact after research, after a milestone, or before a context switch') to raise specificity.

DimensionReasoningScore

Specificity

Names the domain (context compaction) and 1-2 concrete actions (manually compact at logical intervals, preserve context across task phases), but does not list several specific actions. Not 2 because actions are present beyond a generic domain label; not 4 because coverage is not comprehensive.

3 / 5

Completeness

Has a clear 'what' (manually compact context at logical intervals to preserve it across task phases) but no explicit 'Use when...' trigger clause; the 'when' is only weakly implied by '在任务阶段中'. Per guidelines, a missing explicit trigger clause caps completeness at 3.

3 / 5

Trigger Term Quality

Includes relevant keywords like '压缩上下文' (compact context), '逻辑间隔' (logical intervals), '任务阶段' (task phases), and '自动压缩' (auto-compaction), but misses common variations/synonyms such as '/compact', 'context window', or 'long session'. Not 4 because keyword coverage lacks several natural terms a user would say.

3 / 5

Distinctiveness Conflict Risk

Targets a clear niche (strategic manual compaction vs arbitrary auto-compaction) that is mostly distinct with only minor overlap risk against related context-management skills. Not 5 because trigger phrasing is not maximally concrete; not 3 because it is more distinguishable than 'somewhat specific'.

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
affaan-m/ECC
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.