raxol CLAUDE.md

raxol CLAUDE.md is an instructions file for coding agents from DROOdotFOO/raxol. It costs 17,878 tokens per session, scanned C, original, MIT.

Repository instructions for Raxol, an Elixir project that includes a vendored terminal-library native extension. They list setup, compilation, tests, and code-quality commands.

In plain words
What is it for?
Use them when compiling Raxol, running selected or full test suites, checking formatting and security, or diagnosing native-extension test settings.
Why use it?
They make the required test environment and checks explicit, including the need to run commands with the test environment enabled.

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/droodotfoo/raxol/claude-md
Clone the repo
git clone --depth 1 https://github.com/DROOdotFOO/raxol
Per session 17,878 This file is loaded in full into every session.
When invoked 17,878 The same file — it is already loaded in full.
Security scan C 2 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.17878 $0.17878
Opus 5 $0.08939 $0.08939
Sonnet 5 $0.03576 $0.03576
Haiku 4.5 $0.01788 $0.01788

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

Security

Grade C, and why

raxol CLAUDE.md scanned grade C with 2 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 3d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raxol.io/install | bash # scripts/install.sh, checksum-verified

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raxol.io/install | bash # scripts/install.sh, checksum-verified
CLAUDE.md · 679 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Essential Commands

Initial setup

mix deps.get

The termbox2 NIF source (in packages/raxol_terminal/lib/termbox2_nif/c_src/) is vendored directly in the repo, no git submodules needed.

Building & Compilation

MIX_ENV=test mix compile
MIX_ENV=test mix compile --warnings-as-errors

Testing

MIX_ENV=test mix test --exclude slow --exclude integration --exclude docker
MIX_ENV=test mix test test/path/to/test_file.exs      # specific file
MIX_ENV=test mix test test/path/to/test_file.exs:42   # specific line
MIX_ENV=test mix test --max-failures 5                 # limit failures
MIX_ENV=test mix test --failed                         # rerun failed

Note: TMPDIR=/tmp and SKIP_TERMBOX2_TESTS=true are set automatically via .claude/settings.json. MIX_ENV=test must be specified explicitly for compile and test commands.

Code Quality

mix raxol.check               # All checks: format, compile, credo, dialyzer, security, docs, rate, test
mix raxol.check --quick       # Skip dialyzer
mix raxol.check --only format,credo  # Run specific checks only
mix raxol.check --skip test   # Skip specific checks
mix format                    # Format code
mix format --check-formatted  # Check formatting (CI)
mix credo                     # Style checks
mix dialyzer                  # Type checking

Packages format at their own line length (98), not the root's 80. The root .formatter.exs delegates every packages/* path to that package's own config (:subdirectories), so mix format from the repo root is correct for any file in the repo and matches what CI checks.

CI gates the same thing in two places, both in the format job: the root mix format --check-formatted, then a loop running each package's own gate. Every package is covered, so cd packages/<pkg> && mix format is a no-op on a clean tree. If it rewrites files, that is a real diff and not drift.

Read the full file on GitHub · 679 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. 3d ago First seen · 679 lines · 17,878 tokens per session scan C 67566b5759b0

Subscribe to this mod's changes

raxol CLAUDE.md is an instructions file published in the GitHub repository DROOdotFOO/raxol (76 stars, last pushed 3d ago), licensed MIT. It adds 17,878 tokens to every session, about $0.0894 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.