domux AGENTS.md

domux AGENTS.md is an instructions file for Codex, OpenCode from pranav7/domux. It costs 515 tokens per session, scanned A, original, MIT.

A set of repository guidelines for domux, a small Go terminal application and command-line tool for managing coding sessions and TODO files. It explains the project layout, supported commands, storage locations, coding style, and tests.

In plain words
What is it for?
Use it when changing domux’s commands, session store, resolver, terminal interface, tmux integration, or root-level Go tests.
Why use it?
It helps developers find the right files and follow the project’s expected build, formatting, and testing workflow before committing changes.

Instructions file for CodexOpenCode

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 instructions/pranav7/domux/agents-md
Clone the repo
git clone --depth 1 https://github.com/pranav7/domux

Made for: Codex, OpenCode.

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 domux AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/pranav7/domux/agents-md.svg)](https://agentmods.dev/instructions/pranav7/domux/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/pranav7/domux/agents-md"><img src="https://agentmods.dev/badge/instructions/pranav7/domux/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 515 This file is loaded in full into every session.
When invoked 515 The same file — it is already loaded in full.
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.00515 $0.00515
Opus 5 $0.00258 $0.00258
Sonnet 5 $0.00103 $0.00103
Haiku 4.5 $0.00052 $0.00052

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

Security

Grade A, and why

domux 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 3d 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.

AGENTS.md · 52 lines

How it starts

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

Repository Guidelines

Project Structure & Module Organization

domux is a small Go CLI/TUI in one root package. Core entrypoints and command handlers live in main.go, commands.go, and state_commands.go. Session, store, resolver, install, picker, and TUI behavior are split into matching *.go files at the repo root. Tests live beside code as *_test.go. Runtime state is external: TODO files under ~/.local/share/domux/, generated integrations under ~/.config/domux/. The built domux binary and dist/ are ignored.

Build, Test, and Development Commands

  • go test ./... runs all unit tests.
  • go build ./... checks every package builds.
  • go run . starts the TODO TUI for the current domux context.
  • go run . sessions opens the session picker.
  • go run . install tmux previews generated tmux integration.
  • go run . install tmux --apply writes integration files; review preview first.
  • gofmt -w *.go formats root Go files before commit.

Coding Style & Naming Conventions

Use standard Go style: tabs from gofmt, short package-local names, simple data structures, and explicit error returns. Keep this repo self-contained and avoid unneeded abstraction. Test names use TestBehaviorCondition, matching existing examples like TestPickerEscapeQuitsAfterStartup.

Testing Guidelines

Use Go's built-in testing package. Add focused tests beside the file under change, especially for session state, install output, picker behavior, and store parsing. Prefer table tests only when cases share the same setup. Run go test ./... before handing off.

Commit & Pull Request Guidelines

Recent commits use concise imperative subjects, for example Clear stale PR state with session state. Keep subjects short, no trailing period. Do not commit directly to restricted branches (main, master, workspace-*) unless explicitly told.

PRs should include a short problem/solution summary, tests run, and screenshots or terminal output for visible TUI or integration changes. Link issues when relevant.

Read the full file on GitHub · 52 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. 3d ago First seen · 52 lines · 515 tokens per session scan A 03ff23a77875

Subscribe to this mod's changes

domux AGENTS.md is an instructions file published in the GitHub repository pranav7/domux (5 stars, last pushed 5d ago), licensed MIT. It adds 515 tokens to every session, about $0.0026 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.