squarebox: Instructions file for Claude Code

CLAUDE.md

squarebox CLAUDE.md is an instructions file for Claude Code from SquareWaveSystems/squarebox. It costs 1,894 tokens per session, scanned B, original, MIT.

Repository instructions for Squarebox, a system that builds and manages development environments. They explain the project context, issue-tracking process, labels, and important environment states.

In plain words
What is it for?
Use them when handling Squarebox issues, reviewing project decisions, managing tools, or changing environment setup and installation tracking.
Why use it?
They help coding agents understand which files and environment states matter before changing behavior.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Codex; mentions OpenCode.

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

Reuse

Borrowing it

Nothing to install: this file belongs to SquareWaveSystems/squarebox. 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/SquareWaveSystems/squarebox/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/SquareWaveSystems/squarebox

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/squarewavesystems/squarebox/claude-md/github.svg)](https://agentmods.dev/instructions/squarewavesystems/squarebox/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/squarewavesystems/squarebox/claude-md"><img src="https://agentmods.dev/badge/instructions/squarewavesystems/squarebox/claude-md/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 squarebox CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/squarewavesystems/squarebox/claude-md"><img src="https://agentmods.dev/badge/instructions/squarewavesystems/squarebox/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,894 This file is loaded in full into every session.
When invoked 1,894 The same file — it is already loaded in full.
Security scan B 1 finding. 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.01894 $0.01894
Opus 5.5 $0.00758 $0.00758
Sonnet 5.5 $0.00379 $0.00379
Haiku 4.5 $0.00189 $0.00189

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

Security

Grade B, and why

squarebox CLAUDE.md scanned grade B with 1 finding 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 26d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Runtime system-binary promotion uses narrowly matched sudo command forms with
CLAUDE.md · 172 lines

How it starts

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

CLAUDE.md

Repository guidance for coding agents and maintainers.

Agent skills

Issue tracker

Engineering issues and PRDs live in this repository's GitHub Issues. See docs/agents/issue-tracker.md.

Triage labels

Triage uses the canonical needs-triage, needs-info, ready-for-agent, ready-for-human, and wontfix roles. See docs/agents/triage-labels.md.

Domain docs

Squarebox uses a single repository context in CONTEXT.md, with decisions in docs/adr/. See docs/agents/domain.md.

Project model

Read CONTEXT.md before changing behavior. The important state split is:

  • Workspace: host project tree mounted at /workspace.
  • Managed home: named volume mounted at /home/dev; survives Box replacement.
  • Box filesystem: disposable image/container state; selected Box-tier packages must be reconciled after replacement.
  • Selection: desired optional tools under /workspace/.squarebox.
  • Observed state: binaries/configuration actually usable in the current Box.
  • Install identity: <SQUAREBOX_DIR>/.squarebox/install-state, recording runtime, paths, resource ownership, source revision, and image identity. Release pulls use an immutable digest; source builds use a local image ID/ref.
  • Candidate/Release: one source SHA bound to one multi-architecture image digest and matched assets in release.json.

Relevant architecture decisions are in docs/adr/. Do not reintroduce raw-tag stable discovery, inferred test passes, default reconstruction during uninstall, or installation after a failed artifact-verification stage.

Build and local validation

set -euo pipefail
mapfile -t test_files < <(
  find tests -maxdepth 1 -type f -name 'test-*.sh' -perm -u+x | sort
)
test "${#test_files[@]}" -gt 0
for test_file in "${test_files[@]}"; do "$test_file"; done

docker build --build-arg SQUAREBOX_VERSION=dev -t squarebox:test .
docker run --rm \
  -v "$PWD/scripts:/workspace/scripts:ro" \
  squarebox:test bash -c 'scripts/e2e-test.sh smoke'

Read the full file on GitHub · 172 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. 26d ago Changed · +6 lines · +113 tokens per session 22c78024f46e
  2. 27d ago Changed · +1 lines · +9 tokens per session e86b7936a57e
  3. 1mo ago First seen · 165 lines · 1,772 tokens per session scan B c3a17a69733e

Subscribe to this mod's changes

squarebox CLAUDE.md is an instructions file published in the GitHub repository SquareWaveSystems/squarebox (73 stars, last pushed 11d ago), licensed MIT. It adds 1,894 tokens to every session, about $0.0076 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). 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