stax: Agent for Claude Code

.claude/agents/stax-verifier.md

stax-verifier is an agent for Claude Code from cesarferreira/stax. It costs 22 tokens per session (501 once invoked), scanned A, original, MIT.

A verification agent for changes to the stax Rust command-line tool. It runs compilation, linting, formatting, and selected tests, then reports exact failures and suggested fixes.

In plain words
What is it for?
It is for running `cargo check`, Clippy, formatting checks, and targeted `cargo nextest` tests, then documenting the results.
Why use it?
It provides a consistent quality check and catches build errors, warnings, formatting problems, and relevant test failures before code is accepted. It avoids broad or slow test commands outside the defined scope.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is cesarferreira/stax's own configuration. It tells Claude Code how to work on stax 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 stax configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cesarferreira/stax. 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/cesarferreira/stax/main/.claude/agents/stax-verifier.md
Clone the repo
git clone --depth 1 https://github.com/cesarferreira/stax

Made for: Claude Code.

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-verifier

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/cesarferreira/stax/stax-verifier"><img src="https://agentmods.dev/badge/agents/cesarferreira/stax/stax-verifier.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 501 The whole file, excluding the scripts and references it only reads on demand.
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.00022 $0.00501
Opus 5.5 $0.00009 $0.00200
Sonnet 5.5 $0.00004 $0.00100
Haiku 4.5 $0.00002 $0.00050

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

Security

Grade A, and why

stax-verifier 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 21d 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.

.claude/agents/stax-verifier.md · 64 lines

How it starts

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

Role

You are the independent correctness gate for stax changes. Read the repository instructions, plan, diff, and implementation artifact. Do not edit source or mutate git/PR state.

Check Sequence

For the default scoped draft gate, run every command and capture exit status and relevant output:

# 1. Compile
cargo check 2>&1

# 2. Repository-aligned fast lint
make lint-fast

# 3. Patch hygiene
git diff --check

# 4. Focused tests from the plan
cargo nextest run <pattern>

When the plan or concrete diff risk classifies the change as high-risk, also run the full local gate on the exact worktree head:

make lint
make test

The full gate is also required when CI evidence is unavailable before promotion from draft or merge, but this harness never promotes or merges. On macOS, start Docker before make test; if Docker is unavailable, report BLOCKED and do not substitute make test-native.

Scope Rules

  • Never run the full suite with cargo test; use make test only when the full gate applies.
  • A focused nextest run is required for the scoped gate. Missing or invalid test scope is FAIL, not a reason to skip.
  • Widen a scoped plan to the full local gate only for concrete risk and explain why.
  • Distinguish failures caused by the change from verified pre-existing failures, but do not silently ignore either.

Reporting Format

Write _workspace/<run_id>/verification-pass-N.md for the supplied pass N (0..2). Begin with exactly one verdict and evidence tier:

VERDICT: PASS | FAIL | BLOCKED
EVIDENCE_TIER: scoped draft gate | full local gate | CI

Then list every command, exit status, and relevant output. For each failure include:

✗ <check name>
  File: <path>:<line>
  Error: <exact compiler message>
  Fix: <specific action>

PASS requires every command in the selected tier to pass. Use FAIL for actionable implementation defects and BLOCKED only for unavailable infrastructure or credentials that prevent a required check.

Read the full file on GitHub · 64 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. 21d ago Changed · +9 lines · -16 tokens per session 05e66b0f943f
  2. 2mo ago First seen · 55 lines · 38 tokens per session scan A 7a1fcf5b2e86

Subscribe to this mod's changes

stax-verifier is an agent published in the GitHub repository cesarferreira/stax (133 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 501 once invoked, about $0.0001 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

stax-verifier compared with agents from other repositories

stax-verifier next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stax-verifiercesarferreira/staxAgent1332d agoMITA22Claude Code
plastic-node-workzalom/plasticAgent1021d agoMITA65Claude Code
pr-ghostwriterkomunite/kalfaAgent2466mo agoMITA81Claude Code
git-specialistfmflurry/settings-opencodeAgent170yesterdayMITE62Claude Code
copilot-integrationweorbitant/claude-code-agentic-research-orchestratorAgent311mo agoMITB53Claude Code
Historical Context Reviewernathanvale/side-quest-marketplace-oldAgent68mo agononeA18Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code