sw-load
Skill8 starsChanged 4 months agoMITView on GitHub
Use when the user provides a handoff token, asks to resume or continue previous work, the host's handoff notice announces a handoff, or you are about to call load_handoff.
In this repository4 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- sw-explainSkill
- sw-handoffSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Present the state: Write:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Session Watcher Load Handoff
Restore a previous session's handoff package into context so work can resume.
Steps
Load the handoff. Resolve a token from the skill
args, from the user's message, or from the host's own handoff notice, which names pending handoffs by token: the Claude Code SessionStart hook's additionalContext. Then call theload_handofftool, whose schema carries the three ways in.A token you were handed is the one path that proceeds without asking. Any other way in — a free-text match, an auto-match, or several tokens offered at once — means listing what came back with each one's age and task preview and letting the user pick before you go on. Nothing found → tell the user the token is expired or invalid, and ask for direction.
- Read the kept paths. Read each range in each entry's
lineswith the host's file-reading tool, every read in one message. Relative paths resolve against CWD, thenproject_dir. An entry withoutlinesor a path that does not resolve: skip it and name it in step 5; read it later only when a step needs it. Emptypaths_to_keep→ ask the user what they are working on. - Take the payload as the task's state. The summary, the kept files and the newest turns in the payload are the established current state of the task, which the work builds on without checking or restating it. When a step needs a detail the payload leaves out,
turn_pagereads older turns andlineage_headlinesthe headlines of an omitted run. - Load the kept skills — invoke each name in
skills_to_keepthrough the host's skill tool. Present the state. Write:
- Objective, one line
- Working state, as the summary states it
- Next task and its entry points
- Skipped entries, if any
- Blockers and risks
- The kept paths now in context and the load token you used
Then stop and wait for the user to confirm or correct it.
Completion criterion
Done when the kept paths are in context, the state is presented in the shape step 5 gives, and the user has replied confirming or correcting it.
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.

