diagnose

A command for checking the health of a Bubbaloop node. A node is a running component in that system, and the command examines its status, configuration, and recent logs.

In plain words
What is it for?
Use it to inspect node health, uptime, heartbeat, capabilities, logs, and data-stream activity, then decide whether to start or build the node.
Why use it?
It gathers the main diagnostic information in one procedure and links failures to a recommended action. This reduces guesswork when a node is stopped or unhealthy.

Command

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 commands/kornia/bubbaloop/diagnose
Clone the repo
git clone --depth 1 https://github.com/kornia/bubbaloop
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 201 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.00013 $0.00201
Opus 5 $0.00006 $0.00101
Sonnet 5 $0.00003 $0.00040
Haiku 4.5 $0.00001 $0.00020

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

Security

Grade A, and why

diagnose 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 2d 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.

bubbaloop-mcp/commands/diagnose.md · 19 lines

What it actually says

Diagnose node $ARGUMENTS using the bubbaloop MCP server:

  1. node_health(node_name="$ARGUMENTS") — current state, uptime, last heartbeat
  2. node_manifest(node_name="$ARGUMENTS") — declared capabilities, topics, commands
  3. node_logs(node_name="$ARGUMENTS") — last 50 lines

Decision rules:

  • Status not Running → cite the failure cause from logs and suggest node_start (or node_build if is_built=false).
  • Running but Degraded/Unhealthy → call node_stream_info and check whether the data plane is firing; cross-reference recent log lines.
  • Running and Healthy → confirm and stop; no action needed.

End with a one-line recommendation labelled → action:.

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. 2d ago First seen · 19 lines · 13 tokens per session scan A 4cef0f4b75e9

Subscribe to this mod's changes

diagnose is a command published in the GitHub repository kornia/bubbaloop (28 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 201 once invoked, about $0.0001 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-30.