wrap
Skill2 starsChanged 12 months agoMITView on GitHub
Use when ending a session, taking a break, or context is getting full. Captures session state, decisions, and generates a resume prompt for the next session. Critical for multi-session continuity.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- fjwood69/moritheir own version, first seen Oct 3, 2026
- egregore-labs/egregoretheir own version, first seen Oct 1, 2026
- mag123c/toktracktheir own version, first seen Sep 22, 2026
- gtapps/skillstheir own version, first seen Sep 18, 2026
- RyanPenn-coder/wrap-skilltheir own version, first seen Sep 13, 2026
- spscream/ai-floppytheir own version, first seen Sep 13, 2026
Used with
Projects with it also use start, update and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillstart
Set up your bio-research environment and explore available tools. Use when first getting oriented with the plugin, checking which literature, drug-discovery, or visualization MCP servers are connected, or surveying available analysis skills before starting a new project.
Also in 4 projects that use this
AnthropicSkillupdate
Sync tasks and refresh memory from your current activity. Use when pulling new assignments from your project tracker into TASKS.md, triaging stale or overdue tasks, filling memory gaps for unknown people or projects, or running a comprehensive scan to catch todos buried in chat and email.
Also in 3 projects that use this
LangChainSkillremember
Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture learnings.
Also in 3 projects that use this
genomewalkerSkillcheckpoint
Save a checkpoint of task status, decisions, active files, and next steps
Also in 3 projects that use this
termdockSkillrecall
Retrieves cross-session memories about past decisions, lessons, and patterns. Use when user asks about prior work, past decisions, or mentions a feature. Triggers include check memory, what did we decide, how did we solve.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- egregore-labs/egregore★ 291same name
- mag123c/toktrack★ 193same name
- neurofoo/agent-skills★ 119same name
- jdpolasky/ai-chief-of-staff★ 104same name
- lsnackerman/raw-clauding-skills★ 44same name
- fjwood69/mori★ 30same name
- jackjin1997/ClawForge★ 13same name
- ucsandman/claude-skills★ 5same name
- hereinthehive/kickstart★ 4same name
- theyoungastronauts/polaris★ 4same name
13 more not listed
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.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 20 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
When you detect a session is ending (goodbye, thanks, natural stopping point, context pressure), proactively offer to wrap.
- Distinctive: line 70
Before generating the resume prompt:
- Distinctive: line 80
Before generating the resume prompt, check: did the user correct any misunderstandings or wrong approaches during this session?
- Distinctive: line 82
Update CLAUDE.md: if the correction reveals a missing rule or domain term that would prevent the same mistake
- Distinctive: line 83
Don't save ephemeral task details — only save what future sessions need to know
- Very specific: line 92
When persisting items to ~/.claude/projects/<project>/memory/*.md, use this bullet format:
- Very specific: line 107
Before appending new entries, if ~/.claude/projects/<project>/memory/MEMORY.md is at or over 200 lines:
- Very specific: line 116
Write .claude/turbocharge-session.json in the project root (the standard Claude Code project-state directory — same place …
- Very specific: line 131
Gitignore check (MANDATORY): Before writing the snapshot, verify .claude/turbocharge-session.json is in the project .gitignore.
“Common” is measured: kept by at least 6 in 10 of the 20 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
Wrap Session
Capture session state for seamless resumption.
Announce: "Wrapping session — saving context for next time."
The Iron Law
NO SESSION END WITHOUT WRAP OFFERWhen you detect a session is ending (goodbye, thanks, natural stopping point, context pressure), proactively offer to wrap.
What to Capture
1. Progress
- What was accomplished this session
- Which tasks/stories are complete
- Current branch, commit, state
2. Decisions
- Architectural choices made (with rationale)
- Approach decisions (with alternatives considered)
- User preferences discovered
3. Blockers & Open Questions
- What's stuck and why
- Questions that need answers
- Dependencies not yet resolved
4. Next Steps
- Prioritized list of what to do next
- Which skill to invoke first in next session
5. Resume Prompt
Generate a self-contained prompt the user can paste into a fresh session. Use @ references for files so Claude reads them automatically.
@CLAUDE.md @ATLAS.md @.claude/turbocharge-session.json Continue [PROJECT] - [CURRENT TASK]
Branch: `branch-name`
Completed:
- [completed items]
Next Task: [description]
1. [next task with context]
2. [following task]
Context Files:
- @path/to/design-doc.md (implementation plan)
- @path/to/relevant-code
Decisions to Remember:
- [key decision]: [rationale]
Start With:
/turbocharge:[skill] [args]MANDATORY: @.claude/turbocharge-session.json MUST appear on the first line of every resume prompt — it is not optional context, it is the session state. Do not move it to "Context Files" or omit it.
5.5. Atlas + CodeMap Freshness (MANDATORY)
Before generating the resume prompt:
- Always run
/turbocharge:atlasto refresh the domain map — do not skip, even if changes seem minor. - If
.codemap/exists, runcodemap update(or note it in the resume prompt if watch mode is active).
Include in the resume prompt:
Navigation: @ATLAS.md is current. CodeMap index: run `codemap validate` if unsure.6. Encode Session Learnings
Before generating the resume prompt, check: did the user correct any misunderstandings or wrong approaches during this session? If so:
- Update memory files with corrections that apply to future sessions (domain concepts, preferences, conventions)
- Update CLAUDE.md if the correction reveals a missing rule or domain term that would prevent the same mistake
- Don't save ephemeral task details — only save what future sessions need to know
Examples of things worth encoding:
- "autotuning is proactive, not reactive" → domain term in CLAUDE.md
- "always use asyncpg, never psycopg2" → infrastructure note in CLAUDE.md or memory
- "don't ask permission to run tests" → rule in CLAUDE.md
7. Write Memory With Confidence Metadata
When persisting items to ~/.claude/projects/<project>/memory/*.md, use this bullet format:
- Summary sentence _(source, YYYY-MM-DD, conf: 0.8)_source— where the claim came from (websearch,user,codebase,testrun)YYYY-MM-DD— date writtenconf— 0.1 to 1.0; 0.9+ only for verified facts, 0.5–0.8 for reasoned claims, <0.5 for speculation
Example:
- Tailwind v4 drops the JS config (websearch, 2026-04-14, conf: 0.9)
8. 200-Line Cap on MEMORY.md — prune-before-build
Before appending new entries, if ~/.claude/projects/<project>/memory/MEMORY.md is at or over 200 lines:
- Sort existing entries by (confidence asc, date asc) — lowest confidence and oldest first
- Drop entries until under 180 lines
- Then append new entries
Dropped entries are not archived separately — file-based memory is lossy by design; high-value entries survive by being re-surfaced each session.
9. Session Snapshot JSON
Write .claude/turbocharge-session.json in the project root (the standard Claude Code project-state directory — same place .claude/settings.json and .claude/settings.local.json live):
{
"date": "2026-04-14",
"branch": "master",
"current_task": "ATLAS reshape design",
"blockers": [],
"next_steps": ["Chain to /turbocharge:plan", "Break into tasks"],
"open_files": ["skills/atlas/SKILL.md"]
}The SessionStart hook cats this on next session so resume is zero-tool-call.
Gitignore check (MANDATORY): Before writing the snapshot, verify .claude/turbocharge-session.json is in the project .gitignore. If not, add exactly this line:
.claude/turbocharge-session.jsonThis is per-user session-local state — do NOT exclude all of .claude/ because settings.json is team-shared.
How to Deliver
Output the resume prompt directly in chat so the user can copy it. Do NOT write files, create directories, or modify .gitignore (except for CLAUDE.md and memory updates above, and the session snapshot JSON).
Agent memory (via memory: project) handles persistence automatically — no manual file saving needed for session state.
Workflow Position
[any skill] → wrap → [new session] → [resume with prompt]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.

