tmuxy: Instructions file for Codex

AGENTS.md

tmuxy AGENTS.md is an instructions file for Codex, OpenCode from flplima/tmuxy. It costs 4,502 tokens per session, scanned A, original, MIT.

Repository-specific instructions for tmuxy, a web-based interface for tmux, a tool for managing terminal sessions. They describe its React frontend, Rust backend, architecture, tests, security, and data flow.

In plain words
What is it for?
Use them when working on tmuxy features, fixes, tests, documentation, or deployment-related changes.
Why use it?
They give a coding agent the project rules and technical context needed to make changes consistently.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is flplima/tmuxy's own configuration. It tells Codex and OpenCode how to work on tmuxy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything tmuxy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to flplima/tmuxy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/flplima/tmuxy/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/flplima/tmuxy

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/flplima/tmuxy/agents-md/github.svg)](https://agentmods.dev/instructions/flplima/tmuxy/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/flplima/tmuxy/agents-md"><img src="https://agentmods.dev/badge/instructions/flplima/tmuxy/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tmuxy AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/flplima/tmuxy/agents-md"><img src="https://agentmods.dev/badge/instructions/flplima/tmuxy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,502 This file is loaded in full into every session.
When invoked 4,502 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.04502 $0.04502
Opus 5.5 $0.01801 $0.01801
Sonnet 5.5 $0.00900 $0.00900
Haiku 4.5 $0.00450 $0.00450

Measured 2d ago against content hash 1e6d4b0c84b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tmuxy 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.

AGENTS.md · 215 lines

How it starts

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

Tmuxy

A web-based tmux interface built with React (Vite) frontend and Rust backend.

This project is under active development, not production. Breaking changes are welcome. No backwards compatibility required — delete, rename, and restructure freely. One exception: the plugin API (docs/PLUGIN-API.md) only grows; changing or removing any of it needs api = 2.

See docs/ARCHITECTURE.md for high-level system overview and component interaction. See docs/STATE-MANAGEMENT.md for frontend XState and backend Rust state details. See docs/DATA-FLOW.md for SSE/HTTP protocol, Tauri IPC, and deployment scenarios. See docs/DESKTOP.md for what only the desktop app has (trackpad gestures, GUI windows, window chrome) and why. See docs/TMUX.md for control mode routing, version-specific bugs and workarounds, and docs/TMUX-TAGS.md for the @tmuxy-* window/pane tag schema. See docs/COPY-MODE.md for the client-side scrollback rendering and native browser scrolling in copy mode. See docs/SECURITY.md for security risks, mitigations, and deployment warnings. See docs/TELEMETRY.md for every network connection tmuxy and its website make, and how to turn each off (tmuxy itself sends no telemetry). See docs/TESTS.md for testing guidelines and principles. See docs/NIGHTLY-SWEEP.md for why the nightly story sweep kept failing, why its guest stays on v86 rather than CheerpX, and how it now tells a flake from a defect. See docs/INVARIANTS.md for the cross-layer promises (effect order, stream sequencing, predictions, session lifecycle) and the test that holds each one. See docs/NON-GOALS.md for what tmuxy intentionally does NOT do. See docs/PLUGINS.md for plugins: the manifest, the install gate, how an action runs. See docs/MCP.md for the /mcp endpoint (tmuxy mcp) and its tools. See docs/RICH-RENDERING.md for terminal image/OSC protocol support. See docs/PERFORMANCE.md for speed measurement: core/render processing (Axis A) vs transport (Axis B). See docs/TRACING.md for unified cross-layer action tracing into a single local NDJSON file (schema, seams, redaction boundary). See docs/CI-TRIAGE.md for the failing-CI-job → local-command map. See docs/ARCHITECTURE-INDEX.md for where a given concern lives in the tree.

Read the full file on GitHub · 215 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. 2d ago Changed · +1 lines · +30 tokens per session 1e6d4b0c84b5
  2. 3d ago Changed · +1 lines · +69 tokens per session a99094903dc4
  3. 6d ago Changed · +1 lines · +54 tokens per session 43e0239cfaac
  4. 11d ago Changed · +2 lines · +137 tokens per session bf92ea6038d0
  5. 12d ago Changed · +4 tokens per session 5c6da0a70684
  6. 15d ago Changed · -2 lines · +67 tokens per session e0fb3bd920ff
  7. 17d ago Changed · -1 lines · -94 tokens per session ba19d3e6c335
  8. 23d ago Changed · +10 lines · +309 tokens per session 052d56781349
  9. 26d ago Changed · +1 lines · +35 tokens per session ca9c9e15995e
  10. 28d ago First seen · 202 lines · 3,891 tokens per session scan A 3b6c99dfe964

Subscribe to this mod's changes

tmuxy AGENTS.md is an instructions file published in the GitHub repository flplima/tmuxy (96 stars, last pushed today), licensed MIT. It adds 4,502 tokens to every session, about $0.0180 per session on Opus 5.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-09-22.

Related

tmuxy AGENTS.md compared with instructions from other repositories

tmuxy AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tmuxy AGENTS.mdflplima/tmuxyInstructions file96todayMITA4,502Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode