AI_orchestrator: Instructions file for Claude Code

CLAUDE.md

AI_orchestrator CLAUDE.md is an instructions file for Claude Code from swDomass/AI_orchestrator. It costs 7,196 tokens per session, scanned D, original, MIT.

A project guide for Claude Code, an AI coding assistant, describing the repository’s documentation, task queue, commands, and tests. The project is a Python task orchestrator that routes work between several AI coding tools.

In plain words
What is it for?
It is for updating the project documentation, choosing its task-running commands, diagnosing setup, and running all or selected tests.
Why use it?
It gives the assistant the project rules and commands needed to make changes consistently and check that they work.

Instructions file for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/swdomass/ai_orchestrator/claude-md"><img src="https://agentmods.dev/badge/instructions/swdomass/ai_orchestrator/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,196 This file is loaded in full into every session.
When invoked 7,196 The same file — it is already loaded in full.
Security scan D 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.07196 $0.07196
Opus 5.5 $0.02878 $0.02878
Sonnet 5.5 $0.01439 $0.01439
Haiku 4.5 $0.00720 $0.00720

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

Security

Grade D, and why

AI_orchestrator CLAUDE.md scanned grade D 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 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Codex git writes**: `providers/codex.py` runs `--sandbox workspace-write`, which on Windows denies writes inside `.git/` (`git add`/`commit`/`remote add` fail with "Permission denied" on `.git/index.lock`, verified 2

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- **Blocked categories**: `rm -rf`, `git push --force`, `git reset --hard`, `git clean -f`, `DROP/TRUNCATE TABLE`, `DELETE FROM` without WHERE, `format`/`mkfs`/`diskpart`, fork bombs, raw disk writes, credential exfiltra
CLAUDE.md · 139 lines

How it starts

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

CLAUDE.md

Guidance for Claude Code (claude.ai/code) when working in this repository.

Detail-Docs: Implementierungs-Details pro Modul → docs/architecture/components.md. Patterns/Invariants + Phase B Feature Flag → docs/architecture/patterns.md. Bei Code-Änderungen beide Files (diese Datei + zugehörige Detail-Datei) aktualisieren.

Obsidian-Projektdoku

<your-vault>/01_Tasks/01_Projekte/.../AI-System-Intelligence-Orchestrator.md

Project

Autonomous task orchestrator routing work across Claude Code and Codex CLI, plus opt-in providers that never enter the fallback chain: OpenRouter (HTTP), Mistral Vibe (reviewer-only) and opencode CLI (tag-activated third external voice, Stufe 2 — a ZDR-guaranteed path for customer code, capped by its own OpenRouter key rather than uncapped like the other two). Gemini (HTTP API or legacy CLI) is still implemented but retired from every active path (2026-08-15). Tasks come from an Obsidian vault Markdown queue (99_System/AI/agent-queue.md). Pure Python stdlib + pyyaml, Windows-first.

Commands

# Stand 2026-10-27 (Windows, API-Credits ADR-005 nach externem Codex-/opencode-Review, +108 Tests): 3935 passed / 0 failed / 2 skipped in 347-427 s (3932 gemessen vor dem Folge-Commit 0c0d0ea, der 3 Tests ergänzt; --collect-only danach 3937 = 3935 + 2); +108 über die 3827 auf d82d4eb = test_claude_billing 33, _gating 21, _records 18, _refresh 2, test_claude_provider_billing 34. Nicht mit PYTEST_DEBUG_TEMPROOT im Repo laufen lassen (2 git-Tests brauchen ein tmp außerhalb jedes Repos).
# Ältere Stände und Messnotizen: docs/test-und-lint-historie.md
# -p no:randomly: Das Flag bleibt als reproduzierbare Standardreihenfolge stehen (auch in ci.yml).
python -m pytest tests/ -q -p no:randomly

# Run a single test file / single test
python -m pytest tests/test_parallel_runner.py -v
python -m pytest tests/test_queue_manager_regressions.py::test_extract_cwd_supports_spaces -v

# Install dependencies
pip install -r requirements.txt

# Validate setup
python orchestrator.py --doctor
python orchestrator.py --doctor --fix --yes

# Modes
python orchestrator.py                # single-shot
python orchestrator.py --watch        # continuous + heartbeat
python orchestrator.py --dry-run      # parse queue, no execute
python orchestrator.py --check-limits # provider capacity
python orchestrator.py --list-tools   # available #tool: handlers
python orchestrator.py --dashboard    # analytics web dashboard (opens browser; --watch serves it anyway, DASHBOARD_AUTOSTART)
python orchestrator.py --lint-queue   # validate agent-queue.md

# Lint / typecheck (config in pyproject.toml; CI runs both, advisory only — continue-on-error)
ruff check .            # ruff 1122 (Stand 2026-10-09; Messnotizen: docs/test-und-lint-historie.md)
python -m mypy .        # mypy 122/38 (Stand 2026-10-09; Messnotizen: docs/test-und-lint-historie.md)

Read the full file on GitHub · 139 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 Changed · -190 lines · -3,579 tokens per session 040a7ad5b72a
  2. 18d ago Changed · +3 lines · +196 tokens per session 807c08b7c79e
  3. 20d ago Changed · +23 lines · +1,128 tokens per session 4e880523db09
  4. 21d ago Changed · +13 lines · +607 tokens per session 92233665383e
  5. 22d ago Changed · +17 lines · +713 tokens per session 65276181efeb
  6. 24d ago Changed · +13 lines · +590 tokens per session 25dcf668a614
  7. 27d ago Changed · +3 lines · +66 tokens per session fc2297ecf212
  8. 1mo ago Changed · +7 lines · +169 tokens per session 77a3033ee2e6
  9. 1mo ago Changed · +12 lines · +315 tokens per session 23387df1ff1a
  10. 1mo ago First seen · 238 lines · 6,991 tokens per session scan D 51b9051746cd

Subscribe to this mod's changes

AI_orchestrator CLAUDE.md is an instructions file published in the GitHub repository swDomass/AI_orchestrator (5 stars, last pushed 3d ago), licensed MIT. It adds 7,196 tokens to every session, about $0.0288 per session on Opus 5.5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). 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

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens