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/standardagents/dmux/agents-mdgit clone --depth 1 https://github.com/standardagents/dmuxWhat 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.01916 | $0.01916 |
| Opus 5 | $0.00958 | $0.00958 |
| Sonnet 5 | $0.00383 | $0.00383 |
| Haiku 4.5 | $0.00192 | $0.00192 |
Grade A, and why
dmux AGENTS.md 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.
How it starts
The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md - dmux Maintainer Guide
This file is the maintainer-focused source of truth for working on dmux itself.
Docs map
README.md: end-user overview and install/usage.CONTRIBUTING.md: local development loop and PR workflow.AGENTS.md(this file): maintainer behavior, architecture landmarks, and current dev-mode workflow.
CLAUDE.md is a symlink to this file for tool compatibility.
Project overview
dmux is a TypeScript + Ink TUI for managing parallel AI-agent work in tmux panes backed by git worktrees.
Core behavior:
- One project-scoped dmux session (stable name based on project root hash)
- One worktree per work pane
- Durable regular terminals restored in their last observed working directories
- Agent launch + prompt bootstrap in each pane
- Merge/close actions with worktree cleanup hooks
- Optional multi-project grouping in one session
Important architecture landmarks
src/index.ts: startup, tmux session attach/create, control pane management, dev-mode startup behaviorsrc/DmuxApp.tsx: main TUI state, status/footer, input hookups, source switchingsrc/services/DmuxFocusService.ts: macOS helper lifecycle, fully-focused pane tracking, helper-backed native notificationssrc/services/DmuxAttentionService.ts: attention-notification coordinator for idle/waiting panessrc/services/InferenceService.ts: provider-neutral text inference, dynamic model discovery, and primary/backup failoversrc/services/CodexAppServerClient.ts: ChatGPT subscription auth/model/inference bridge through Codex app-serversrc/services/TerminalPaneNamingService.ts: LLM-based naming for regular terminals — untitled panes are checked aggressively and named from streaming output; titled panes only rename from settled output on a relaxed cadence; human names are protectedsrc/utils/paneAgentTracking.ts: process-tree detection for agents launched manually in any pane, plus exact Claude/Codex session capture used by crash restorationsrc/hooks/usePaneLoading.ts: persisted pane loading/rebinding and recreation for both worktree and terminal panessrc/hooks/useInputHandling.ts: keyboard and menu action handlingsrc/services/PopupManager.ts: popup launch + data plumbingsrc/actions/types.ts: action registry and menu visibility rulessrc/actions/implementations/closeAction.ts: close behavior + source fallback on source-pane removalsrc/components/panes/*: pane list rendering (includes source indicator)src/utils/sidebarMouse.ts+src/hooks/useSidebarMouse.ts: sidebar mouse support; mouse escape sequences are stripped from Ink's stdin via a proxy stream and re-emitted as events. Click highlights a row without changing tmux pane focus, double-click activates it (pane menu / action button), wheel steps the selection.kebabMenuPopupuses the same scheme so menu items are clickable
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.
- 2d ago First seen · 185 lines · 1,916 tokens per session scan A 7bcfbc772208
dmux AGENTS.md is an instructions file published in the GitHub repository standardagents/dmux (1,760 stars, last pushed 16d ago), licensed MIT. It adds 1,916 tokens to every session, about $0.0096 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.
Other instructions, from other repositories
watchfire CLAUDE.md
Instructions for watchfire-io/watchfire, covering watchfire - development guide, what is watchfire?, source of truth, task-completion lifecycle (v7.0 relay) and telegram bridge (v10.0 torch).
RepoResident AGENTS.md
Instructions for ychamel/RepoResident: Agent entry point: read CLAUDE.md in full — it is the operating manual — then follow its Session protocol. Everything else (state, workflows, project knowledge) is routed from there via the .agent/ directory.
sprint-mcp CLAUDE.md
Claude Code instructions for cnavta/sprint-mcp, covering claude.md, repository purpose, critical precedence rules, protocol file relationship and sprint protocol overview.
agentic-delivery-playbook AGENTS.md
Instructions for arcayne/agentic-delivery-playbook: Use adapters/codex/AGENTS.md as the repository operating instructions.
sprint-mcp AGENTS.md
AGENTS.md instructions for cnavta/sprint-mcp, covering agents.md — human–llm sprint protocol v3.0, 0. precedence & scope, partnership authority, 1. immutable laws and 2. human–llm sprint protocol.
agents-workspace AGENTS.md
AGENTS.md instructions for wcgomes/agents-workspace, covering agents.md (meta — this repository only), what this repository is, editing source of truth and working in this repo.