continue-session
Skill3 starsChanged 25 days agoMITView on GitHub
Continue another session's work by reading its transcript, without sending it input. Use when the user asks to continue, pick up or take over from another session, named by its session id or by where it sits in the session host.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- calendarSkill
- cli-designSkill
- emailSkill
- handoffSkill
- handoverSkill
- handover-to-herdrSkill
- i-am-afkSkill
- i-am-backSkill
- implementSkill
- init-effortSkill
- low-level-designSkill
- maintain-environmentSkill
- orchestrate-effortSkill
- orchestrate-with-handoffSkill
- orchestratingSkill
- retire-machineSkill
- settle-effortSkill
- settle-sessionSkill
- set-up-machineSkill
- set-up-projectSkill
- show-me-artifactSkill
- show-me-diagramSkill
- show-meSkill
- skill-recapSkill
- swift-performanceSkill
- system-designSkill
- to-prSkill
- to-specSkill
- to-ticketsSkill
- treehouseSkill
- wispr-flow-dictionarySkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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 17
When the user gives a session id: use it.
- Very specific: line 27
Read the target's session id: the agent_session field of herdr pane get <target pane>.
- Distinctive: line 38
Read on until you can state the goal, what is done, what was in progress when it stopped, and the next step.
≈ “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
Continue session
Continue another session's work as a silent reader: read its transcript, then do the work in this session. Send the other session no text, keys, prompts or messages, and leave it unresumed: any input wakes it and re-sends its long, uncached history.
Parameters
<session-host>: where agent sessions run, e.g.herdr, Claude Code Desktop, Codex Desktop.
1. Find the session
- When the user gives a session id: use it.
- When the user gives a place, such as "top pane" or "left tab": start from this session's own place, find the target with
<session-host>'s read-only commands, and read the session id of the agent there.- When the place is a scope, such as "another workspace": list the agent sessions in it, leave out this session and the shell panes, and pick by title, working directory and status. Ask the user only when more than one still fits.
- When the host reports no session id: take the newest transcript of that pane's harness whose working directory matches the pane's.
The read-only commands per session host:
herdr:- Find this pane:
herdr pane current --current. - Find the target pane:
herdr pane neighbor --pane <this pane> --direction <up|down|left|right>for a neighbour, orherdr pane listandherdr tab listfor one farther away. - Read the target's session id: the
agent_sessionfield ofherdr pane get <target pane>.
- Find this pane:
2. Read the transcript
Find the transcript on disk, where the session's harness stores it:
- Claude Code:
~/.claude/projects/<project>/<session-id>.jsonl, where<project>is the working directory with/and.turned into-. - Codex: under
~/.codex/sessions/.
Start with the last couple of messages, since they usually say where the session left off. Then search the rest rather than reading it whole: the user's requests, the latest tool results and any open decision. Then check the working directory's branch, uncommitted changes and pull requests.
Read on until you can state the goal, what is done, what was in progress when it stopped, and the next step.
3. Continue
Give the user that recap in a few lines, then continue the work here, in the session's working directory.
- When the other session is still working: tell the user and wait for their word, since two sessions editing one worktree overwrite each other.
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.

