跳到正文
cccskills
免费在 GitHub 公开

handoff-all

Tell every open Claude Code desktop session to run /handoff, then collect each session's /resumework command. Triggers: "handoff all sessions", "wrap up every session".

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

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

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.4 KB
  • agents/openai.yaml137 B

SKILL.md(原文)

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

Handoff All Sessions

Broadcast /handoff to every open desktop session and return one HQ resume command (/resumework <thread-id>) per session. Never return Claude-native resume commands (claude --resume, session links) as the resume path.

Arguments: $ARGUMENTS — optional --dry-run (stop after step 2), --running-only (skip idle sessions), --include <id,...>, --exclude <id,...>.

Requirements

  • Desktop app runtime with the ccd_session_mgmt tools. In the terminal CLI or headless (CLAUDE_HEADLESS=1), STOP and say this skill needs the desktop app.

Process

1. Inventory

Call list_sessions with limit: 100, include_archived: false. The current session is excluded automatically. Apply --running-only, --include, --exclude. Skip unattended sessions (scheduled-task runs); send_message cannot deliver to them.

2. Readiness table and confirm

Show a table: title, running/idle, last activity, session id. Sending a message starts a turn in each target session, so this is an outward action. Ask for an explicit go with AskUserQuestion (options: send to all listed / running only / cancel). --dry-run stops here.

3. Broadcast

For each target, call send_message with this body (verbatim, fill nothing):

Run /handoff now to close out this session. In the handoff, record every active /conduct lane, background agent, PR watch, and other tracked item with its id, state, and next step, plus whether this session was in conduct mode (engine and child model). When it finishes, reply with exactly one final line in the form HQ-RESUME: /resumework <thread-id>. If this session produced no resumable state, reply HQ-RESUME: none (<reason>).

Record the returned delivery status (delivered / queued / error) and message_id per session. Do not retry errors blindly; report them.

4. Collect

Poll each session with list_events (back off, roughly every 60s, cap ~20 minutes) for the HQ-RESUME: line. As a fallback, match new thread files: ls -t workspace/threads/T-*.json | grep -v changeset created after the broadcast, using each thread's session/title fields to map it to a session.

5. Write the batch manifest

Write workspace/handoff-all/<batch-id>.json where <batch-id> is HA-YYYYMMDD-HHMMSS. This file is the only input /resume-all trusts.

{
  "batch_id": "HA-20261003-031500",
  "created_at": "<ISO-8601>",
  "resumed_at": null,
  "sessions": [
    {"session_id": "local_...", "title": "...", "cwd": "...",
     "status": "handed_off|no_state|failed|no_reply",
     "thread_id": "T-...", "resume_command": "/resumework T-...",
     "conduct": {"enabled": true, "engine": "claude", "child_model": "..."}}
  ]
}

6. Report

Final message lists one row per session:

SessionStatusResume command
titlehanded off / no state / failed / still running/resumework T-...

Flag sessions that never answered or errored. Do not run /handoff for this session unless the user asks.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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 的全部技能

报告此技能的问题