aloong-planet

Claudecode Session Dispatcher — Development skill for Claude Code

Development community

cc-session-pool is a Claude Code plugin for macOS.

How to install Claudecode Session Dispatcher

This entry records only its repository, not the path inside it, so there is no exact command to give. Open aloong-planet/claudecode-session-dispatcher and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claudecode Session Dispatcher does

cc-session-pool is a Claude Code plugin for macOS. A session can compact its own conversation with compact_self and is woken afterwards to carry on, and can read the size of its own context with context_usage. A dispatcher session manages a pool of worker sessions in Terminal windows.

Alternatives in Development

  • Skill Compass — /skillcompass — Natural Language Dispatcher 216 ★
  • Run Plan Step — PHẢI dùng khi cần thực thi 1 bước (STEP-N.M) trong plan docs/plans/PLAN-/ qua subagent theo session isolation 90 ★
  • Dispatcher — Pick the next-best repo to work on across the portfolio — rank free repos, recommend one, claim its lease atom 49 ★

README

claudecode-session-dispatcher

`cc-session-pool` is a Claude Code plugin with four jobs:

  • Every session gets the tool compact_self. A session uses it to compact its own conversation, and is woken afterwards so that it carries on, without anyone typing /compact or telling it to go on.
  • Every session in which the plugin's mod runs gets the tool context_usage. A session uses it to learn the size of its own context, as Claude Code's status line has it. Where Claude Code refuses the mod's tool, as it does in a session started with --tools "", the session goes without it, and the reason is in Claude Code's debug log (claude --debug).
  • Every interactive session in which the plugin's mod runs is told of a stuck subagent. Once a minute the mod looks at the session's subagents, without a model request. When neither the transcript nor the token count of one has changed for 11 minutes, the mod starts a turn in the session with a report that names it. It ends no subagent, and a report waits while a turn of the session is running.
  • A dispatcher session gets ten more tools. With them it manages a pool of worker sessions that run in Terminal windows. It can open them, reset or compact their conversations, read their state, close or replace them, and bring back the unfinished conversations of those whose sessions have ended. Once a minute the plugin's mod in the dispatcher session also looks at every slot, without a model request, and starts a turn there with a report when one stops, stalls, waits on a prompt or disappears. It acts on no worker session, and a report waits while a turn of the dispatcher session is running.

What the plugin does, in full, is in the specs, listed in [docs/specs/README.md](docs/specs/README.md).

Requirements

  • macOS with the Terminal app. Worker sessions run in Terminal windows. When a session's call to compact_self is handled by the plugin's server rather than its mod, or the dispatcher session's clear is t