Skip to content
cccskills
FreePublished on 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".

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90 stars(GitHub 90 + cccskills 0)

Run score Not tested

See how to install

Files included (2)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

accept

Free

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

adr

Free

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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.

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

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

The English summary is being prepared. Showing the original description.

indigoai-us/hq-core90Updated Oct 26, 2026

See all skills by indigoai-us

Report a problem with this skill