ops-resume
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ops-resume":https://skillpi.com/zh/skills/deepskill-362a0a0effc353ec6a532e4938a63da4f65a3ece70651681af0db22e11e5d219。安装前核对上游来源和版本:https://github.com/Lifecycle-Innovations-Limited/claude-ops。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
按需启动 OPS:在用户要求“恢复会话”或“重新打开 Ghostty…”时使用此技能。
介绍来源: third_party · Lifecycle-Innovations-Limited · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 翻译待完成,请参阅来源文档。
- 实测状态
- 未测试
文件浏览
Frontmatter
name: ops-resume
description: "OPS on-demand: This skill should be used when the user asks to \"resume sessions\", \"reopen ghostty…"
argument-hint: '[-m minutes | -H hours | -n max | --here | --dry-run]'
allowed-tools:
- Bashops-resume
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.
How it works
- Scans
~/.claude/projects/**/*.jsonland keeps files whose mtime is inside the lookback window (default 60 min) but older thanOPS_RESUME_MIN_AGE_SEC(default 45s — so the session you are currently in is not reopened). - Keeps only real interactive sessions (UUID filenames); skips subagent transcripts
(
agent-*), workflow journals, and empty/junk sessions. - Reads each session's original
cwdfrom the transcript. - 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 windowOPS_RESUME_MAX(20) — safety cap on tabsOPS_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.
版本历史
-
v3.12.1
GitHub ↗
原版更新说明
### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.
-
v3.12.0
GitHub ↗
原版更新说明
### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.
-
v3.11.0
GitHub ↗
原版更新说明
### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.
-
v3.10.29
GitHub ↗
原版更新说明
### Fixed - `ops-speedup --clean` stays under 60s: on macOS it skips the slow login-items query (#1036); on Linux it skips the unused disk-reclaim scan and keeps the page cache unless `--aggressive` is set (#1035). - `ops-inbox` shows validated drafts as soon as each one is ready instead of after the whole scan (#1031). ### Changed - Hooks `ops-pretool-skill-update` and `ops-task-reminder` run async; the reminder takes a per-session lock so concurrent runs no longer lose counts, and it now also resets on Task* tools (#1032).
-
v3.10.28
GitHub ↗
原版更新说明
### Changed ops-ar: Cyanite schema drift (fileUploadRequest id, ID! upload var), real auth test via libraryTracks, webhook must verify HMAC-SHA512 Signature, bpmRangeAdjusted vs bpmPrediction, Soundcharts app-id/key pairing.
此处仅展示最近 5 个版本。 在原站查看完整版本历史 ↗
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 高效恢复最近关闭的 Claude Code 会话,显著提升用户日常工作效率
- 每个会话在独立的 Ghostty 标签页中恢复,保持工作环境隔离
亮点
- 触发词精准完整,覆盖多种变体,边界清晰
亮点
- 文档结构清晰,包含完整的使用说明、参数说明和示例
- 步骤划分明确,有详细的端到端示例和安全限制说明
亮点
- 工具来源明确,参数正确,覆盖主要异常情况
- 提供 --dry-run 预览和安全限制机制,确保操作可控
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- ghostty.org
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。