Resume Session
Resumes a Claude Code agent's most recent conversation using the /resume slash command. This preserves the full previous conversation context (tool calls, file reads, history) instead of starting a brand new session with a lossy context dump.
How It Works
- Sends
/resumeto the target agent's Claude Code session via the/deliverendpoint - Waits for Claude Code to render the session picker (3 seconds)
- Sends Enter to select the most recent (first) session in the picker
Usage
bash config/skills/orchestrator/resume-session/execute.sh '{"sessionName":"agent-joe"}'
Parameters
| Parameter | Required | Description |
|---|---|---|
sessionName |
Yes | Target agent's PTY session name |
Output
JSON confirmation from the deliver and key endpoints.
Notes
- This skill only works with Claude Code runtimes. On other runtimes,
/resumeis treated as a normal message (harmless but no-op). - The agent must have a previous session to resume. If no previous session exists, Claude Code will show an empty picker and Enter will dismiss it.
- Prefer this over
delegate-taskwith full context when you want to restore an agent's prior conversation rather than start fresh.
Source: stevehuang0115/crewly — distributed by TomeVault.