orchestra: Instructions file for Claude Code

CLAUDE.md

orchestra CLAUDE.md is an instructions file for Claude Code from aleksbuss/orchestra. It costs 8,517 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.

This is aleksbuss/orchestra's own configuration. It tells Claude Code how to work on orchestra 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 orchestra configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to aleksbuss/orchestra. 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/aleksbuss/orchestra/main/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/github.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/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 orchestra CLAUDE.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/aleksbuss/orchestra/claude-md"><img src="https://agentmods.dev/badge/instructions/aleksbuss/orchestra/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8,517 This file is loaded in full into every session.
When invoked 8,517 The same file โ€” it is already loaded in full.
Security scan A 2 findings. 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.08517 $0.08517
Opus 5.5 $0.03407 $0.03407
Sonnet 5.5 $0.01703 $0.01703
Haiku 4.5 $0.00852 $0.00852

Measured 1mo ago against content hash 82c43bdafc53, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

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 ยท 274 lines

How it starts

The opening of the file, as written. The whole thing โ€” 274 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 ยท 274 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. 1mo ago Changed ยท +2 lines ยท +117 tokens per session 82c43bdafc53
  2. 1mo ago Changed dfe1f2ae2927
  3. 1mo ago Changed ยท +1 lines ยท +321 tokens per session 31e400fd7ed5
  4. 2mo ago Changed ยท +1 lines ยท +112 tokens per session aa10cf997257
  5. 2mo ago Changed ยท +1 lines ยท +134 tokens per session 3661e23a208f
  6. 2mo 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 1mo ago), licensed MIT. It adds 8,517 tokens to every session, about $0.0341 per session on Opus 5.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

orchestra CLAUDE.md compared with instructions from other repositories

orchestra CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orchestra CLAUDE.mdaleksbuss/orchestraInstructions file21mo agoMITA8,517Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k3d agoMITA4,313Codex, OpenCode