thurbox: Instructions file for Codex

AGENTS.md

thurbox AGENTS.md is an instructions file for Codex, OpenCode from Thurbeen/thurbox. It costs 5,481 tokens per session, scanned A, original, MIT.

A repository guide for developing Thurbox, a terminal interface that runs multiple coding-agent command-line programs in persistent tmux sessions. It documents the Rust project, development environment, commands, and conventions.

In plain words
What is it for?
Use it when changing Thurbox, setting up its development tools, running its commands, or working with its agent registry and tmux-based sessions.
Why use it?
It helps contributors understand how the application is organized and how to build, test, and format it consistently. It also explains how sessions survive agent or terminal restarts.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions Claude Code; mentions AGENTS.md.

This is Thurbeen/thurbox's own configuration. It tells Codex and OpenCode how to work on thurbox 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 thurbox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Thurbeen/thurbox. 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/Thurbeen/thurbox/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Thurbeen/thurbox

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thurbeen/thurbox/agents-md/github.svg)](https://agentmods.dev/instructions/thurbeen/thurbox/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/thurbeen/thurbox/agents-md"><img src="https://agentmods.dev/badge/instructions/thurbeen/thurbox/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 thurbox AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/thurbeen/thurbox/agents-md"><img src="https://agentmods.dev/badge/instructions/thurbeen/thurbox/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,481 This file is loaded in full into every session.
When invoked 5,481 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.05481 $0.05481
Opus 5.5 $0.02192 $0.02192
Sonnet 5.5 $0.01096 $0.01096
Haiku 4.5 $0.00548 $0.00548

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

Security

Grade A, and why

thurbox 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 · 405 lines

How it starts

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

AGENTS.md

This file provides guidance to coding agents working in this repository.

Project

Thurbox is a multi-session coding-agent TUI orchestrator built with Rust. It runs multiple coding-agent CLI instances (Claude Code, Codex, Antigravity, opencode, aider, … — any CLI you define) inside persistent tmux sessions, rendered as terminal panels via ratatui + tui-term. Sessions survive crashes/restarts because tmux keeps the processes alive.

Each session picks which agent to run from a declarative registry (~/.config/thurbox/agents.toml). Thurbox is agent-neutral: it knows nothing about any agent's model, permissions, prompts, or tools — only how to launch the CLI with the right command + args. Each agent uses its own default config (bake a model or other flags into the agent's args if you want them).

Build & Development Commands

The reproducible dev environment is a Nix flake (flake.nix, pins the Rust toolchain + tmux/shellcheck/node/cargo-tools/just/demo stack) — enter it with nix develop (or direnv allow once; see .envrc). Non-Nix fallback: scripts/install-dev-tools.sh. Task entrypoint is just (justfile); full guide in docs/DEVELOPMENT.md.

just build                           # cargo build --bin thurbox --bin thurbox-cli
just test                            # cargo nextest run --all
just lint                            # fmt-check + clippy + deny + rumdl + shellcheck + the 3 Lua gates

cargo check --all                    # Type check (bare cargo still works)
cargo build --release                # Release build (LTO, stripped)

To run thurbox in an isolated sandbox use scripts/dev/sandbox.sh (a.k.a. just sandbox*). By default it does thurbox-only isolation: redirects only thurbox's config/data into the sandbox (via the THURBOX_CONFIG_DIR/ THURBOX_DATA_DIR overrides paths.rs honors) while keeping your real HOME — so your authenticated agent CLIs (claude/codex/…) work — and puts dev target/debug first on PATH so an agent hook's thurbox-cli hits the sandbox DB. It also names the sandbox's tmux socket outright (THURBOX_SOCKET, = $TBX_DEV_SOCKET): a relocated THURBOX_DATA_DIR otherwise derives one of its own, and teardown kills the socket by name.

Read the full file on GitHub · 405 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 · -11 tokens per session fca9e5d91b11
  2. 9d ago Changed · +3 lines · +78 tokens per session 24936c379709
  3. 20d ago Changed · +3 tokens per session 3aa32951fcbe
  4. 28d ago Changed · +5 lines · +95 tokens per session 12e24f3e6102
  5. 29d ago Changed · +1 lines · +12 tokens per session 474e216a73f7
  6. 1mo ago Changed · +23 lines · +268 tokens per session a4351652d67c
  7. 1mo ago Changed · +26 lines · +389 tokens per session 815f90784afa
  8. 1mo ago Changed · +17 lines · +173 tokens per session 3d842abcc369
  9. 1mo ago Changed · +2 lines · +47 tokens per session 2cad11ebda1d
  10. 1mo ago First seen · 329 lines · 4,427 tokens per session scan A fe970e92a464

Subscribe to this mod's changes

thurbox AGENTS.md is an instructions file published in the GitHub repository Thurbeen/thurbox (115 stars, last pushed today), licensed MIT. It adds 5,481 tokens to every session, about $0.0219 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

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens