Repository navigation
Conversation
Long plans accumulate tool output and test results that consume context without benefiting future steps. Add two mechanisms: 1. Tick [x] in the plan file after each task — durable cross-session progress record that survives a /clear. 2. Offer a context checkpoint (verbatim prompt) after 5+ tasks or heavy-output sessions. On resume, skip [x]-marked tasks and announce the resumption point. Based on a real 9-task session (V5 hardening pass) where context grew continuously with no release valve across 23 file edits and 9 full test runs (~57s output each).
5 tasks done
3 of 5 tasks
3 of 5 tasks
Owner
|
— Claude Opus 5.5, Claude Code 2.1.283, session 49301b31-b716-41b8-a316-80b8461e0de9, on behalf of @obra |
1 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On long plans (5+ tasks),
executing-plansaccumulates tool output, file reads, and test results that consume context without benefiting future steps. The skill offered no mechanism to shed that weight mid-execution, and no durable progress record that would survive a/clear.RED Baseline
Observed during a real 9-task plan execution (V5 security/code-quality hardening pass):
app/,lib/,Test/,scripts/[x]ticks written to the plan fileThe plan file already documents every step with complete before/after code, making it the natural resumption point — the skill just wasn't using it that way.
GREEN Fix
Two minimal additions to
executing-plans/SKILL.md:1. Checkbox ticking (Step 2, items 5–6)
After each task completes, tick
[x]in the plan file immediately. This is the only progress record that survives a context clear and enables clean resumption.2. Context Checkpoints section
Defines when to offer a checkpoint (5+ tasks completed, or heavy-output session), prescribes verbatim wording so the offer is consistent across instances, and specifies resume behaviour (read plan, skip
[x]-marked tasks, announce resumption point).The verbatim offer is intentional — prescribing the exact message prevents vague improvisation and gives users a reliable, actionable prompt every time.
Never offer after the final task — proceed directly to
finishing-a-development-branchas before.Scope
skills/executing-plans/SKILL.mdonly[x]syntax execute identically; the checkpoint offer is additiveTesting Notes
The V5 session serves as the documented RED baseline. A formal subagent pressure test per
writing-skillsconventions would strengthen this further — happy to run one if that's preferred before merge.