/ops:ops-resume [-m minutes | -H hours | -n max | --here | --dry-run]from ops
Reopens recently-closed Claude Code sessions in fresh Ghostty tabs on macOS. Useful after a crash or when restoring state across multiple projects.
Ships in ops. 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.
Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).
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.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
71 skills in this plugin
/bossOPS on-demand: This skill should be used when the user asks to "/ops:boss", "boss mode", or "what needs…/flowOPS on-demand: This skill should be used when the user asks to "/ops:flow", "dev lifecycle", or "where…/ledgerOPS on-demand: This skill should be used when the user asks to "ops ledger", "what did we handle", or…/opsThis skill should be used when the user asks to "ops command center", "/ops:ops", or "run the business". Single discovery router for all business operations — communications, projects, infrastructure, revenue, marketing, releases, fleet management, automation, or any OPS capability. Loads and invokes only the relevant specialist instructions on demand.npx claudepluginhub lifecycle-innovations-limited/claude-ops --plugin opsOther plugins' skills for the same job