hivemind

Reviewed at commit 867b81f

KOZMOS Hivemind: the agent swarm as a live tree. The main loop at the root and every subagent beneath its parent, each with a status glyph, type and task…

Made by
KOZMOS
What we checked

Shows a sidebar with a live tree of the main session and every subagent: status, task, model, elapsed time, token counts, estimated spend, context fill and the tool each one is running. It only watches what Claude Code reports and sends nothing anywhere. It reads no files, runs no programs and changes no tool calls.

Review details

Static review of the source at the pinned commit; not run. Registers handlers for session.start, turn.start, agent.spawn, turn.step, turn.complete, tool.call and ui.render (Pane) plus the /hivemind command that opens or closes the pane. tool.call handlers record the tool name and a short detail (command or description clipped to 60 characters, file base name, pattern, URL without scheme, query) for display, then pass the event on unchanged with next(e); nothing is blocked, rewritten or approved. Runtime calls: $.clock.now/every, $.agent.list (reconcile the roster every 3 seconds while something runs), $.session.model, $.command.register, $.ui.open/close/panes/resolve, and atom read/update for in-memory pane state. Spend is estimated from a hard-coded price table in lib/kz.ts, so it is approximate. A one-second timer runs only while an agent is running. Failure behaviour: agent.spawn and tool.call handlers have a catch that passes the event through. No fetch, no process, no file or store writes. hooks/lib/probe.ts (git and machine probes) is in the folder but is not imported by this module and was not reviewed in detail. The import ../types resolves to types/index.d.ts (types only), included in the bundle. npm dependencies: none.

What it uses
  • Reads your prompts: no
  • Sees tool calls: yes
  • Blocks or changes tool calls: no
  • Reads or writes files: no
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: no
  • Stores data: no
  • Shows something on screen: yes
Hooked events

KOZMOS Hivemind: the agent swarm as a live tree. The main loop at the root and every subagent beneath its parent, each with a status glyph, type and task, model and effort, elapsed time, requests, tokens, estimated spend, context fill and the tool it runs now. /hivemind toggles the sidebar.

Made this mod? Add a badge to your README

modsforClaude badge for hivemind

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/hivemind.svg)](https://modsforclaude.com/mods/hivemind/)

← All mods