Maintain awareness of operation counts across the conversation to prevent cumulative context exhaustion. Use when you notice multiple operations accumulating or when working on iterative tasks across turns.
/plugin marketplace add rayk/lucid-toolkit/plugin install impl-neo4j@lucid-toolkitThis skill is limited to using the following tools:
The per-turn threshold is a trap—it's the CONVERSATION-LEVEL accumulation that kills sessions. This skill helps Claude track operations and recognize when to delegate. </objective>
<quick_start> <mental_tracking> Before each operation, mentally note:
If any count exceeds threshold → delegate remaining work. </mental_tracking>
<thresholds> | Metric | Threshold | Action | |--------|-----------|--------| | Reads since last Task | ≥2 | Task(Explore) for remaining reads | | Edits since last Task | ≥3 | Task(general-purpose) for remaining edits | | Consecutive same-file turns | ≥3 | Suggest delegation to user | | "Continue" cycles | ≥3 | Delegate remaining refinements | | Context usage | >50% | All remaining work to subagents | </thresholds> </quick_start><iteration_patterns> <pattern name="Continue Loop"> <description> User keeps saying "continue", "keep going", "more", etc. Each turn adds context without triggering delegation consideration. </description>
<recognition> - User message is short (1-3 words) - Last response included edits/implementation - Pattern repeating for 3+ turns </recognition> <response> After 3 continue cycles: "I've been iterating directly for [N] turns. To preserve context for the rest of our session, I'll delegate remaining refinements to a subagent."Then delegate via Task(general-purpose). </response> </pattern>
<pattern name="Edit Accumulation"> <description> Each turn has 1-2 edits (under per-turn threshold), but conversation accumulates many. </description> <recognition> - Count edits since last Task delegation - Each turn passes individual check - Cumulative count exceeds threshold </recognition><tracking_method> Mental checklist at start of each turn:
<regression_detection> <description> Notice when you start a task with proper delegation but gradually revert to direct execution. </description>
<pattern> 1. Task starts: "I'll use Task(Explore) to find..." ✓ 2. Explore returns results 3. Next step: "Let me just quickly read..." ✗ 4. Then: "I'll make this small edit..." ✗ 5. Then: "One more fix..." ✗ 6. Result: Main context exhausted </pattern> <recognition> Ask yourself: - Did I start this task with Task delegation? - Am I now doing direct tool calls? - Is this "cleanup" or "verification" or "quick fix"?If yes to all three: you're regressing. </recognition>
<correction> Return to delegation mode: "I started with delegation but have been doing direct operations. Let me delegate the remaining work."Task(general-purpose): "Complete the remaining [work description]" </correction> </regression_detection>
<context_checkpoints> <checkpoint name="After Exploration"> After any exploration phase (Grep, Glob, multiple Reads):
<communication_templates> <template name="Threshold Reached"> "I've done [N] [operations] since my last delegation. To preserve context for the rest of our session, I'll delegate the remaining [work type]." </template>
<template name="Iteration Suggestion"> "We've been iterating on [target] for [N] turns. Would you like me to delegate remaining refinements to a subagent? This will help preserve context for other work." </template> <template name="Regression Correction"> "I notice I've been doing direct operations after initially delegating. Let me return to delegation mode for the remaining work." </template> <template name="Context Warning"> "Context usage is approaching [X]%. I'll delegate all remaining work to subagents to ensure we can complete the session." </template> </communication_templates><anti_patterns> <pattern name="Per-Turn Tunnel Vision"> Wrong: Checking thresholds only within current turn Right: Track cumulative operations since last Task delegation </pattern>
<pattern name="Silent Accumulation"> **Wrong**: Doing 10 operations without mentioning delegation consideration **Right**: Acknowledge when approaching thresholds, delegate proactively </pattern> <pattern name="Threshold Forgetting"> **Wrong**: Starting fresh count each turn **Right**: Maintain mental count across the conversation </pattern> <pattern name="Continue Compliance"> **Wrong**: Infinitely complying with "continue" requests via direct execution **Right**: After 3 cycles, delegate remaining work </pattern> <pattern name="Regression Blindness"> **Wrong**: Not noticing shift from delegation to direct execution **Right**: Periodically check if you've regressed from initial delegation </pattern> </anti_patterns><success_criteria> The tracking is working when:
delegate-first answers: "Should this be delegated?" operation-tracker answers: "Have I accumulated too much?"
Use together: delegate-first for new operations, operation-tracker for ongoing awareness. </with_delegate_first> </integration>