gang

Original🇨🇳 Chinese
Translated

GANG entry skill. When a user types /gang, it indicates that they want to upgrade the current pane to a GANG orchestrator and start the GANG closed-loop. The skill content = run `hive gang init`, move the current pane to a new window, set up the board + skeptic, and automatically dispatch /gang-orch to take over the duty.

14installs
Added on

NPX Install

npx skill4agent add notdp/hive gang

Tags

Translated version includes tags in frontmatter

SKILL.md Content (Chinese)

View Translation Comparison →

GANG — Entry

You are triggered by
/gang
; the user wants to start the GANG closed-loop. You only need to do one thing: run the following command in the current pane:
bash
hive gang init
That's it. After execution, you will see:
  • The current pane is switched to a new gang window, with the orch identity carried over
  • Within the same window, skeptic (heterogeneous CLI, claude↔codex; droid defaults to claude) and board (BLACKBOARD.md opened in vim) will appear
  • /gang-orch
    automatically takes over the orch pane, and this skill exits
If the user wants to explicitly specify a gang instance name, they can pass
--name <name>
; if not specified, the CLI will assign it automatically.

Prerequisites

  • The current pane is running an agent CLI (claude / codex / droid), not a bare shell
  • No need to run
    hive init
    in the workspace first ——
    hive gang init
    can run independently and will automatically create a team/workspace if not initialized

Boundaries (This skill only does one thing)

This skill is only responsible for running
hive gang init
. All other responsibilities are handled by the CLI and downstream skills:
  • tmux window / pane layout — Handled by
    hive gang init
    itself
  • skeptic / board spawn — Handled internally by
    hive gang init
  • Workspace path / agent name — Automatically inferred from the current pane context and used directly
  • Planning / feature splitting — This is the duty after
    /gang-orch
    takes over, and this skill is not involved

Error Handling Fallbacks

  • hive: command not found
    → Tell the user to run
    pipx install git+https://github.com/notdp/hive.git
  • If the error "not an agent pane" is reported → The current pane is not an agent CLI; switch to a pane running claude/codex/droid and run
    /gang
    again

Model Heterogeneity

hive gang init
will by default use the anti-orch family CLI to start the skeptic (claude↔codex; droid defaults to claude). If the current CLI is droid but running an Anthropic model (opus / sonnet), explicitly override it with:
bash
hive gang init --peer-cli codex

Multiple GANGs Coexistence

Multiple GANGs can exist simultaneously, with natural isolation in addressing each other. You don't need to worry about how the CLI allocates/duplicates gang names ——
hive gang init
handles this on its own.