stax AGENTS.md

stax AGENTS.md is an instructions file for Codex, OpenCode from cesarferreira/stax. It costs 1,828 tokens per session, scanned A, original, MIT.

A set of project instructions for developing the stax Rust command-line tool. Rust is a programming language, and a command-line tool is software operated by typing commands in a terminal.

In plain words
What is it for?
It is for guiding new stax commands, bug fixes, refactors, and behavior changes, including verification, commits, and draft pull requests.
Why use it?
It gives code changes a defined path through planning, implementation, review, testing, and optional performance checks. It also uses separate Git worktrees and prevents automatic merging into the main branch.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cesarferreira/stax/agents-md.svg)](https://agentmods.dev/instructions/cesarferreira/stax/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/cesarferreira/stax/agents-md"><img src="https://agentmods.dev/badge/instructions/cesarferreira/stax/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,828 This file is loaded in full into every session.
When invoked 1,828 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.01828 $0.01828
Opus 5 $0.00914 $0.00914
Sonnet 5 $0.00366 $0.00366
Haiku 4.5 $0.00183 $0.00183

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

Security

Grade A, and why

stax 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 5d 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 · 69 lines

How it starts

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

AGENTS.md

Harness: stax-dev

Goal: Accelerate stax feature development and bug fixing via a git-native worktree → plan → implement → review → verify → (optional) benchmark → commit → draft-PR pipeline with a bounded repair loop.

Trigger: For any code change to the stax CLI (new commands, flags, bugfixes, refactors, behavior changes), run the /stax-dev prompt. It orchestrates the planner, codex, claude-reviewer, verifier, benchmarker, and release-manager agents (.pi/agents/) via the subagent tool. Direct usage/architecture questions don't need the pipeline. Each task runs in its own worktree on a stacked branch; commit + draft PR are automatic when the scoped draft gate is green; merging to main is never automatic and promoting a draft to ready-for-review is HITL-gated.

Change History:

Date Change Target Reason
2026-07-25 Initial harness build (5 agents, 5 skills, /stax-dev orchestrator) All New harness
2026-07-25 Git-native evolution: added benchmarker (optional perf gate) + stax-benchmark skill; worktree-per-task + stacked branch; auto commit-on-green + auto draft PR; hard "never merge to main" rule benchmarker.md, stax-benchmark/, release-manager.md, codex.md, stax-release/, stax-dev.md Adopt git-native workflow constraints; keep verifier as mandatory correctness gate
2026-07-28 Added fallbackModels: claude-bridge/claude-sonnet-4-6 to the four cursor/composer-2.5 agents so a provider outage (quota/auth/timeout) auto-routes instead of stalling the run; codex also falls back to openai-codex/gpt-5.6-terra. Extended benchmarker skip rule to cover pure delegation/deletion diffs with no new local hot-path work codex.md, verifier.md, benchmarker.md, release-manager.md Cursor was down + OpenAI-Codex usage-limited mid-run (stax-dev-03), forcing manual model overrides; benchmarker also burned time trying to bench a no-local-compute change
2026-08-26 Split verification into a fast scoped draft gate and a full CI/ready-for-review gate AGENTS.md, verifier.md, stax-verify/, stax-dev.md Avoid repeating the process-heavy full integration suite in every isolated worktree while retaining full validation before review or merge

Read the full file on GitHub · 69 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. 5d ago First seen · 69 lines · 1,828 tokens per session scan A a884381c1d76

Subscribe to this mod's changes

stax AGENTS.md is an instructions file published in the GitHub repository cesarferreira/stax (124 stars, last pushed 2d ago), licensed MIT. It adds 1,828 tokens to every session, about $0.0091 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.

Related

Other instructions, from other repositories