scramjet CLAUDE.md

scramjet CLAUDE.md is an instructions file for coding agents from LeanAndMean/scramjet. It costs 11,360 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for Scramjet, a product built from several related packages in one shared codebase. They explain its structure, development commands, and formatting rules.

In plain words
What is it for?
Understanding the package layout, running type checks and builds, testing changes, and keeping Scramjet's modified runtime code aligned with its upstream source.
Why use it?
They give the coding agent the project context needed to work in the right package and follow the repository's build and checking process.

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/leanandmean/scramjet/claude-md
Clone the repo
git clone --depth 1 https://github.com/LeanAndMean/scramjet

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/leanandmean/scramjet/claude-md.svg)](https://agentmods.dev/instructions/leanandmean/scramjet/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/leanandmean/scramjet/claude-md"><img src="https://agentmods.dev/badge/instructions/leanandmean/scramjet/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 11,360 This file is loaded in full into every session.
When invoked 11,360 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.11360 $0.11360
Opus 5 $0.05680 $0.05680
Sonnet 5 $0.02272 $0.02272
Haiku 4.5 $0.01136 $0.01136

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

Security

Grade A, and why

scramjet 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 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.

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 · 223 lines

How it starts

The opening of the file, as written. The whole thing — 223 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.

Repository structure

Scramjet is a product monorepo. Pi runtime packages are vendored in packages/ and modified directly where appropriate. Scramjet is not an extension of Pi — it IS the product; Pi is the runtime it uses.

scramjet/
├── packages/
│   ├── tui/            Pi runtime: terminal UI
│   ├── ai/             Pi runtime: LLM providers
│   ├── agent/          Pi runtime: agent loop, state
│   ├── coding-agent/   Pi runtime: CLI, tools, sessions
│   └── scramjet/       The product: commands, orchestration
│       ├── src/
│       ├── tests/
│       ├── bin/
│       ├── mach12/       # bundled development-methodology command set
│       ├── scramjet/     # bundled product operational command set
│       └── docs/
├── UPSTREAM_DIVERGENCE.md   Tracks Pi modifications for upstream sync
├── .github/workflows/
└── package.json             Root workspace config

Commands

npm run typecheck    # tsgo --noEmit (all packages)
npm run build        # topological build: tui -> ai -> agent -> coding-agent -> scramjet
npm test             # vitest --run across all workspaces
npm run lint         # biome check .
npx vitest run packages/scramjet/tests/command-status.test.ts   # single test file

CI runs typecheck, build, test, lint, an npm pack round-trip smoke (verifies tarball contents and probes scramjet --help), and a postinstall smoke (against a temporary XDG_DATA_HOME) on ubuntu and macos.

Local development

Scramjet ships as the npm package @leanandmean/scramjet. The scramjet bin on PATH runs the compiled dist/index.js, NOT the TypeScript source. That introduces a staleness trap for Scramjet source edits.

One-time dev setup (after npm install):

Migrating from the single-repo layout? If you previously symlinked mach12/ from the repo root (before the monorepo migration), remove the stale symlink first: rm "${XDG_DATA_HOME:-$HOME/.local/share}/scramjet/mach12"

If npm already seeded either command-set destination as a real directory, move it aside and preserve any edits before running the commands below. ln -sfn does not replace an existing directory.

Read the full file on GitHub · 223 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 · 223 lines · 11,360 tokens per session scan A e73bd16170a6

Subscribe to this mod's changes

scramjet CLAUDE.md is an instructions file published in the GitHub repository LeanAndMean/scramjet (5 stars, last pushed 6d ago), licensed Apache-2.0. It adds 11,360 tokens to every session, about $0.0568 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.