CtrlK
BlogDocsLog inGet started
Tessl Logo

context-surfing

Monitors context window health throughout a session and rides peak context quality for maximum output fidelity. Activates automatically after plan-interview and intent-framed-agent. Stays active through execution and hands off cleanly to simplify-and-harden and self-improvement when the wave completes naturally or exits via handoff. Use this skill whenever a multi-step agent task is underway and session continuity or context drift is a concern. Especially important for long-running tasks, complex refactors, or any work where degraded context would silently corrupt the output. Trigger even if the user doesn't say "context surfing" — if an agent task is running across multiple steps with intent and a plan already established, this skill is live.

49

Quality

53%

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 ./plugin/skills/context-surfing/SKILL.md

The canonical home for this skill is context-surfing in pskoett/pskoett-ai-skills

SKILL.md
Quality
Evals
Security

Quality

Content

39%Scale 1-3

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill has strong workflow design with clear sequencing, branching logic, and validation checkpoints for drift detection and recovery. However, it is severely over-long and verbose — the surfing metaphor, extensive philosophical discussion of the monitoring paradox, and repeated explanations of skill relationships inflate the token cost dramatically. The lack of bundle files means all content is crammed into one monolithic document, and the core behavioral protocol lacks concrete worked examples showing what drift detection and anchor checks look like in practice.

Suggestions

Cut the content by at least 50%: remove the surfing metaphor explanations, trim the 'Mental Model' section to 2-3 lines, condense the 'Monitoring Paradox' discussion, and eliminate redundant pipeline position descriptions that appear in multiple sections.

Split into multiple files: move the detailed Recovery Protocol, Exit Protocol/handoff template, Hook Integration, and Interoperability sections into separate referenced files, keeping SKILL.md as a concise overview with clear links.

Add a concrete worked example showing a pre-commit anchor check in action — e.g., 'Before writing to auth.ts, I quote from the plan: "Implement JWT validation middleware." Pending action: adding token verification to auth.ts. Trace-back: confirmed.' This makes the abstract protocol actionable.

Provide the referenced bundle files (context-monitor.md, handoff-checker.sh) or remove references to them — currently the skill references artifacts that don't exist in the bundle.

DimensionReasoningScore

Conciseness

Extremely verbose at ~400+ lines. The surfing metaphor is belabored extensively (paddling, peak, shoulder, close-out) — Claude doesn't need metaphors to understand context degradation. Sections like 'Mental Model', 'Principles', and the lengthy 'Monitoring Paradox' discussion explain concepts Claude already understands. The relationship between skills is over-explained with redundant detail across multiple sections. Much of this could be cut by 60-70% without losing actionable content.

1 / 3

Actionability

The handoff file template is concrete and copy-paste ready, the hook setup JSON is specific, and the drift signals are well-enumerated. However, the core skill is largely a behavioral/cognitive protocol rather than executable code — the 'pre-commit anchor check' is described abstractly (quote verbatim, state action, confirm trace-back) without a concrete worked example showing what this looks like in practice. The recovery protocol is procedural but lacks concrete examples of what drift detection actually looks like in a real session.

2 / 3

Workflow Clarity

The multi-step workflows are clearly sequenced with explicit validation checkpoints. The Recovery Protocol has a clear Step 1 → Step 2 flow with branching conditions (mismatch resolves → resume; uncertainty remains → spawn subagent; still can't reconcile → escalate to user; user can't resolve → exit protocol). The Exit Protocol has numbered steps with explicit validation (stop → write handoff → notify). The drift detection categorization into strong/weak/not-drift with different response paths is well-structured.

3 / 3

Progressive Disclosure

Despite referencing a plugin bundle with `plugin/agents/context-monitor.md` and scripts like `scripts/handoff-checker.sh`, no bundle files are provided. The SKILL.md itself is a monolithic wall of text — all content is inline rather than split into referenced files. The pipeline table, interoperability section, hook integration, and detailed recovery protocol could all be separate files. The content that is here would benefit enormously from being split into overview + detailed reference files.

1 / 3

Total

7

/

12

Passed

Description

67%Scale 1-3

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 has strong completeness with explicit 'what' and 'when' clauses, but suffers from buzzwordy language ('rides peak context quality', 'maximum output fidelity') that obscures what the skill actually does concretely. The trigger criteria are overly broad, potentially causing this skill to activate for nearly any multi-step task, and the specific actions performed are not clearly enumerated.

Suggestions

Replace abstract phrases like 'rides peak context quality for maximum output fidelity' with concrete actions — e.g., 'tracks token usage, summarizes completed steps, prunes stale context, and flags when context window is nearing capacity'.

Narrow the trigger criteria to reduce conflict risk — specify measurable conditions like 'tasks exceeding N steps' or 'when context usage exceeds 50%' rather than the catch-all 'any multi-step agent task'.

Use more natural user-facing trigger terms — users are more likely to say 'running out of context', 'losing track', 'session is getting long', or 'keep context fresh' than 'context drift' or 'session continuity'.

DimensionReasoningScore

Specificity

The description names a domain (context window health monitoring) and some actions (monitors context, rides peak context quality, hands off to other skills), but the actual concrete actions are vague — 'rides peak context quality' and 'maximum output fidelity' are abstract/buzzwordy rather than specific actionable capabilities.

2 / 3

Completeness

The description clearly answers both 'what' (monitors context window health, manages handoffs between skills) and 'when' (multi-step agent tasks, long-running tasks, complex refactors, when context drift is a concern). It has explicit 'Use this skill whenever...' and 'Trigger even if...' clauses.

3 / 3

Trigger Term Quality

Includes some relevant terms like 'context drift', 'long-running tasks', 'complex refactors', 'multi-step agent task', and 'session continuity', but many of these are internal/technical jargon rather than natural user language. The description does helpfully note it should trigger even without the user saying 'context surfing', but lacks common user-facing trigger phrases.

2 / 3

Distinctiveness Conflict Risk

The skill occupies a somewhat unique niche (context window monitoring), but its broad activation criteria ('any multi-step agent task') could cause it to trigger alongside many other skills. The references to specific upstream/downstream skills (plan-interview, intent-framed-agent, simplify-and-harden) help somewhat but also suggest tight coupling that could create confusion.

2 / 3

Total

9

/

12

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

10

/

11

Passed

Repository
pskoett/pskoett-ai-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.