offload
Skill1 starsChanged 5 months agoApache-2.0View on GitHub
Spawn a fresh-context subagent to complete a discrete sub-task and return a 1-2K summary. Use when budget pressure (~75%) makes finishing the current sub-task in the main thread risky, but you don't need full session handoff yet.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- inkatze/planwrighttheir own version, first seen Aug 27, 2026
- BI-Blitzer/tandem-tokenstheir own version, first seen Jul 12, 2026
- borkweb/skillstheir own version, first seen Jun 11, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- borkweb/skills★ 8same name
- inkatze/planwright★ 5same name
- BI-Blitzer/tandem-tokens★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- abandonSkill
- add-anti-flagSkill
- add-constitution-clauseSkill
- audit-specSkill
- commitSkill
- constitution-editSkill
- db-schemaSkill
- execution-planSkill
- feature-draftSkill
- handoffSkill
- harness-absorbSkill
- implementSkill
- initSkill
- nextSkill
- pickupSkill
- recallSkill
- rememberSkill
- spec-finalizeSkill
- test-fixSkill
- todolistSkill
- uninstallSkill
- workflow-templateSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
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 41
Before invoking, you (the AI) write a tight sub-task prompt:
- Distinctive: line 60
Ask the user to confirm the scope before invoking (in CEO's locale):
- Distinctive: line 86
Use the Task tool with:
- Very specific: line 127
Auto-invoke: if the user explicitly said /offload <task> (clear intent)
- Distinctive: line 128
Ask first: if budget-monitor 75% menu fired and you're proposing offload — show the Step 1 scope plan
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/offload
Subagent isolation as a budget-pressure release valve. Instead of forcing a full session handoff at 75%, you spawn an isolated-context subagent that does a discrete sub-task and returns just its summary. The main thread context grows by ~1-2K tokens instead of by the sub-task's full execution trace.
When this is the right answer
- Context is ~70-85% and a clean sub-task is next (refactor a file, write a set of tests, search for a pattern across the codebase, generate a script)
- The sub-task has clear inputs and clear outputs — easily described in ≤300 chars
- You don't need ongoing dialogue with the user inside the sub-task
When this is NOT the right answer
- Context >95% → use
/handoffinstead (offload only delays the inevitable) - Sub-task requires user judgment partway through → can't be isolated
- Sub-task is "improve the whole codebase" → too vague; subagent will burn budget without a clear stop condition
- The work would only cost ~1K tokens anyway → just do it inline
How it works
You invoke the Task tool with a carefully-scoped prompt. The subagent runs in its own 200K context window, returns a single message back. From the main thread's perspective, the cost is:
- ~500 tokens of subagent prompt
- ~500-2000 tokens of subagent return summary
Total main-thread overhead: typically 1-3K tokens vs. the 10-30K the task would have cost inline.
Step 1 — Scope the sub-task
Before invoking, you (the AI) write a tight sub-task prompt:
Task: <one-sentence description>
Inputs:
- <relevant file paths>
- <constraints>
Outputs:
- <what the subagent should return>
- <format expectations>
Constraints:
- Stay focused on this sub-task only
- Don't open Explore agents recursively
- Report in ≤500 wordsAsk the user to confirm the scope before invoking (in CEO's locale):
─── Offload Plan ─────────────────────────────────
Sub-task: <description>
Inputs:
- <list>
Subagent will return:
- <list>
Expected main-thread overhead: ~1-3K tokens
Subagent type: general-purpose
Confirm?
[1] Spawn subagent
[2] Edit scope
[3] Cancel (do task inline instead)Step 2 — Invoke
On [1]:
Use the Task tool with:
subagent_type: "general-purpose"(default) OR a specific type if the project has one matching the sub-task (e.g.,test-fixerfor test work,backend-reviewerfor backend audits)- A self-contained
promptthat gives the subagent enough context — it CANNOT see your conversation history descriptionshort summary (3-5 words)
CRITICAL: the prompt must be self-contained. The subagent has no access to:
- Conversation history
- TodoWrite state
- Open files in your main session
So bake in: file paths to read, the specific objective, the success criteria, and any project conventions the subagent needs to know.
Step 3 — Report back to CEO
Once the subagent returns, summarize in CEO's locale:
✓ Offload complete
Sub-task: <description>
Subagent verdict: <PASS / CONCERNS / FAIL>
Summary:
<subagent's return summary, paraphrased to ≤200 chars>
Files modified by subagent:
<list, or "none">
Main thread overhead: ~<N>K tokens
Next: continue with <next planned action>Trust contract
- This skill spawns ONE subagent. Multiple offloads in a single turn defeat the purpose.
- The subagent runs without user oversight — only invoke when the scope is clear-cut and the risk is bounded.
- Subagent failures (subagent returns "couldn't do X") are surfaced to CEO; you don't silently retry.
When you should auto-invoke vs. ask the CEO
- Auto-invoke if the user explicitly said
/offload <task>(clear intent) - Ask first if budget-monitor 75% menu fired and you're proposing offload — show the Step 1 scope plan
- Don't auto-invoke mid-task without budget pressure — that's just using a subagent for no reason
Completion criteria
- Subagent invoked, returned a result, user has seen the Step 3 summary, OR
- Subagent failed or was cancelled at Step 1; control returned to main thread; alternative plan stated
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.

