ModsCode / Claude Code Mods / Ranking / fleet-pane
fleet-pane
/fleet: every Claude session on this Mac, waiting-on-you first and dead ones marked, with reply and copy-resume; a quiet status line counts the sessions waiting on you.
What it does
- Draws a pane, the status line, toasts
- Adds /fleet
- Hooks classic.SessionStart, session.start, ui.close
- Starts processes
Good points
- No network calls
- Written in TypeScript
- Handles errors
- Writes no files
Code to start from
A starter ModsCode writes from the drawing it read, and the mod's own lines that draw, where there are any.
Starter (register.tsx)
import type { Register } from 'claude-code'
// Drawn like fleet-pane by FixIt Technologies (pane, status, toast), as ModsCode read it from the mod's code:
// https://modscode.com/claude-mods/mods/henderson-tech-fleet-pane/
// Written by ModsCode from that reading, not copied from the mod: use it as you like.
// Each value below stands for one the mod works out at run time; put in your own.
export const register: Register = on => {
// the pane: open it with $.ui.open({ id: 'my-pane', title: "Fleet" })
on('ui.render', { component: 'Pane', requestId: 'my-pane' }, async ($, e) => {
const { Box, Text, Button } = $.ui.resolve(e)
const total = '…'
const waitingOnYou = '…'
const failure = '…'
const outcome = '…'
const length = '…'
const rule = '…'
const codexLine = '…'
const codexLine2 = '…'
const codexLine3 = '…'
return (
<Box flexDirection="column">
<Box flexDirection="row">
<Box>
<Text bold wrap="truncate-end">
{`Fleet · ${total} sessions · ${waitingOnYou} waiting on you`}
</Text>
</Box>
<Box flexDirection="row" gap={2}>
<Button label="refresh" plain hotkey="r" />
<Button label="close" plain role="dismiss" hotkey="x" />
</Box>
</Box>
<Text color="red" wrap="truncate-end">
{failure}
</Text>
<Text dimColor wrap="truncate-end">
{outcome}
</Text>
<Text dimColor>
{`waiting on you · ${length}`}
</Text>
<Text dimColor>
{" nobody is waiting on you"}
</Text>
<Text dimColor>
{`died while busy · ${length}`}
</Text>
<Text dimColor>
{`working · ${length}`}
</Text>
<Text dimColor>
{rule}
</Text>
<Text dimColor>
{`codex (read-only) · ${length}`}
</Text>
<Text dimColor wrap="truncate-end">
{codexLine}
</Text>
<Text dimColor wrap="truncate-end">
{codexLine2}
</Text>
<Text dimColor wrap="truncate-end">
{codexLine3}
</Text>
</Box>
)
})
on('session.start', async ($, e, next) => {
const reason = '…'
await $.ui.status(`fleet summary unreadable · /fleet`)
await $.ui.toast(`the pane is waiting for room (${reason})`)
return next(e)
})
}
The mod's own code
Shown under the mod's licence (MIT); its text is below. Keep the notice if you copy these lines.
mods/fleet-pane/hooks/register.tsx lines 80–239 · Pane
on('ui.render', { component: 'Pane', requestId: PANE }, async ($, e) => {
const table = $.ui.resolve(e)
const { Box, Text, Button } = table
const width = Math.max(40, e.props.bodyColumns)
const snapshot = await read($, view)
const codexRows = await read($, codex)
const failure = await read($, problem)
const replying = await read($, replyTo)
const outcome = await read($, notice)
const me = await read($, self)
if (snapshot === null) {
return (
<Box flexDirection="column">
<Text color={failure === null ? undefined : 'red'} wrap="truncate-end">
{failure ?? 'Reading the fleet…'}
</Text>
</Box>
)
}
const groups = groupSessions(snapshot.sessions)
const waitingOnYou = groups.waiting.filter(one => one.sessionId !== me).length
const first = groups.waiting.find(one => one.sessionId !== me)
const textWidth = width - ACTIONS_WIDTH
const row = (session: FleetPaneSession) => {
const isSelf = session.sessionId === me
const isDead = session.state === 'dead'
const isFirst = first !== undefined && session.sessionId === first.sessionId
const target = session
return (
<Box key={`row:${session.sessionId}`} flexDirection="column">
<Box flexDirection="row">
<Box width={textWidth}>
<Text wrap="truncate-end" dimColor={isSelf}>
{sessionLine(session, isSelf, textWidth)}
</Text>
</Box>
<Box flexDirection="row" gap={2}>
{!isSelf && !isDead && (
<Button
key={`reply:${session.sessionId}`}
label="reply"
plain
dimColor={!isFirst}
{...(isFirst ? { hotkey: 'y' } : {})}
onPress={() => {
void openReply($, target.sessionId)
}}
/>
)}
<Button
key={`copy:${session.sessionId}`}
label="copy"
plain
dimColor={!isFirst}
{...(isFirst ? { hotkey: 'c' } : {})}
onPress={press => {
void copyResume($, target, press.surface)
}}
/>
</Box>
</Box>
{replying === session.sessionId && 'Input' in table && (
<Box flexDirection="column" paddingLeft={2}>
<table.Input
key="reply-text"
label={`reply to ${displayName(session)}: `}
placeholder="type, Enter sends · Esc returns"
submitLabel="send"
autoFocus
onSubmit={value => {
void sendReply($, target, value)
}}
/>
<Text dimColor wrap="truncate-end">
{session.state === 'busy'
? 'it is busy: the reply lands inside its running turn'
: 'the reply arrives as a message from the fleet mod'}
</Text>
<Button
key="reply-cancel"
label="cancel"
plain
dimColor
onPress={() => {
void update($, replyTo, () => null)
}}
/>
</Box>
)}
{replying === session.sessionId && !('Input' in table) && (
<Text dimColor wrap="truncate-end">
this surface has no text field: reply from the terminal or desktop
</Text>
)}
</Box>
)
}
const idleParts = [`idle · ${groups.idle.length}`]
if (snapshot.counts.shell > 0) {
idleParts.push(`${snapshot.counts.shell} at a shell`)
}
if (snapshot.counts.ended + snapshot.counts.unknown > 0) {
idleParts.push(`${snapshot.counts.ended + snapshot.counts.unknown} ended or unknown`)
}
return (
<Box flexDirection="column">
<Box flexDirection="row">
<Box width={width - HEADER_ACTIONS_WIDTH}>
<Text bold wrap="truncate-end">
{`Fleet · ${snapshot.counts.total} sessions · ${waitingOnYou} waiting on you`}
</Text>
</Box>
<Box flexDirection="row" gap={2}>
<Button
key="refresh"
label="refresh"
plain
hotkey="r"
onPress={() => {
void refresh($, true)
}}
/>
<Button
key="close"
label="close"
plain
role="dismiss"
hotkey="x"
onPress={() => {
void closePane($)
}}
/>
</Box>
</Box>
{failure !== null && (
<Text color="red" wrap="truncate-end">
{failure}
</Text>
)}
{outcome !== null && (
<Text dimColor wrap="truncate-end">
{outcome}
</Text>
)}
<Text dimColor>{rule(`waiting on you · ${groups.waiting.length}`, width)}</Text>
{groups.waiting.length === 0 && <Text dimColor> nobody is waiting on you</Text>}
{groups.waiting.map(row)}
{groups.dead.length > 0 && <Text dimColor>{rule(`died while busy · ${groups.dead.length}`, width)}</Text>}
{groups.dead.map(row)}
<Text dimColor>{rule(`working · ${groups.working.length}`, width)}</Text>
{groups.working.map(row)}
<Text dimColor>{rule(idleParts.join(' · '), width)}</Text>
{codexRows.length > 0 && <Text dimColor>{rule(`codex (read-only) · ${codexRows.length}`, width)}</Text>}
{codexRows.map(one => (
<Text dimColor wrap="truncate-end">Licence text (MIT)
MIT License Copyright (c) 2026 FixIt Technologies Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
How to build this: Pane (panel), Add a slash command
What its code calls
runs programsreads filesenv vars
What its code shows
Read from the source at commit 8849ab546300 on 2026-10-11. The first group decides whether a mod is listed; the rest is for you to weigh. A later commit is not read until the next crawl.
| Decides the listing: code you can check | |
|---|---|
| Entry read | Every module hooks/hooks.json names was read.mods/fleet-pane/hooks/register.tsx |
| Parses | Every file parses as TypeScript or JavaScript.1 files parsed |
| All its code is in the mod | Every import is a file of the mod or the engine's own module; no packages, no require.all its code is in the mod |
| Readable | No minified lines, no eval or new Function, no import of a computed path, no encoded blobs.no minified code, no eval, no encoded blobs |
| Calls in the open | Network and programs are reached as $.http.fetch and $.process.run in place, never passed around.every call outside goes through $ in the open |
| For you to weigh before installing | |
| Where it draws | The terminal, the desktop app, both, or nothing (hooks only: a guard or a prompt rewriter), as its code says. Shown, never a reason to leave a mod out.draws in the terminal and the desktop app, the same in both |
| Install line | Whether its repository's own .claude-plugin/marketplace.json lists it, so it installs from that marketplace with the lines on its page.its repository's .claude-plugin/marketplace.json does not list it: no marketplace line to give; the page shows how to try the commit read |
| Programs on Windows | Whether every program it starts through $.process exists on Windows (tail, date, open, osascript, /usr/… do not).runs no program a Windows PC lacks |
| Network | Whether every fetch names its https host in the code.no network |
| Programs | Whether every program it starts is named in the code and is not a shell, an interpreter or a network tool.mods/fleet-pane/hooks/register.tsx:288 a program named at run time |
| Reads and sends | Whether it both reads something of yours (files, environment variables, the transcript, settings) and reaches outside (the network, an MCP server, another session, telemetry).reaches no network |
| Keys in the source | Whether the source holds what looks like an API key or a private key.no keys in the source |
| Licence | An open licence (MIT, Apache-2.0, BSD, ISC, Unlicense, 0BSD, CC0) with its text lets ModsCode show its code; otherwise the code is linked.MIT |
This is a reading of the code text, not a security review: it does not run the mod, and it cannot see what a program the mod starts does. The check before installing is yours. How mods are chosen
Install it
Check it yourself before you install it. Mods run unsandboxed, with your permissions, and ModsCode does not vouch for what this code does. Read its code (or run claude plugin validate . in its folder), weigh what it reaches, and install the commit you read.
Its repository's .claude-plugin/marketplace.json does not list it, so there is no marketplace line to give.
Try the commit ModsCode read
No marketplace needed. In a terminal, clone the repository, check out the commit read, validate the mod, and load it for one session:
git clone https://github.com/henderson-tech/vybavagit -C vybava checkout 8849ab546300b930cbadf0e9e66df5c981ac12a6claude plugin validate vybava/mods/fleet-paneclaude --plugin-dir vybava/mods/fleet-paneThe validate line lists the events the mod hooks and what it asks Claude Code to do, without running it. The last line loads the mod for this session only and writes nothing to your settings. If the author has rewritten history, the commit may no longer exist.
Ask Claude about it
With the ModsCode connector added, Claude can read this mod's code and what it reaches, and build on them. Ask it like this:
Read the ModsCode mod "henderson-tech-fleet-pane" with its code and make me one like itSearch them from Claude: the MCP connector
Similar mods
- code-modernizationAnthropic★ 37,653
- crit-tuiTomasz Tomczyk★ 1,196
- remctlFederico Viticci★ 595
- task-orchestrator-modJeff Picklyk★ 208
- replay-theaterHamza Zafar★ 184
- great-ctoAlexander Velikiy★ 103
More from this repository
Badge for your README
If this is your mod, paste this into your README. It links to this page.
[](https://modscode.com/claude-mods/mods/henderson-tech-fleet-pane/)