operator-oss: Instructions file for Claude Code

CLAUDE.md

operator-oss CLAUDE.md is an instructions file for Claude Code from iishyfishyy/operator-oss. It costs 3,791 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Orchestrator, a local web app that runs multiple Claude Code sessions across projects. They describe its commands, architecture, session flow, and important modules.

In plain words
What is it for?
Use them when changing Orchestrator, especially for running the app, building it, executing unit or end-to-end tests, and understanding how projects and tasks are managed.
Why use it?
They give a coding agent the project context needed to work safely and use the correct development and testing commands.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions Claude Code.

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

Reuse

Borrowing it

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

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 operator-oss CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/iishyfishyy/operator-oss/claude-md"><img src="https://agentmods.dev/badge/instructions/iishyfishyy/operator-oss/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,791 This file is loaded in full into every session.
When invoked 3,791 The same file — it is already loaded in full.
Security scan A 0 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.03791 $0.03791
Opus 5.5 $0.01516 $0.01516
Sonnet 5.5 $0.00758 $0.00758
Haiku 4.5 $0.00379 $0.00379

Measured 1mo ago against content hash 9734f4cbca63, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

operator-oss 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 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.

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

How it starts

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

CLAUDE.md

Orchestrator — a local-first web app that runs many Claude Code sessions in parallel across multiple projects from one screen. Each project carries reusable context + a working directory; each task is its own Claude Code session in its own git worktree, driven by @anthropic-ai/claude-agent-sdk against the user's local Claude login (no API key). (A hosted version, getoperator.dev, lives in a separate private repo that overlays this one — see "Repo split" below.)

Commands

  • npm run dev — app (:3000, server.js) + pty sidecar (:3001, pty-server.js) via concurrently. npm run dev:next / npm run pty run them separately.
  • npm run build (turbopack) then npm start for production.
  • npm test — vitest, serial on purpose (tests spawn many real git subprocesses). Single file: npx vitest run tests/merge.test.ts.
  • npm run test:e2e — Playwright end-to-end suite: builds, then boots the real prod server against a hermetic temp instance with the deterministic mock agent (lib/agents/mock/, registered only when ORCH_E2E_MOCK_AGENT=1) and drives onboarding → project → task → turn → diff → merge through the UI. npm run preflight = unit + e2e, the pre-push gate. See e2e/README.md (mock-turn directives, selector conventions, staleness gotcha: the server runs the built bundle).
  • No lint script; TypeScript is strict, path alias @/* → repo root (mirrored in vitest.config.ts).

Architecture

Three processes/entrypoints, one origin:

  • server.js — custom Next.js server (plain Node, CommonJS). Fronts Next on one port, proxies /pty WebSocket upgrades to the sidecar, forwards dev HMR upgrades to Next, enforces origin auth on WebSocket upgrades (middleware never sees upgrades — this file is the auth boundary for the terminal), and dispatches public service hostnames (<slug>--<appHost>) through lib/service-router.mjs.
  • pty-server.js — node-pty sidecar, bound to 127.0.0.1 only; never exposed directly.
  • Next app — UI in app/, REST under app/api/, server logic in lib/.

Read the full file on GitHub · 80 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 · +196 tokens per session 9734f4cbca63
  2. 1mo ago First seen · 78 lines · 3,595 tokens per session scan A e7da8d9fef43

Subscribe to this mod's changes

operator-oss CLAUDE.md is an instructions file published in the GitHub repository iishyfishyy/operator-oss (208 stars, last pushed 6d ago), licensed Apache-2.0. It adds 3,791 tokens to every session, about $0.0152 per session on Opus 5.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-30.

Related

Other instructions, from other repositories