CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

principle-guard-the-context-window

Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning. Route bulk to subagents; keep summaries in the main thread, not raw payloads.

61

Quality

77%

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/pstack/skills/principle-guard-the-context-window/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

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

A lean, well-organized principle document that avoids verbosity traps and needs no bundle files. Its weakness is actionability and workflow clarity: several bullets are abstract heuristics ("account for mechanism costs", "read selectively") with no concrete thresholds, examples, or decision guidance for combining the four patterns.

Suggestions

Make the heuristics concrete: replace "read selectively based on relevance" and "account for mechanism costs" with specific guidance, e.g. file-size or line-count thresholds that trigger delegation, and a concrete example of sizing a phase ("~5 files per phase, 3-4 turns per step").

Add brief decision guidance for applying the four patterns — e.g. one line on when to delegate to a subagent (payload over ~500 lines, screenshots, batch file reads) versus when to skip a read entirely.

Trim the intro/Why rationale to one sentence; Claude already knows context is finite and overflow degrades reasoning, so the reasoning budget is better spent on concrete guidance.

DimensionReasoningScore

Conciseness

The Pattern bullets are lean and prescriptive with no padding, but the intro ("The context window is finite and non-renewable within a session") and the Why section ("Context overflow degrades reasoning quality...") restate concepts Claude already knows. This is minor over-explanation that could be trimmed, matching anchor 4 rather than the fully lean anchor 5.

4 / 5

Actionability

Some bullets give concrete direction ("Route verbose outputs, screenshots, and large documents to subagents"), but others remain high-level heuristics — "Read selectively based on relevance" and "account for mechanism costs" lack specifics such as thresholds, numbers, or concrete examples. This matches anchor 3: some concrete guidance but incomplete with missing key details.

3 / 5

Workflow Clarity

The content presents four parallel heuristics rather than a sequence, with no decision guidance on when to apply which (e.g., when to delegate to a subagent versus read selectively versus skip a file). The simple-skill exception requires a single unambiguous action; with four undifferentiated heuristics the guidance stays at anchor 3's level of present-but-implicit structure.

3 / 5

Progressive Disclosure

The skill is under 50 lines, needs no external references (none exist in the bundle), and is well organized with a title, a Why section, and a Pattern list with bolded lead-ins. This matches the guideline that short self-contained skills with well-organized sections score 5.

5 / 5

Total

15

/

20

Passed

Description

78%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 'Apply when' trigger clause enumerating four concrete conditions and a clear statement of what the skill does. The main limitation is that it covers only two of the skill's four pattern behaviors, leaving capability coverage incomplete.

DimensionReasoningScore

Specificity

"Route bulk to subagents; keep summaries in the main thread, not raw payloads" names exactly two concrete actions, matching the anchor for 1-2 actions with incomplete coverage — the body's other capabilities (selective reading, inline templates, phase sizing) are not reflected. It does not reach anchor 4, which expects several listed actions.

3 / 5

Completeness

It explicitly answers both parts: "Apply when context is filling up: large outputs, long files, repeated reads, fan-out planning" gives concrete trigger phrases, and the second sentence clearly states what it does. This matches the anchor requiring both an explicit what and when with concrete triggers.

5 / 5

Trigger Term Quality

Natural phrases like "context is filling up", "large outputs", "long files", and "repeated reads" give good keyword coverage a user would plausibly say. A few common variants ("context window", "token budget", "running out of context") are missing, so it falls just short of comprehensive anchor 5.

4 / 5

Distinctiveness Conflict Risk

The context-management/delegation niche ("route bulk to subagents", "context is filling up") is mostly distinct with clear triggers. Broad phrases like "large outputs" and "long files" create minor overlap risk with general file-reading or output-handling skills, keeping it below anchor 5.

4 / 5

Total

16

/

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

adamsardo/pstack-claude

Path

plugins/pstack/skills/principle-guard-the-context-window/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.