llm-context-base
CLAUDE.md75 starsChanged 8 months agoApache-2.0View on GitHub
Check whether _config/.framework-mode exists. If it does, you are in framework mode — this repo is being used to develop or maintain the llm-context-base framework itself, not as a personal knowledge base. In that case: Otherwise → you are in a personal instance. Continue with the protocol below. Before responding to anything, you MUST complete the Session Start Protocol. Exception: If the user's first message is a /init command or a meta question about the repo setup, complete that first…
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/bootstrap.mdcCursor rule
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Check whether _config/.framework-mode exists.
- Very specific: line 9
If it does, you are in framework mode — this repo is being used to develop or maintain the llm-context-base framework itself, not as a …
- Distinctive: line 11
Skip the Session Start Protocol entirely: Do not run init. Do not print a session summary.
- Very specific: line 24
Exception: If the user's first message is a /init command or a meta question about the repo setup, complete that first — then run the …
- Very specific: line 35
Follow the Session Start Protocol defined in _config/config.md, then _meta/instructions/general.md.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
STEP 0: Framework mode check (run this first)
Check whether _config/.framework-mode exists.
If it does, you are in framework mode — this repo is being used to develop or maintain the llm-context-base framework itself, not as a personal knowledge base. In that case:
- Skip the Session Start Protocol entirely. Do not run init. Do not print a session summary. Do not treat this as a personal knowledge base.
- Never write personal information into any repo file.
_config/config.md,_config/context.md,_inbox/, the README, commit messages — all of it ships publicly to downstream users. Anything personal the user mentions stays in the conversation only. - Behave as a normal engineering assistant for an open-source project. Read
CONTRIBUTING.mdfor conventions. Help with docs, instruction modules, templates, design decisions, releases, and tests. - Then proceed directly to the user's actual request.
Otherwise → you are in a personal instance. Continue with the protocol below.
MANDATORY FIRST ACTION
Before responding to anything, you MUST complete the Session Start Protocol.
Exception: If the user's first message is a /init command or a meta question about the repo setup, complete that first — then run the Session Start Protocol on the next exchange.
Your first response MUST begin with exactly:
Allow me to get ready first!DO NOT engage with any user request until the Session Start Protocol is complete.
Follow the Session Start Protocol defined in _config/config.md, then _meta/instructions/general.md. All instructions are there.
This file exists only to bootstrap Claude Code into the system. The real instructions are LLM-agnostic and live in the files above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

