跳到正文
cccskills
免费在 GitHub 公开

resume-all

Relaunch every session from a /handoff-all batch as a new Claude Code desktop session running its /resumework command. Triggers: "resume all sessions", "bring back the handed-off sessions".

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core星标 90(GitHub 90 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md2.8 KB
  • agents/openai.yaml147 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Resume All Sessions

Start one new desktop session per thread recorded by a /handoff-all batch. Each new session runs that thread's /resumework <thread-id>. Only batch manifests written by /handoff-all count. Ordinary /handoff threads are never picked up here, even if they are newer.

Arguments: $ARGUMENTS — optional <batch-id> (default: latest batch), --dry-run, --include <thread-id,...>, --exclude <thread-id,...>, --force (allow a batch that was already resumed).

Requirements

  • Desktop app runtime with the start_session session-management tool. In the terminal CLI or headless (CLAUDE_HEADLESS=1), STOP and print the /resumework commands so the user can paste them by hand.

Process

1. Load the batch

dir=workspace/handoff-all
batch="${BATCH_ID:-$(ls -t "$dir"/HA-*.json 2>/dev/null | head -1)}"
  • No manifest: STOP. Tell the user to run /handoff-all first.
  • resumed_at already set and no --force: STOP and say when it was resumed.

2. Select targets

Keep entries with status: handed_off and a thread_id. Apply include/exclude. For each, confirm the thread file still exists under workspace/threads/ (or workspace/threads/archive/**). Drop missing ones and report them. Skip any thread already held by a live resume lock (core/scripts/resume-thread-lock.sh) so two sessions do not resume the same thread.

3. Confirm

Show a table: original title, thread id, working folder. Starting sessions spends usage and each one begins work immediately, so ask for an explicit go with AskUserQuestion (start all / pick a subset / cancel). --dry-run stops here.

4. Launch

For each target, call start_session with:

  • cwd: the entry's cwd (fall back to the HQ root)
  • title: the original title, unchanged
  • prompt: /resumework <thread-id>. When the entry's conduct.enabled is true, append: "Then re-enter /conduct with engine <engine> and child model <child_model>, and reactivate every lane and tracked item listed in the handoff. Report any item that cannot be restored."

Launch sequentially. Record the new session id or the error per entry. Do not retry a failed launch automatically.

5. Record and report

Set resumed_at and add resumed_session_id per entry in the manifest. Final message: one row per thread with the original title, the new session link ([title](#<sessionId>)), and status (started / skipped / failed with reason).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

accept

免费

Accept HQ membership invites from a magic link or raw token.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

adr

免费

Capture qualifying architecture decisions as ADRs in the right HQ or repo location.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

architect

免费

Find shallow modules and propose deepening refactors, ranked with file refs; never edits code. Use when code is hard to change or planning a refactor.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Generate dark ASCII banner graphics for HQ and social launch assets.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

Compare approaches to best-in-class prior art, merge existing work, verify cruft removal, and recommend the most durable design before PRD work.

中文简介正在准备中。当前显示原文说明。

indigoai-us/hq-core902026年10月26日 更新

查看 indigoai-us 的全部技能

报告此技能的问题