gang

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

GANG — entry

GANG — Entry

你被
/gang
触发,用户要启动 GANG 闭环。你做一件事:在当前 pane 执行:
bash
hive gang init
完事。执行后你会看到:
  • 当前 pane 切到新的 gang window,orch 身份带过去
  • 同 window 出现 skeptic(异族 CLI,claude↔codex;droid 默认 claude)和 board(vim 打开 BLACKBOARD.md)
  • /gang-orch
    自动接管 orch pane,本 skill 退场
用户想显式指定 gang 实例名可传
--name <name>
;不传就由 CLI 自动分配。
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

  • 当前 pane 正在跑 agent CLI(claude / codex / droid),不是光秃秃 shell
  • workspace 不需要先
    hive init
    ——
    hive gang init
    可独立运行,未 init 时自动建 team / workspace
  • 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

边界(本 skill 只做一件事)

Boundaries (This skill only does one thing)

本 skill 只负责跑
hive gang init
。其余职责在 CLI 和下游 skill 里已经归位:
  • tmux 窗口 / 分栏布局
    hive gang init
    自己做
  • skeptic / board spawn
    hive gang init
    内部负责
  • workspace 路径 / agent name — 从当前 pane 上下文自动推断,直接用
  • planning / 拆 feature — 是
    /gang-orch
    接管之后的 duty,本 skill 不涉
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
    → 告诉用户
    pipx install git+https://github.com/notdp/hive.git
  • 报 "not an agent pane" → 当前 pane 不是 agent CLI,换到跑着 claude/codex/droid 的 pane 再
    /gang
  • 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
默认会用 anti-orch 家族 CLI 起 skeptic(claude↔codex;droid 默认 claude)。若当前 CLI 是 droid 但跑的是 Anthropic 模型(opus / sonnet),显式 override:
bash
hive gang init --peer-cli codex
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

多 gang 共存

Multiple GANGs Coexistence

多个 gang 可以同时存在,彼此寻址天然隔离。你不用关心 CLI 怎么分配 / 去重 gang 名 ——
hive gang init
自己搞定。
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.