From ops
Reopen recently-closed Claude Code sessions, one per Ghostty tab. Finds recent session transcripts in ~/.claude/projects and resumes each in its own new tab via `claude --resume`, from the directory it was running in. macOS + Ghostty only.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ops:ops-resume [-m minutes | -H hours | -n max | --here | --dry-run][-m minutes | -H hours | -n max | --here | --dry-run]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reopen recently-closed Claude Code sessions — **one session per Ghostty tab**.
Reopen recently-closed Claude Code sessions — one session per Ghostty tab.
For every recent session transcript under ~/.claude/projects, the helper opens a
new Ghostty tab (cmd+t) and types cd <cwd> && claude --resume <sessionId>, so each
session resumes in its own tab from whatever directory or repo it was running in.
Default: every session touched in the last 60 minutes, from any directory.
Platform: macOS + Ghostty only. Tabs are driven via AppleScript System Events, so Accessibility permission must be granted to the terminal running this.
~/.claude/projects/**/*.jsonl and keeps files whose mtime is inside the
lookback window (default 60 min) but older than OPS_RESUME_MIN_AGE_SEC (default
45s — so the session you are currently in is not reopened).agent-*), workflow journals, and empty/junk sessions.cwd from the transcript.Run the bundled helper. Pass through any flags the user gave ($ARGUMENTS).
Always preview first with --dry-run, show the user the list, and — unless they
clearly asked to "just open them" — confirm before opening real tabs (opening many
tabs is hard to undo).
# Preview what would be resumed
${CLAUDE_PLUGIN_ROOT}/bin/ops-resume --dry-run $ARGUMENTS
# Actually open the tabs
${CLAUDE_PLUGIN_ROOT}/bin/ops-resume $ARGUMENTS
| Flag | Meaning |
|---|---|
-m, --minutes N | Lookback window in minutes (default 60) |
-H, --hours N | Lookback window in hours |
-n, --max N | Cap number of tabs (default 20, newest first) |
--here | Only sessions whose cwd == current directory |
--dry-run | List matches, open nothing |
OPS_RESUME_MINUTES (60) — lookback windowOPS_RESUME_MAX (20) — safety cap on tabsOPS_RESUME_MIN_AGE_SEC (45) — skip sessions touched more recently than thisAfter running, report concisely: how many sessions matched, how many tabs were
opened, and any that were capped/skipped. If --dry-run, just show the list and ask
whether to open them for real.
npx claudepluginhub lifecycle-innovations-limited/claude-ops --plugin opsShow recent Claude Code sessions across all projects, so the user can re-enter work after a reboot or context switch. Lists per session the absolute project path, a short summary, last activity, turn count, git branch, model, and a ready-to-paste resume command, and can re-open all of them at once in new terminal tabs. Use when the user asks "what was I working on", "which projects did I touch recently", "where did I leave off", "list my recent sessions", "how do I get back into that session", "open all my sessions again", or invokes /recap. Reads only local files; the default run is instant and offline.
Retrieves previous Claude Code or Codex CLI session transcripts, printing recent turns and metadata to resume work. Supports UUID lookup and automatic detection of most recent session.
Discovers, searches, and selectively restores Claude desktop app sessions hidden across multiple accountIds. Use when sessions disappear after account switch or when running multiple accounts.