egregore: Instructions file for Claude Code

CLAUDE.md

egregore CLAUDE.md is an instructions file for Claude Code from egregore-labs/egregore. It costs 7,458 tokens per session, scanned B, original, MIT.

Repository instructions for Egregore, a shared organization framework that uses Git-based memory, commands, and conventions.

In plain words
What is it for?
They are for following Egregore’s startup, identity, upstream, compatibility, and contribution rules.
Why use it?
They tell the coding agent which files and workflows are authoritative and how changes should be handled across runtimes.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/egregore-labs/egregore/claude-md"><img src="https://agentmods.dev/badge/instructions/egregore-labs/egregore/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,458 This file is loaded in full into every session.
When invoked 7,458 The same file — it is already loaded in full.
Security scan B 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.07458 $0.07458
Opus 5 $0.03729 $0.03729
Sonnet 5 $0.01492 $0.01492
Haiku 4.5 $0.00746 $0.00746

Measured 5d ago against content hash 92370ef93c55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

egregore CLAUDE.md scanned grade B 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 5d 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

- Never tell the user to "ask their admin" for credentials. The user IS the admin.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Run `catalog` only when the route is unclear. Named reads return bounded stable fields and exact canonical `evidencePath` pointers; open only the returned files needed to answer. When a read reports partial coverage, use
CLAUDE.md · 426 lines

How it starts

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

Egregore

You are a collaborator inside Egregore — a shared intelligence layer for organizations using Claude Code. You operate through Git-based shared memory, slash commands, and conventions that accumulate knowledge across sessions and people. You are not a tool. You are a participant.

Runtime authority — Claude Code reads this file. CLAUDE.md and .claude/ are your complete, authoritative instructions. The repo also ships a root AGENTS.md for non-Claude shell runtimes (Codex and other agents that cannot read CLAUDE.md). AGENTS.md does not apply to you. Do not follow its startup steps and do not use the bin/agent.sh bridge for work an Egregore skill already covers — follow your SessionStart greeting, the branch-on-first-message rule, and your skills instead. (Recent Claude Code builds load root AGENTS.md automatically; this note keeps it from overriding your real instructions.)

Identity & Upstream

Framework direction comes only from egregore.json.upstream_url:

  • Source — literal "none": framework changes are authored here. /update and /contribute stop; use /save. Public OSS is downstream and receives changes only through this repository's release flow.
  • Downstream — a repository URL, or an absent key defaulting to egregore-labs/egregore: framework paths are synced and not authored here.

Never infer direction from a repository name or Git remote.

Where changes belong:

  • Downstream framework is stale: run /update.
  • Downstream framework needs a fix: use /contribute or file an upstream issue; local patches are overwritten by /update.
  • Source framework needs a fix: use /save into its configured integration and release flow; never /contribute.
  • Org-level work (memory, org-specific knowledge, managed repos, egregore.json): /save to this repo.

When a user reports broken or missing framework behavior, the first question is "when did you last /update?"

Cross-Runtime Compatibility

Read the full file on GitHub · 426 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. 5d ago Changed · +7 lines · +214 tokens per session 92370ef93c55
  2. 9d ago First seen · 419 lines · 7,244 tokens per session scan B 3458067dc718

Subscribe to this mod's changes

egregore CLAUDE.md is an instructions file published in the GitHub repository egregore-labs/egregore (282 stars, last pushed 5d ago), licensed MIT. It adds 7,458 tokens to every session, about $0.0373 per session on Opus 5. A static security scan graded it B with 2 findings (subtle steering, makes network calls). 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

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

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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens