Keeps your agent coherent during long multi-step tasks by monitoring context quality like a surfer reading a wave. It activates automatically after you've set intent and plan, watches for drift signals like hallucination or hedging, and exits cleanly with a handoff file before output quality degrades. Integrates with Entire CLI to use session state as ground truth, works alongside intent-framed-agent (which checks scope while this checks coherence), and hands off to simplify-and-harden when the work completes. Most useful for complex refactors or unfamiliar codebases where silent context corruption would be expensive. Think of it as the execution wrapper that keeps you from working with a confused agent.

skills.sh installs
269
GitHub stars
331
last updated
Aug 21, 2026

Install

$ npx -y skills add pskoett/pskoett-ai-skills --skill context-surfing --agent claude-code

Installs into .claude/skills of the current project.

Files

Context Surfing

Install

gh skill install pskoett/pskoett-skills context-surfing

Fallback using the Agent Skills CLI:

npx skills add pskoett/pskoett-skills/skills/context-surfing

The agent rides the wave of peak context. When the wave crests, it commits. When it detects drift, it pulls out cleanly — saving state, handing off, and letting the next session catch the next wave.

No wipeouts. No zombie sessions. Only intentional, high-fidelity execution.


Mental Model

Think of context like an ocean wave:

  • Paddling in = loading the intent frame, plan, and initial context. Energy is building.
  • The peak = full context coherence. The agent knows exactly what it's doing and why. This is when to execute.
  • The shoulder = context starting to flatten. Still rideable, but output density is dropping.
  • The close-out = drift. Contradiction, hedging, second-guessing, or hallucinated details. Wipe-out territory.

The skill's job: ride as long as the wave is good, exit before it closes out.


Lifecycle Position

Sponsors

Details

Repository
github.com/pskoett/pskoett-ai-skills
Categories
Code Review & Quality, AI & Agent Building, Productivity & Planning
First seen
Jun 3, 2026

More from pskoett/pskoett-ai-skills

All 9
1yonatangross avatarmonitoring-observabilityyonatangross/orchestkitMonitoring and observability patterns for Prometheus metrics, Grafana dashboards, Langfuse v4 LLM tracing (as_type, score_current_span, should_export_span, Lang269skills.sh installs
2getpaseo avatarpaseo-epicgetpaseo/paseoHeavy-ceremony orchestration for big work — research, planning, adversarial review, phased implementation, audit, delivery. Use when the user says "epic", "long268skills.sh installs
3manojbajaj95 avatarblog-writing-specialistmanojbajaj95/claude-gtm-pluginComprehensive blog writing skill that handles technical blog posts, personal voice writing, brain dump transformation, and category-aware AEO-optimized content.268skills.sh installs
4patricio0312rev avatardomain-model-boundaries-mapperpatricio0312rev/skillsIdentifies domain modules, ownership boundaries, dependencies, and interfaces using Domain-Driven Design principles. Provides domain maps, bounded contexts, ref267skills.sh installs
5nucliweb avatarwebperf-medianucliweb/webperf-snippetsIntelligent media optimization with automated workflows for images, videos, and SVGs. Includes decision trees that detect LCP images (triggers format/lazy-loadi266skills.sh installs
6huggingface avatarhugging-face-evaluationhuggingface/skillsAdd and manage evaluation results in Hugging Face model cards. Supports extracting eval tables from README content, importing scores from Artificial Analysis AP265skills.sh installs