AgentStack
SKILL verified MIT Self-run

Ops Resume

skill-lifecycle-innovations-limited-claude-ops-ops-resume · by Lifecycle-Innovations-Limited

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.

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-lifecycle-innovations-limited-claude-ops-ops-resume

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Ops Resume? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

ops-resume

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 && claude --resume , 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.

How it works

  1. Scans ~/.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).

  1. Keeps only real interactive sessions (UUID filenames); skips subagent transcripts

(agent-*), workflow journals, and empty/junk sessions.

  1. Reads each session's original cwd from the transcript.
  2. For each, opens a fresh Ghostty tab and resumes the session there.

Usage

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

Flags

| 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 |

Env overrides

  • OPS_RESUME_MINUTES (60) — lookback window
  • OPS_RESUME_MAX (20) — safety cap on tabs
  • OPS_RESUME_MIN_AGE_SEC (45) — skip sessions touched more recently than this

Reporting

After 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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.