neonelemental/claude-code-board-mods/tree/main/fleet
fleet
GitHub Projects (v2) のボードを使い、会話の横にペインを追加する Claude Code プラグインが 2 つあります。fleet はセッションのエージェントを epic と ticket ごとにまとめ、board は 1 つ以上のボードを Status 列で一覧表示します。
この mod について
fleet と board は、GitHub Projects (v2) のボードをデータ源にする Claude Code のペインプラグインです。ログイン済みの gh CLI(read:project スコープ)を通じて REST で読み取ります。fleet は、現在のセッションのエージェントをボード上の epic と ticket ごとにまとめます。epic は sub-issue を持つ issue で、完了率、エージェントが付いた ticket、未処理の open ticket を表示します。ticket にはボードの列とエージェントが表示され、lead が先頭、sub-agent はその下に折りたたまれます。完了済みの ticket はエージェント数を示して最初から折りたたまれます。エージェントは説明にあるタイトル ID(ABC-12)または issue 番号(#12)で ticket と対応付けられます。見つからない場合は prompt の最初の 400 文字にある最初のタイトル ID、または親エージェントの ticket にフォールバックします。手書きのタグファイル(.claude/fleet-tags.json)がすべてを上書きします。board は Status 列ごとに 1 つ以上のボードを表示し、カード ID、タイトル、epic の sub-issue 数、In progress と In review の列に移ってからの経過時間を示します。複数ボードではボタンと 1..9 のホットキー(a は All)で表示対象を選び、その選択はセッション間で保持されます。--plugin-dir または CLAUDE_CODE_PLUGIN_DIRS 環境設定でインストールし、/config または pluginConfigs で owner、boards、statusField、ticketPattern、leadPattern、tagsFile、folded、doneColumn を設定します。function hooks を備えた Claude Code(2.1.286 でテスト済み)と gh auth refresh -s read:project が必要です。プロジェクトには何も書き込みません。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add neonelemental/claude-code-board-mods claude plugin install fleet
原文 / README
Fleet and board panes for Claude Code
Two Claude Code plugins, each a pane beside the conversation, driven by GitHub Projects (v2) boards.
fleet
This session's agents, grouped by the epics and tickets on your boards.
- An epic is an issue with sub-issues. It shows its completion (closed sub-issues of all, not-planned and duplicates left out), its tickets that have agents, and its open tickets no agent has touched yet.
- A ticket shows its board column and its agents: the lead, then its sub-agents folded under it. A finished ticket starts folded, with its agent count.
- Agents that name the epic itself are listed under it side by side, none leading the others.
- An agent the session no longer lists is marked
stopped. - Tickets in no epic are listed under "Not in an epic", agents that name no ticket under "on no ticket".
/fleet opens the pane.
board
One or more boards, by Status column: each card's id and title, epics first with their sub-issue count, and in the In progress and In review columns how long ago the card moved. With two or more boards, a button per board (hotkeys 1..9) and All (hotkey a) pick what is shown; on All, a card on several boards is drawn once. The pick is kept between sessions.
/board opens the pane, /board <number> opens it on one board, /board all on every board.
Requirements
- Claude Code with function-hook plugins. These were built and tested against 2.1.286. If a pane does not show, run
claude --debug, which names a plugin that did not load and why; where function hooks are switched off,CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1in Claude Code's environment turns them on. - The GitHub CLI,
gh, signed in with theread:projectscope:gh auth refresh -s read:project. The panes read GitHub over REST throughghand never use GraphQL. - GitHub Projects (v2) boards owned by one user or organization. For fleet, sub-issues make a ticket an epic.
Install
git clone https://github.com/neonelemental/claude-code-board-mods.git
claude --plugin-dir /path/to/claude-code-board-mods/fleet --plugin-dir /path/to/claude-code-board-mods/board
The desktop app takes no flags; name the folders in the env block of ~/.claude/settings.json instead, separated by the platform's path separator (: on macOS and Linux):
{
"env": {
"CLAUDE_CODE_PLUGIN_DIRS": "/path/to/claude-code-board-mods/fleet:/path/to/claude-code-board-mods/board"
}
}
Settings
Each setting is a row in /config, or goes under pluginConfigs in ~/.claude/settings.json, keyed by the plugin's name:
{
"pluginConfigs": {
"fleet": { "options": { "owner": "acme", "boards": "3,4", "leadPattern": "^run\\b" } },
"board": { "options": { "owner": "acme", "boards": "3,4" } }
}
}
Both plugins:
| Setting | Default | What it is |
| --- | --- | --- |
| owner | none | The GitHub user or organization that owns the boards. Until it and boards are set, the pane says how to set them. |
| boards | none | Project numbers, comma-separated: 3,4. The number is the one in the board's URL. |
| statusField | Status | The single-select field whose options are the columns, in the board's order. |
| ticketPattern | [A-Z][A-Z0-9]*-\d+ | A regular expression for a ticket id at the start of an issue title: ABC-12 Fix login is ABC-12. An issue without one is named #<number>. A pattern that does not compile falls back to the default, and the pane says so. |
fleet only:
| Setting | Default | What it is |
| --- | --- | --- |
| leadPattern | empty | A regular expression matched against agent descriptions, ignoring case: an agent on a ticket that matches it leads the ticket. Empty: the first agent to name the ticket leads it. |
| tagsFile | .claude/fleet-tags.json | The hand-mapping file, relative to the session's directory. |
board only:
| Setting | Default | What it is |
| --- | --- | --- |
| folded | Backlog,Done | Columns that start folded, comma-separated. |
| doneColumn | Done | The column listed newest-closed first, its latest 25 cards. |
Column names are compared ignoring case and spaces. In progress, In review, Ready, Todo, Backlog and Done get their own marks and colours; any other column gets a plain dot.
How agents join tickets
An agent belongs to a ticket when its description names it, by title id (ABC-12) or issue number (#12; the number also finds an issue that has a title id). Failing that, the first title id in the first 400 characters of its prompt counts. An agent started by another agent belongs to its parent's ticket. An id on no board stays a ticket of its own, marked "Not on a board".
The tags file settles an agent by hand and wins over the rest. It is read, never written:
{ "<agent id>": "ABC-12" }
fleet remembers the agents it has seen in the plugin's own store, one record per session directory, so an agent stays under its epic until the epic is closed. Finished work outside an epic stays listed for 12 hours. Nothing is written into your project.
Tests
From the clone:
claude plugin validate fleet
claude plugin validate board
claude plugin test fleet
claude plugin test board
The tests run the plugins against the engine with gh and the session's agents answered from memory; they reach no network.