Generates a resume command for a Claude Code session and records it in atuin shell history for session continuation.
Ships in agent-orchestration-and-meta-tooling. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Generate a resume session command and automatically add it to atuin shell history.
Command format:
ccds -r <session-uuid> # Session Title YYYYMMDD HH:MM[a/p]
Requirements for session UUID:
$1 as the uuid when it is provided and is not "nohist", otherwise it auto-detects via jaq -r '.sessionId' ~/.claude/sessions/$PPID.jsonAUTODETECT_FAILED; stop and ask the user for the session UUIDRequirements for history addition:
$1 or $2, or atuin is unavailable, the command displays without recording (DISPLAY_ONLY)ADDED)Session title requirements:
claude -r output: noun-focused, action-oriented, covering major topics$, backtick, and backslash in the title, since it is interpolated into the double-quoted shell variable "$cmd"Examples of well-formed titles:
Execution (single command):
The agent runs exactly one bash command, not a sequence of separate tool calls.
The session title is the only value the model supplies.
The session uuid, the timestamp, atuin availability, and the nohist flag are all derived inside the shell.
The ccds -r command itself is never executed; it is only recorded or displayed.
title='<SESSION TITLE — no single quote, $, backtick, or backslash>' # the only model-supplied value
case "$1 $2" in *nohist*) nohist=1 ;; *) nohist= ;; esac
uuid="$1"; [ "$uuid" = nohist ] && uuid=
[ -n "$uuid" ] || uuid=$(jaq -r '.sessionId' ~/.claude/sessions/$PPID.json 2>/dev/null)
[ -n "$uuid" ] && [ "$uuid" != null ] || { echo "AUTODETECT_FAILED"; exit 1; }
dt=$(date +"%Y%m%d %I:%M%p" | tr 'APM' 'apm')
cmd="ccds -r $uuid # $title $dt"
if [ -n "$nohist" ] || ! command -v atuin >/dev/null 2>&1; then
echo "DISPLAY_ONLY: $cmd"
else
id=$(atuin history start -- "$cmd") && atuin history end --exit 0 "$id" >/dev/null && echo "ADDED: $cmd"
fi
Quoting:
Passing the command as a double-quoted variable "$cmd" keeps the # literal, because the shell does not re-scan the contents of an expanded variable for comments.
This is why the old "wrap in single quotes" rule is no longer needed and has been removed.
Output for user:
The command prints exactly one line; map its sentinel to an action.
ADDED: <cmd> — confirm the command was added to atuin history and show <cmd>DISPLAY_ONLY: <cmd> — history was skipped (nohist was passed or atuin is absent); show <cmd> so the user can copy itAUTODETECT_FAILED — stop and ask the user for the session UUIDExamples:
meta-session-resume - Auto-detects UUID, generates command, adds to atuin historymeta-session-resume abc123 - Uses provided UUID, generates command, adds to atuin historymeta-session-resume nohist - Auto-detects UUID, generates command, skips atuin historymeta-session-resume abc123 nohist - Uses provided UUID, generates command, skips atuin historymeta-session-resumeIMPORTANT: never run ccds -r yourself — the command only records or displays the resume string; executing it would spawn a recursive Claude session.
What SKILL.md sets; muted values are Claude Code's defaults
/agent-orchestration-and-meta-tooling:meta-session-resume [session-uuid] [nohist]from agent-orchestration-and-meta-tooling
npx claudepluginhub cameronraysmith/vanixiets --plugin agent-orchestration-and-meta-tooling19 skills in this plugin
/herdrControl herdr from inside it. Manage workspaces and tabs, split panes, spawn agents, read output, and wait for state changes — all via CLI commands that talk to the running herdr instance over a local unix socket. Use when running inside herdr (HERDR_ENV=1)./meta-agent-teamsAgent team orchestration conventions for persistent multi-agent coordination via shared task lists and messaging./meta-create-workspace-agents-mdOther plugins' skills for the same job