gitpane: Instructions file for Codex

AGENTS.md

gitpane AGENTS.md is an instructions file for Codex, OpenCode from affromero/gitpane. It costs 1,962 tokens per session, scanned A, original, MIT.

Project instructions for Gitpane, a Rust dashboard for viewing multiple Git repositories in a terminal interface. They describe setup, commands, and checks required before commits.

In plain words
What is it for?
Use them when building, running, testing, documenting, or preparing changes for the Gitpane repository.
Why use it?
They help coding agents use the correct Rust version and run the project's formatting, linting, documentation, and test checks consistently.

Instructions file for CodexOpenCode

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/affromero/gitpane/agents-md"><img src="https://agentmods.dev/badge/instructions/affromero/gitpane/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,962 This file is loaded in full into every session.
When invoked 1,962 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.01962 $0.01962
Opus 5.5 $0.00785 $0.00785
Sonnet 5.5 $0.00392 $0.00392
Haiku 4.5 $0.00196 $0.00196

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

Security

Grade A, and why

gitpane 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 1mo 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 · 168 lines

How it starts

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

AGENTS.md

Guidance for AI coding agents working on gitpane, a multi-repo Git workspace dashboard TUI (Rust, ratatui). For the human-facing overview, see README.md.

Setup

  • Rust edition 2024, MSRV 1.88.0. Install a matching toolchain (rustup recommended).
  • No services or network access are needed to build, run, or test.
  • Full integration coverage requires git on PATH, plus sh and sleep on Unix. CLI tests use crate::git::git_test_available() to skip only missing Git, with a reason visible under --nocapture; broken Git must fail tests.
  • Optional tooling for the full local suite: cargo install cargo-audit cargo-llvm-cov, plus just for the task recipes below.

Build and run

just run                 # or: cargo run
cargo build --release

Checks (run before every commit)

just ci                  # fmt + lint + docs + test, the full gate
# or individually:
just fmt                 # cargo fmt --all
just lint                # cargo clippy --all-targets --all-features -- -D warnings
just test                # cargo test --all-targets --all-features
just docs                # rustdoc with -D warnings

CI runs the same checks and treats every warning as an error, so just ci must pass before you push. Tests are inline #[cfg(test)] modules in the binary target, so a plain cargo test --lib finds nothing. Use just test or cargo test --bin gitpane.

For changes to tests or subprocess dependencies, also run python3 scripts/check_test_environment.py on Linux or macOS. This runs every test harness with only sh and sleep on its PATH. Missing-Git skips count as passed in Rust's summary, so the normal suite with Git remains required.

Before a release, also run python3.14 scripts/check_source_package.py. It extracts the Cargo source archive into a temporary directory and runs its tests with a fresh build target, including the no-Git check on Unix. CI runs this on Linux, macOS, and Windows, and publication requires all release checks to pass.

Read the full file on GitHub · 168 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. 1mo ago Changed · +48 lines · +581 tokens per session 4409963dd5ce
  2. 1mo ago Changed · +16 lines · +244 tokens per session 7b407bbe1456
  3. 1mo ago Changed · +1 tokens per session bc733bff3940
  4. 2mo ago First seen · 104 lines · 1,136 tokens per session scan A a952e4c99921

Subscribe to this mod's changes

gitpane AGENTS.md is an instructions file published in the GitHub repository affromero/gitpane (137 stars, last pushed yesterday), licensed MIT. It adds 1,962 tokens to every session, about $0.0078 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-08-30.

Related

gitpane AGENTS.md compared with instructions from other repositories

gitpane AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gitpane AGENTS.mdaffromero/gitpaneInstructions file137yesterdayMITA1,962Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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