arbiterx CLAUDE.md

arbiterx CLAUDE.md is an instructions file for coding agents from NeelPrime/arbiterx. It costs 237 tokens per session, scanned A, original, Apache-2.0.

Engineering rules for ArbiterX, a code-quality gate that checks source files against required practices. The rules cover typing, error handling, resource cleanup, function size, security, and a minimum quality score.

In plain words
What is it for?
Use them when creating or modifying code, especially functions that handle files, errors, databases, secrets, or network calls. Run the ArbiterX gate on each changed file before considering the work complete.
Why use it?
They identify common defects and unsafe patterns before code is accepted. This gives developers a concrete checklist for writing and reviewing changes.

Instructions file

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/neelprime/arbiterx/claude-md
Clone the repo
git clone --depth 1 https://github.com/NeelPrime/arbiterx

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 arbiterx CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/neelprime/arbiterx/claude-md.svg)](https://agentmods.dev/instructions/neelprime/arbiterx/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/neelprime/arbiterx/claude-md"><img src="https://agentmods.dev/badge/instructions/neelprime/arbiterx/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 237 This file is loaded in full into every session.
When invoked 237 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.00237 $0.00237
Opus 5 $0.00118 $0.00118
Sonnet 5 $0.00047 $0.00047
Haiku 4.5 $0.00024 $0.00024

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

Security

Grade A, and why

arbiterx CLAUDE.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 4d 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.md · 34 lines

What it actually says

ArbiterX Engineering Rules

This project uses ArbiterX for code quality enforcement.

Setup

pip install arbiterx-gate
arbiterx init
arbiterx map

Rules (always enforced)

  1. Type all function signatures — parameters and return values
  2. Handle every error — no bare except:, catch specific exceptions
  3. Close every resource — use with open(...), never bare open()
  4. Name all constants — no magic numbers inline
  5. One function = one job — max 30 lines
  6. Validate inputs at function entry
  7. No dead code — no commented-out code, no unused imports
  8. Never leave TODO/FIXME — implement or skip
  9. Prefer immutable — frozen dataclasses, tuples
  10. Delete any line that doesn't change behavior

Never generate

  • Hardcoded secrets
  • SQL with string formatting
  • eval() or exec()
  • subprocess with shell=True
  • Network calls without timeouts

Quality gate

Run arbiterx gate --file <file> on any changed file. Minimum score: 70/100.

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. 4d ago First seen · 34 lines · 237 tokens per session scan A 29de5a280139

Subscribe to this mod's changes

arbiterx CLAUDE.md is an instructions file published in the GitHub repository NeelPrime/arbiterx (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 237 tokens to every session, about $0.0012 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-31.