autonomous-ai-agency: Instructions file for Claude Code

CLAUDE.md

autonomous-ai-agency CLAUDE.md is an instructions file for Claude Code from strikersam/autonomous-ai-agency. It costs 5,132 tokens per session, scanned A, original, MIT.

A project operating manual for coding agents working on the autonomous-ai-agency repository. It contains binding rules, architecture guidance, security requirements, and instructions for using the project's knowledge graph.

In plain words
What is it for?
It guides repository exploration, code changes, knowledge-graph queries, security checks, and the placement of project components.
Why use it?
It tells agents what they must check and obey before changing code, reducing unsafe edits and misunderstandings about the system.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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 autonomous-ai-agency CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/strikersam/autonomous-ai-agency/claude-md"><img src="https://agentmods.dev/badge/instructions/strikersam/autonomous-ai-agency/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,132 This file is loaded in full into every session.
When invoked 5,132 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.05132 $0.05132
Opus 5 $0.02566 $0.02566
Sonnet 5 $0.01026 $0.01026
Haiku 4.5 $0.00513 $0.00513

Measured 6d ago against content hash 1f90e88f729b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

autonomous-ai-agency 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 6d 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 · 407 lines

How it starts

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

CLAUDE.md — Operating Manual

§1 and §2 are the binding ruleset for every AI agent working in this repository — Claude, Codex, Cursor, Aider, or anything else. Read them before changing code. §1 is repo-specific wiring; §2 is agent discipline, extracted verbatim into the production prompts of this repo's own agents. Everything after §2 is reference: facts about the system, not instructions.

The rules live here and nowhere else. AGENTS.md and ENGINEERING_STANDARDS.md hold reference material and point back to this section rather than restating it. If you find a rule duplicated somewhere, delete the copy — duplicated rules drift, and this repo has the scars to prove it (.claude/rules-archive/CONFLICTS.md).

Before opening a source file, query the knowledge graph — it costs a fraction of a Read/Grep pass:

graphify query "how does model routing work"
graphify explain "AgentRunner"
graphify path "OnboardingScreen" "CompanyGraphStore"
cat graphify-out/GRAPH_REPORT.md     # free overview: god nodes, communities
graphify update .                    # refresh after you change things

If graphify is missing: python -m pip install graphifyy && graphify install && graphify update .


1. The Rules

44 rules. They survive because an agent that had never read them would get this repo wrong. Generally-good engineering practice is deliberately absent — it is assumed, not legislated. See .claude/rules-archive/ for the audit that produced this list and the 308 statements it replaced.

A. Prime directive

  1. Do not change user-visible behaviour that was not requested. If a refactor could alter an output, capture the before/after and revert on any difference.

B. Wiring — where things must go

  1. All LLM/provider calls go through packages/ai/router.py (ProviderManager). Never call a provider SDK or HTTP endpoint directly.
  2. Every provider implements generate, chat, stream, health, cost, limits.
  3. Failover chain is NVIDIA NIM → TokenIn → Cerebras → Groq → Ollama — the recommended_priority in config/models.yaml, mirrored by RECOMMENDED_PROVIDER_PRIORITY in packages/ai/brain_config.py and overridable per deploy by that YAML. NVIDIA leads (not Ollama) because Ollama needs OLLAMA_BASE_URL, unset on the Render free tier. 429 → failover plus exponential backoff; 410 → permanent removal plus long cooldown; 419 → skip that model only and try the next on the same provider.
  4. Read environment variables only in config modules: packages/ai/brain.py, packages/ai/brain_config.py, app_settings.py, packages/config/. No os.environ.get() anywhere else.
  5. Secrets are environment-only: never written to disk, never logged (not even partially), never in test files.
  6. Frontend HTTP goes through the shared axios instance in frontend/src/api.js. No API calls elsewhere in the frontend.
  7. One auth system: get_current_user / get_optional_user, _require_admin for admin surfaces, verify_api_key for the proxy surface, X-Service-Token for Telegram→backend only.
  8. One BrainConfig model, in packages/ai/brain_config.py. The scheduler decides and workers execute; workers emit events and never touch the UI.

Read the full file on GitHub · 407 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. 6d ago Changed · +13 tokens per session 1f90e88f729b
  2. 7d ago First seen · 407 lines · 5,119 tokens per session scan A c2438aaf1b4b

Subscribe to this mod's changes

autonomous-ai-agency CLAUDE.md is an instructions file published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It adds 5,132 tokens to every session, about $0.0257 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-09-03.

Related

Other instructions, from other repositories

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,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

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 · 6,785 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 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,469 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens