Large Task Session Split
Skill1 starsChanged 4 months agoMITView on GitHub
For a large coding or multi-part task, draft an implementation plan split into independent pieces, then hand each piece off to its own separate session (not a sub-agent inside one session) to execute in parallel. Use when a task is big enough that one continuous session risks context rot, or would clearly benefit from parallel execution across independent features.
In this repository25 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- braindump-autoSkill
- braindumpSkill
- Capability Claim GroundingSkill
- Derived Figure AuditSkill
- design-review-loopSkill
- Dictation Garble CatcherSkill
- Discord Todo OpsSkill
- Full Account Security AuditSkill
- Personal Dashboard StyleSkill
- Pre-Push Secret ScanSkill
- Project Design DocSkill
- Public Repo Leak RetractionSkill
- repo-hygieneSkill
- Repo Index Drift CheckSkill
- Safe Section DeletionSkill
- Session HandoffSkill
- Skill Overlap AuditSkill
- superbraindumpSkill
- ui-change-visual-verifySkill
- Verify, Don't TrustSkill
- Windows Process Restart (Safe)Skill
- Windows Shell Tool SelectionSkill
- Worktree Task-Pack VerificationSkill
- Zombie Process SweepSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
1. Draft the plan in one stable session first: Don't split before there's a plan.
- Very specific: line 24
5. Merge and verify centrally when sessions report back: Don't trust a session's own "done" report.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Large Task Session Split
Separate sessions, not nested sub-agents, for large work. One long session accumulates history until quality degrades; sub-agents inside one session still share and compete for that session's context and token budget. Independent sessions each start clean and run genuinely in parallel.
When to use this
A task is a candidate when it has multiple independent pieces (features, modules, migrations) that don't need to see each other's intermediate work, and the total scope is large enough that doing it serially in one session would run long enough to risk context rot. A single feature, or a task where every piece depends on the last, doesn't need this: just do it directly.
Procedure
1. Draft the plan in one stable session first. Don't split before there's a plan. The planning session reads the codebase, decides what the independent pieces actually are, and writes an implementation plan for each: goal, relevant files, constraints, done-when.
2. Verify the pieces are actually independent before splitting. Two "independent" features that both touch the same file, config, or shared dependency will conflict when merged. Check for file/module overlap before committing to the split; if two pieces do overlap, either merge them into one piece or make the overlap explicit so it's handled centrally rather than by both sessions independently.
3. Isolate each piece in its own git worktree. See worktree-task-pack-verification for the full discipline once sessions are running: independent verification per worktree, a full gate before merge, and how to catch a falsely-claimed clean merge.
4. Hand off a self-contained kickoff prompt per session. Each session needs its own plan piece, not the whole master plan: what to build, which files it owns, what "done" looks like, and where its worktree lives. It shouldn't need to ask the planning session anything mid-execution.
5. Merge and verify centrally when sessions report back. Don't trust a session's own "done" report; see verify-dont-trust. Run the full gate on the merged result, not just on each piece individually.
What this replaces
Running everything in one session until it's done (risks context rot on large scope), or dispatching many sub-agents from within a single session for pieces that are actually large enough to deserve their own full session and context budget. Sub-agents are still the right call for genuinely small, bounded pieces of work within one session; this skill is for when the pieces are big enough to be their own sessions.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

