claude-code-buddy

claude-code-buddy is a skill for Claude Code from autonomous-ai/autonomous-os. It costs 134 tokens per session (2,551 once invoked), scanned A, original, Apache-2.0.

A connection between Claude Code and a device on the same local network, such as a lamp with lights, a display, or a speaker. It sends activity, notification, and usage information to the device, which decides how to present it.

In plain words
What is it for?
Use it to connect a device, send notifications, push Claude Code usage, and adjust feedback settings. It communicates with the device through protected local HTTP endpoints.
Why use it?
It lets coding activity be reflected by a nearby physical device instead of only on screen. The device can provide feedback for events such as task completion, notifications, approvals, and usage levels.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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/autonomous-ai/autonomous-os/claude-code-buddy
Any agent
npx skills add autonomous-ai/autonomous-os --skill claude-code-buddy
Clone the repo
git clone --depth 1 https://github.com/autonomous-ai/autonomous-os

Made for: Claude Code.

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 claude-code-buddy

README.md
[![agentmods](https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/claude-code-buddy.svg)](https://agentmods.dev/skills/autonomous-ai/autonomous-os/claude-code-buddy)
Your own site
<a href="https://agentmods.dev/skills/autonomous-ai/autonomous-os/claude-code-buddy"><img src="https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/claude-code-buddy.svg" alt="Measured on agentmods" height="20"></a>
Per session 134 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 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.1 $0.00134 $0.02551
Opus 5 $0.00067 $0.01275
Sonnet 5 $0.00027 $0.00510
Haiku 4.5 $0.00013 $0.00255

Measured 6d ago against content hash 32e388442789, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

claude-code-buddy scanned grade A 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 6d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/buddy_client.py, scripts/discover.py, scripts/on-notify.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

### 2.3 Send (urllib, stdlib only)
integrations/companions/claude-desktop-buddy/claude-code-buddy/SKILL.md · 280 lines

How it starts

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

Claude Code Buddy Skill

Connect to a device on the local network and push Claude Code events to it. After connecting, the Stop and Notification hooks fire automatically — this skill covers the on-demand actions (connect, notify, usage) and the plain-language config tuning.

The plugin only speaks the HTTP contract below. The device decides the actual LED / display / voice feedback; the plugin never draws anything itself.

Config

Path: ~/.config/claude-code-buddy.json (file permission 0600).

{
  "devices": [
    { "label": "My Device", "host": "lamp-a1b2.local", "last_known_ip": "192.168.1.50", "password": "the-web-admin-password" }
  ],
  "default_host": "lamp-a1b2.local",
  "usage_threshold": 80,
  "sounds_enabled": true,
  "task_done_enabled": true,
  "notify_enabled": true
}
  • host is the device's mDNS hostname (like lamp-a1b2.local); last_known_ip is the cached address used to avoid re-resolving every time.
  • password is the device's admin password — the same one used to log into the device's web UI. The daemon gates its LAN endpoints (notify / usage / approval) with it, sent as an Authorization: Bearer header; without it those calls return HTTP 401. Discovery (/health) stays open, so the device is still findable before a password is set. Stored only in this 0600 file.
  • Shared helpers live in scripts/buddy_client.py (config load/save, discovery, send(), usage fetch). Prefer them over re-implementing.

1. Discover / Connect

Find the device on the LAN and save it to config.

When to use: "connect my device", "set up my device", or when a POST fails with a connection error/timeout (the cached IP is stale).

Run discovery

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/discover.py

How it works (automatic): cache check (cached IP → /health) → mDNS browse for _autonomous._tcp/24 subnet /health sweep. Returns the found device(s) as JSON, e.g.:

[{ "host": "lamp-a1b2.local", "ip": "192.168.1.50" }]

Read the full file on GitHub · 280 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. 6d ago First seen · 280 lines · 134 tokens per session scan A 32e388442789

Subscribe to this mod's changes

claude-code-buddy is a skill published in the GitHub repository autonomous-ai/autonomous-os (272 stars, last pushed yesterday), licensed Apache-2.0. It adds 134 tokens to every session and 2,551 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

rosclaw-simforge

Safely install, validate, diagnose, and optimize ROSClaw simulation workflows across MuJoCo/MJWarp, ROS 2 rosbridge, turtlesim, Gazebo, Isaac Sim, Isaac Lab multi-GPU training, MCP, and the signed ROSClaw Hub. Use for evidence-backed physical-AI smoke tests, 4-GPU validation, simulator integration, Hub upload/download…

ros-claw/rosclaw · 97 tokens

rosclaw-embodied

Skill "rosclaw-embodied" from ros-claw/rosclaw, covering rosclaw 具身任务纪律, 权威资产, 证据与验收 and 安全分层.

ros-claw/rosclaw · 50 tokens

provider-adapter-development

Use for WorldForge provider work: adding adapters, changing capability declarations, promoting scaffolds, debugging provider failures, updating provider catalog docs, or touching LeWorldModel, GR00T, LeRobot, Cosmos-Policy, JEPA, Genie, or JEPA-WMS. Ensures capabilities remain truthful and optional runtimes stay…

AbdelStark/worldforge · 73 tokens

optional-runtime-smokes

Use for LeWorldModel, GR00T, LeRobot, PushT robotics showcase, real-checkpoint smoke scripts, checkpoint building, and host-owned optional runtime dependencies. Keeps real-runtime validation explicit without adding heavy ML/robotics packages or artifacts to the base project.

AbdelStark/worldforge · 59 tokens

tui-development

Use for the robotics showcase Textual UI: report panes, launch helpers, screenshots, visual tests, and changes under src/worldforge/harness/tui.py or robotics view/rendering modules. Preserves the optional Textual boundary while keeping robotics flow logic testable without the TUI.

AbdelStark/worldforge · 63 tokens

rosclaw

Use when operating, validating, or changing ROSClaw physical-AI runtime workflows, especially CLI smoke tests, Practice evidence loops, body/runtime checks, MCP integration, MuJoCo sandbox verification, and safe ROS or hardware boundaries.

ros-claw/rosclaw · 50 tokens