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.
npx agentmods add instructions/dotdevdotdev/agentwire-dev/claude-mdgit clone --depth 1 https://github.com/dotdevdotdev/agentwire-devWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.10527 | $0.10527 |
| Opus 5 | $0.05264 | $0.05264 |
| Sonnet 5 | $0.02105 | $0.02105 |
| Haiku 4.5 | $0.01053 | $0.01053 |
Grade D, and why
agentwire-dev CLAUDE.md scanned grade D with 3 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 yesterday.
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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| `.env` | **All API keys/secrets** — the one blessed spot, loaded on every entry point. `chmod 600`. See [`docs/wiki/security/secrets.md`](docs/wiki/security/secrets.md) | Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **Unattended guardrail** — scheduler dispatches are marked `AGENTWIRE_UNATTENDED=1`; the hook resolves `ask`-tier commands by failing closed (block + email owner) unless the matched rule carries an `unattended_allow` g Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **Damage-control hooks** block dangerous ops (`rm -rf`, `git push --force`, etc.) How it starts
The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AgentWire
Voice interface for AI coding agents. Push-to-talk from any device to tmux sessions running Claude Code.
No Backwards Compatibility - Pre-launch, no customers. Change things completely, no legacy fallbacks.
Dev Workflow
uv tool install caches builds and ignores source changes.
# Step 0 — after a remote merge, pull first. rebuild reinstalls whatever is
# checked out, so a never-pulled main silently ships stale code.
git pull --ff-only
# During development (picks up changes instantly)
agentwire portal start --dev
# After structural changes (pyproject.toml, new files)
agentwire rebuild
# After code changes: ALWAYS do both
git pull --ff-only && agentwire rebuild && agentwire portal restart --dev
Rebuild alone = stale static files. Restart alone = stale Python. The MCP server runs as a separate process started by Claude Code — session restart required after rebuild to pick up MCP changes. rebuild now refuses (warn + --force to override) when the checkout is behind origin/main, and agentwire doctor flags a behind-main checkout, a disabled kill switch (enabled: false in ~/.agentwire/damagecontrol.yml), damage-control rule/hook/matcher drift, and any of ~/.agentwire/ · .env · portal.token · machines.json readable beyond its owner (doctor --yes tightens them; #887).
CLI is the Single Source of Truth
All session/machine logic lives in CLI commands (agentwire/__main__.py). The portal (agentwire/server.py) is a thin wrapper that:
- Calls CLI via
run_agentwire_cmd(["command", "args"]) - Parses JSON output (
--jsonflag) - Adds WebSocket/real-time features
When adding new functionality:
- Implement in CLI first with
--jsonoutput - Portal calls CLI, doesn't duplicate logic
- Never bypass CLI with direct tmux/subprocess calls
CLI layout (#495): the old __main__.py monolith is split per-domain. Shared
helpers (machine config, SSH _run_remote, JSON output, session resolution, etc.)
live in agentwire/core.py; each command group lives in its own agentwire/<domain>_cli.py
module exposing a register_<domain>_parser(subparsers) registrar. build_parser()
imports them and runs the _REGISTRARS loop — adding a command means writing a new
*_cli.py + appending its registrar, not editing a god-file. Example: the portal git
endpoints (api_check_path / api_check_branches) shell out to agentwire repo-info
and agentwire branches (in repo_cli.py) rather than embedding their own git/SSH logic.
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.
- yesterday First seen · 212 lines · 10,527 tokens per session scan D 6ba0bccff50c
agentwire-dev CLAUDE.md is an instructions file published in the GitHub repository dotdevdotdev/agentwire-dev (21 stars, last pushed 17d ago), licensed Apache-2.0. It adds 10,527 tokens to every session, about $0.0526 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
luvus AGENTS.md
Instructions for RizRiyz/luvus, covering agents.md, start with current evidence, product model, non-negotiable development safety and architecture and code map.
tmux-mcp AGENTS.md
Instructions for bnomei/tmux-mcp, covering repository guidelines, project structure & module organization, build, test, and development commands, coding style & naming conventions and testing guidelines.
claude-conductor CLAUDE.md
Claude Code instructions for Brbn-jpg/claude-conductor, covering ai grid manager (system instructions), your responsibilities and autonomous mode (token-saving).
unitmux AGENTS.md
AGENTS.md instructions for yugo-ibuki/unitmux, covering agents.md, project overview, commands, architecture and ipc channels.
unitmux CLAUDE.md
Claude Code instructions for yugo-ibuki/unitmux, covering claude.md, project overview, commands, architecture and ipc channels.
intelligent-terminal rust.instructions.md
Concise Rust coding conventions for this repository.