operator CLAUDE.md

A project guide for working on operator, a Rust terminal app that coordinates Claude Code agents across several codebases. It records the project structure, technologies, coding style, and where plans and specifications belong.

In plain words
What is it for?
Use it to understand operator's Rust, TypeScript, terminal, web, API, and notification components, and to follow its coding and documentation conventions.
Why use it?
It gives coding agents shared project context and rules before they change code, reducing guesswork and inconsistent implementation choices.

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/untra/operator/claude-md
Clone the repo
git clone --depth 1 https://github.com/untra/operator
Per session 3,628 This file is loaded in full into every session.
When invoked 3,628 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.03628 $0.03628
Opus 5 $0.01814 $0.01814
Sonnet 5 $0.00726 $0.00726
Haiku 4.5 $0.00363 $0.00363

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

Security

Grade A, and why

operator 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 2d 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 · 309 lines

How it starts

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

CLAUDE.md - operator

Project Overview

operator is a Rust TUI application for orchestrating Claude Code agents across multi-project codebases. It manages ticket queues, launches agents, tracks progress, and provides notifications.

Tech Stack

  • Language: Rust (core), TypeScript (ui/, webcomponents/, vscode-extension/)
  • TUI: ratatui (crossterm backend); tokio async runtime
  • Server surfaces: axum REST API + utoipa OpenAPI (src/rest/), MCP server (src/mcp/), ACP (src/acp/)
  • Web: Vite/React SPA in ui/, shared webcomponents/ package, thin VS Code extension webview
  • Notifications: mac-notification-sys (macOS), notify-rust (Linux), webhooks
  • Config: config crate (TOML); File Watching: notify crate

Code Style

Aim for functional software development with a focus on stateless, single responsibility focus. Minimize use of comments; they should be terse and used judiciously, ideally one sentence tops. Data types come from rust; typescript and docs binds are generated from low-level rust types annotated with comments that embed as descriptions into configuration and reference files. Favor falsey defaults ; lets aim not to enforce default=true or some other javascript-truthy default value.

Plans & Specs Location

Write superpowers plans to superpowers/plans/ and design specs to superpowers/specs/ (repo root, not hosted).

Development Standards

  1. Ask, don't assume. If something is unclear, ask before writing into a corner. Never make silent assumptions about intent, architecture or requirements.
  2. Consider the simplest solution first. First attempt the simplest approach that could work, then consider abstractions and flexibility with regards to similar implementations.
  3. Avoid changing unrelated code. If a file or function is not part of the current task, do not modify it.
  4. Flag uncertainty explicitly. If you are not confident about an approach or technical detail, say so before proceeding.
  5. I am open to ideas on better approaches or strategies. Speak up and suggest a better course if I am off-course from a better solution.

Read the full file on GitHub · 309 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. 2d ago First seen · 309 lines · 3,628 tokens per session scan A 69cd82081266

Subscribe to this mod's changes

operator CLAUDE.md is an instructions file published in the GitHub repository untra/operator (37 stars, last pushed 5d ago), licensed MIT. It adds 3,628 tokens to every session, about $0.0181 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-30.