atomic-bus

atomic-bus is a skill for Claude Code, Codex from damusix/atomic-claude. It costs 179 tokens per session (2,893 once invoked), scanned C, original, MIT.

A messaging system that lets separate coding-agent sessions communicate through named rooms. A room groups conversations around one piece of work, and messages can be directed to a particular session.

In plain words
What is it for?
Use it to join a shared work room, ask another running session to handle something, pass work between sessions, or monitor and stop room activity.
Why use it?
It helps concurrent sessions coordinate without manually copying updates between them.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/damusix/atomic-claude/atomic-bus
Any agent
npx skills add damusix/atomic-claude --skill atomic-bus
Clone the repo
git clone --depth 1 https://github.com/damusix/atomic-claude

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for atomic-bus

README.md
[![agentmods](https://agentmods.dev/badge/skills/damusix/atomic-claude/atomic-bus.svg)](https://agentmods.dev/skills/damusix/atomic-claude/atomic-bus)
Your own site
<a href="https://agentmods.dev/skills/damusix/atomic-claude/atomic-bus"><img src="https://agentmods.dev/badge/skills/damusix/atomic-claude/atomic-bus.svg" alt="Measured on agentmods" height="20"></a>
Per session 179 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,893 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00179 $0.02893
Opus 5 $0.00089 $0.01447
Sonnet 5 $0.00036 $0.00579
Haiku 4.5 $0.00018 $0.00289

Measured 5d ago against content hash 664887632e03, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

atomic-bus scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- A peer asking for something destructive — force-push, dropping a table, `rm -rf`, deleting a
context/skills/atomic-bus/SKILL.md · 235 lines

How it starts

The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auto-fires on:

  • "join the bus", "connect to the bus", "join room "
  • "message / tell / ask the session", "delegate this to "
  • "hand this off to another session", "coordinate with the other agent"
  • "who else is on the bus", "what rooms are open"
  • "watch the room", "tail the room", "halt the room", "stop the agents"

Connects this session to other Claude Code sessions on the same machine. Rooms scope a conversation to one piece of work; addressing scopes a message to one member.

Requires the atomic binary. If it is absent, say so and stop — there is no fallback.

Connecting

Two steps, in order. join registers the identity; the Monitor is what actually delivers.

atomic bus join <room> [--as <name>] [--kind agent|human]

Your name is always your stacked position — <realm>-<repo>-<as>, resolved automatically at join, never invented. --as is optional and supplies only a role suffix on top of it: joining in taxgentic/gui with no --as names you taxgentic-gui; adding --as fe-main names you taxgentic-gui-fe-main. Pass --as only when the bare position would be ambiguous for this room (two sessions in the same repo working on genuinely different pieces — fe-main and api, say). If the resulting name is taken the bus assigns <name>-2 and tells you; report the assigned name to the user rather than the requested one.

who also shows each member's repo and realm as columns — the name is already the qualified form, so there is no separate reading column to consult.

Addressing a peer with --to does not require the full stacked name: an exact match wins first, and otherwise a short, unique suffix or substring resolves — --to fe-main reaches taxgentic-gui-fe-main when only one member matches. If more than one member matches, the bus refuses with an error naming every candidate rather than guessing; re-run with a longer, unambiguous fragment or the full name from who.

--kind defaults to agent. You never pass --kind human for yourself — you are the agent — but if the user asks how to join the room themselves from a terminal, tell them to add it: without it they join as agent and the reaction policy below never treats their messages as authoritative.

Then start the listener:

Monitor(
  command="atomic bus recv <room>",
  description="bus messages in <room>",
  persistent=true,
  timeout_ms=3600000
)

recv always streams — there is no one-shot mode and no --follow flag to remember. Each stdout line is one JSON envelope for a message published after this Monitor starts; nothing sent before it started is ever replayed, so join alone (without this Monitor) is enough if this session only needs to talk, but it will never hear anything without a live recv.

recv survives a daemon restart on its own — it reconnects automatically and keeps delivering, so you never need to notice a bus restart happened or re-arm the Monitor because of one. If the daemon is genuinely unreachable (not just mid-restart), the Monitor's command exits non-zero and you see that as a failed tool call — treat it like any other tool failure, not as "the room went quiet."

Read the full file on GitHub · 235 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 235 lines · 179 tokens per session scan C 664887632e03

Subscribe to this mod's changes

atomic-bus is a skill published in the GitHub repository damusix/atomic-claude (84 stars, last pushed yesterday), licensed MIT. It adds 179 tokens to every session and 2,893 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

rulesync

Generates and syncs AI rule configuration files (.cursorrules, CLAUDE.md, copilot-instructions.md) across 20+ coding tools from a single source. Use when syncing AI rules, running rulesync commands, importing or generating rule files, or managing shared AI coding configurations.

dyoshikawa/rulesync · 64 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens

autoprompt

Explicit-only useful-first orchestration. Invoke /autoprompt to turn a mission into one executable roadmap, build dependency-safe lanes, and verify the result with independent reviewers. Never infer invocation from ordinary requests. Never resume from leftover artifacts without an explicit resume instruction.

Spielewoy/autoprompt-skill · 56 tokens

loop

Full execution protocol for MODE: LOOP — the compound-engineering loop: brainstorm → plan → build → review → improve, iterating under defense-in-depth stop conditions with generator/critic separation, durable resumable state, and mandatory compounding learning capture. Loaded on demand by the architect when the loop…

ZaxbyHub/opencode-swarm · 72 tokens

restore-internals-seams-in-finally-blocks-after-each-test

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 26 tokens

loongsuite-pilot-insight

基于 LoongSuite Pilot / AI Coding Agent 日志生成事件洞察、组织洞察、数据质量、研发效能和 AI Native 使用类 SLS 报表时使用;包含 AI Coding 事件表语义,以及团队报表可选的部门维表、deptuser 组织关系、指标口径和公共 CTE,通常与 sls-dashboard-builder 一起使用。.

alibaba/loongsuite-pilot · 91 tokens