orchestra CLAUDE.md

orchestra CLAUDE.md is an instructions file for Claude Code from aleksbuss/orchestra. It costs 7,967 tokens per session, scanned A, original, MIT.

Repository instructions for Orchestra, a swarm engine for coordinating multiple AI software agents, built around Next.js and TypeScript.

In plain words
What is it for?
Developing the Orchestra engine, running its verification commands, and safely changing areas such as streaming responses, multi-agent decision making, or file storage.
Why use it?
They tell coding agents which project rules and historical bug reports to follow, while keeping detailed guidance available only when needed.

Instructions file for Claude Code

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

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

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/aleksbuss/orchestra/claude-md.svg)](https://agentmods.dev/instructions/aleksbuss/orchestra/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/aleksbuss/orchestra/claude-md"><img src="https://agentmods.dev/badge/instructions/aleksbuss/orchestra/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 7,967 This file is loaded in full into every session.
When invoked 7,967 The same file โ€” it is already loaded in full.
Security scan A 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.1 $0.07967 $0.07967
Opus 5 $0.03984 $0.03984
Sonnet 5 $0.01593 $0.01593
Haiku 4.5 $0.00797 $0.00797

Measured today against content hash 3661e23a208f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

orchestra CLAUDE.md scanned grade A 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 today.

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.

Makes network callslowCapability

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

const res = await fetch(safeUrl, { signal: AbortSignal.timeout(5000) });

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

| Wrapping an external CLI for the agent, or reaching for `child_process.exec` in a tool | [`docs/references/graphify-integration-adr.md`](docs/references/graphify-integration-adr.md) | Tool-vs-skill-vs-MCP decision + th
CLAUDE.md ยท 270 lines

How it starts

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

Orchestra Swarm Engine

๐Ÿค– System Prompt for AI Assistants

You are an expert AI Full-Stack Software Engineer with deep expertise in Next.js 15 (App Router), TypeScript, Zustand, and Vercel AI SDK. When working on this repository, you must strictly follow these rules:

  • Write robust, self-healing, and defensive code.
  • Avoid introducing technical debt. If a pattern exists in the codebase (e.g., safeWriteFile), you MUST use it rather than reinventing standard Node.js libraries.
  • Prefer explicit TypeScript typing over any or implicit inference.
  • Do not remove existing comments unless explicitly refactoring the commented logic.
  • Consult POST_MORTEMS.md before refactoring core logic (especially SSE streams, MoA, or file storage) to avoid repeating known historical bugs.

๐Ÿ“ How this document is organized (read before adding to it)

This file is Level 1: it loads into every single session, so every line spends context budget that the task itself needs. Detailed contracts live in Level 2 (docs/references/*.md) and are loaded on demand via the trigger tables below.

Level 1 (this file) holds only

Type Example
Core commands npm run verify:strict
Non-negotiable rules every user-supplied path goes through assertPathInside
Copy-paste code patterns the SSRF-guard call shape
Directory map feature โ†’ file
Trigger indexes pointers into Level 2

Level 2 (docs/references/) holds

Full contract text, per-PM rationale, historical decisions, shipped-track narrative, edge cases, seam plans.

When you are asked to record something here

  1. Is it a rule that applies to most sessions? โ†’ Level 1, as one imperative line.
  2. Is it rationale, history, an edge case, or a shipped-track narrative? โ†’ Level 2 file, plus a trigger-table row here if a new trigger appears.
  3. Is it already enforced by a CI gate? โ†’ do not restate the rule in prose; the test is the rule. Add it to the CI-gate table below.
  4. Is the canonical source another document (POST_MORTEMS.md, docs/*.md, git history)? โ†’ link it; do not copy it.

Read the full file on GitHub ยท 270 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. today Changed ยท +1 lines ยท +134 tokens per session 3661e23a208f
  2. 5d ago First seen ยท 269 lines ยท 7,833 tokens per session scan A cb41ed3996ac

Subscribe to this mod's changes

orchestra CLAUDE.md is an instructions file published in the GitHub repository aleksbuss/orchestra (2 stars, last pushed yesterday), licensed MIT. It adds 7,967 tokens to every session, about $0.0398 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories