bus

bus is a skill for Claude Code, Codex from tonydzi/second-brain-starter-kit. It costs 90 tokens per session (2,551 once invoked), scanned A, original, MIT.

A messaging link that lets computers in the same fleet exchange updates through a shared Telegram group, with a synced folder used for large messages or as a backup.

In plain words
What is it for?
It helps machines announce events, send instructions, and check for new messages across computers. Large messages can use the synced-folder fallback.
Why use it?
It keeps machine-to-machine communication available when file syncing is slow, broken, or unavailable, while letting people watch the exchange.

Skill for Claude CodeCodex

Part of the second-brain-skills plugin — 57 skills shipped together

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/tonydzi/second-brain-starter-kit/bus
Any agent
npx skills add tonydzi/second-brain-starter-kit --skill bus
Clone the repo
git clone --depth 1 https://github.com/tonydzi/second-brain-starter-kit

Made for: Claude Code, Codex.

Or install second-brain-skills, the plugin that ships this one along with the rest of its 57 skills.

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 bus

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/bus.svg)](https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/bus)
Your own site
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/bus"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/bus.svg" alt="Measured on agentmods" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,551 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00090 $0.02551
Opus 5 $0.00045 $0.01275
Sonnet 5 $0.00018 $0.00510
Haiku 4.5 $0.00009 $0.00255

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

Security

Grade A, and why

bus scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bus/SKILL.md · 116 lines

How it starts

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

/bus — the fleet's computers chatting in a shared Telegram group

Why. Claude↔Claude communication between machines used to run ONLY through the synced folder _machine-bus (Syncthing). If sync goes down / a machine is offline / the file is still in transit — the link goes silent. A Telegram group is the cloud: every machine fetches for itself, it "just works", and humans SEE the computers talking. Hence:

  • The Telegram group = the PRIMARY channel (this skill).
  • _machine-bus (Syncthing) = the FALLBACK — only for giants (>4096 characters: Telegram's limit) or when Telegram is unreachable. The fallback = the /inbox skill, engine machine_bus.py.

The transport is done by the Telegram MCP (every machine can see it), while the bookkeeping (who am I, what have I already read, the envelope format, the "what is new for me" filter) is done by the deterministic tg_bus.py (0 tokens). The account that ALL machines post/read as lives in ~/.claude/tg_bus.json (by default the corporate account, an impersonal service voice).


0. First of all — where the group is and who I am

python "$USERPROFILE/.claude/scripts/tg_bus.py" config

Shows {machine, chat_id, account, configured}. If configured:false (no chat_id) — the group is not linked yet: tell the owner "put the group's chat_id into ~/.claude/tg_bus.json" (or help him do it) and do NOT post at random.

machine = the name of THIS machine (from machine_bus.ME — a single source). Take account and chat_id from config for the MCP calls below.


1. SEND to the bus (to the other computers)

  1. Build the envelope deterministically (correct tag + length check):
    python "$USERPROFILE/.claude/scripts/tg_bus.py" envelope <TARGET> "text"
    
    <TARGET> = the recipient machine's name (e.g. LAPTOP-1, PEER-1) or ALL (everyone). The script prints a ready line like [BUS] HUB-1 -> ALL: text. If it warns that the length is > 4096 — do NOT send it over Telegram, fall back to the other channel (machine_bus.py send ..., see §4).
  2. Send that line into the group through the Telegram MCP (chat_id and account from §0):
    • tool mcp__telegram__send_message, chat_id=<chat_id>, account=<account>, message=<the line from envelope>.
  3. Report to the owner in one line: what went out and to whom.

Read the full file on GitHub · 116 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. 4d ago First seen · 116 lines · 90 tokens per session scan A 0c5defb01d2c

Subscribe to this mod's changes

bus is a skill published in the GitHub repository tonydzi/second-brain-starter-kit (5 stars, last pushed 5d ago), licensed MIT. It adds 90 tokens to every session and 2,551 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

wiki-ingest

Ingest supplied source material into an Obsidian vault with provenance and claim tracking: pasted text, files staged in the selected vault's inbox or .raw archive, or explicitly approved URLs. Use for a single source or bounded batch, not for saving an assistant answer. Triggers: ingest, ingest this file, ingest this…

AgriciDaniel/claude-obsidian · 88 tokens

autoresearch

Run a bounded, source-grounded research loop, draft a cited dossier, and optionally propose a separately reviewed canonical vault merge. Use when the user wants autonomous or deep research that may access the public web. Triggers: /autoresearch, autoresearch, research this topic, deep dive into, investigate, find…

AgriciDaniel/claude-obsidian · 80 tokens

canvas

Create, inspect, and update Obsidian JSON Canvas boards with text, file, link, group, and edge nodes. Use for canvas status, canvas lists, visual maps, zones, spatial layouts, adding vault notes or media to a .canvas file, and requests such as create canvas, add to canvas, or put this on the canvas.

AgriciDaniel/claude-obsidian · 72 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

wiki

Initialize, adopt, and route work for a separate Obsidian knowledge vault through the portable claude-obsidian core. Use for vault setup, scaffolding, workspace selection, cross-project configuration, or choosing the correct wiki sub-skill. Triggers: /wiki, set up wiki, scaffold vault, create knowledge base, adopt…

AgriciDaniel/claude-obsidian · 84 tokens

defuddle

Plan and, with explicit network consent, use an optional external Defuddle cleaner to extract article-like HTTPS pages as Markdown. Use for defuddle, clean this URL, strip page clutter, readable Markdown from a web page, or preparing a web source for later wiki ingestion.

AgriciDaniel/claude-obsidian · 57 tokens