context-builder
Skill2 starsChanged 6 months agoMITView on GitHub
Generate a CONTEXT.md shared vocabulary for any project. Reduces agent verbosity by 50-75%, improves variable naming, makes conversations more precise. Interviews the user about domain terms, then produces a structured glossary the agent references every session. Use when starting a new project, onboarding to unfamiliar code, the agent is being too verbose, or conversations have too much jargon confusion. Also use when user says "build context", "shared language", "define terms", or "the agent doesn't understand my project vocabulary".
2 other projects use a version of this.
Adopted by
Most recently taken up by
- glebis/claude-skillstheir own version, first seen Jul 1, 2026
- JWhiteUX/ClaudeSkills-Librarytheir own version, first seen Apr 2, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- glebis/claude-skills★ 387same name
- JWhiteUX/ClaudeSkills-Library★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skill-forgeSkill
- ai-debt-detectorSkill
- arch-from-codeSkill
- db-schemaSkill
- design-modeSkill
- diagnoseSkill
- dynamic-workflowSkill
- error-resilienceSkill
- git-workflowSkill
- grillSkill
- handoffSkill
- mcp-conductorSkill
- prove-itSkill
- self-reviewSkill
- session-guardSkill
- setupSkill
- web-perfSkill
- zoom-outSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Create a shared vocabulary between you and the agent.
- Distinctive: line 24
Every session starts from scratch explaining the same concepts
- Distinctive: line 37
Ask these questions ONE AT A TIME:
- Distinctive: line 48
Write to the project root:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
Context Builder
Overview
Create a shared vocabulary between you and the agent. Once built, the agent speaks YOUR language — concise, precise, domain-native.
The Problem This Solves
Without shared context:
- Agent uses 20 words where your domain has 1 term
- Variables named generically ("data", "handler", "service") instead of domain terms
- Every session starts from scratch explaining the same concepts
- Conversations are verbose because the agent doesn't know your jargon
With CONTEXT.md:
- Agent speaks your domain language natively
- "the materialization cascade" replaces "when a lesson inside a section of a course is made real"
- Code uses domain terms for variables, functions, modules
- Sessions start with shared understanding already loaded
Process
1. Interview (grill the user)
Ask these questions ONE AT A TIME:
- "What is this project? One sentence."
- "What are the 3-5 most important CONCEPTS in this domain?"
- For each concept: "Define it in one sentence. What terms should I AVOID using for this?"
- "Are there relationships between these concepts? (X contains many Y, Y belongs to one X)"
- "Any terms that were previously confusing or ambiguous? What did you resolve them to?"
- "What actions/verbs are specific to this domain?" (e.g., "materialize", "triage", "hydrate")
2. Generate CONTEXT.md
Write to the project root:
# [Project Name]
[One-sentence description]
## Language
**[Term 1]**:
[Definition in one sentence]
_Avoid_: [terms NOT to use for this concept]
**[Term 2]**:
[Definition]
_Avoid_: [alternatives to avoid]
## Relationships
- A **[Term 1]** contains many **[Term 2]**s
- A **[Term 2]** belongs to one **[Term 1]**
## Flagged Ambiguities
- "[confusing term]" was previously used for both X and Y — resolved: [how it's now used]3. Persistence
Once CONTEXT.md exists:
- Agent reads it at session start
- Uses defined terms in ALL communication
- Names variables/functions using the vocabulary
- Flags when new undefined terms appear: "Should I add '[term]' to CONTEXT.md?"
4. Evolution
CONTEXT.md grows over time:
- New concepts emerge during development → add them
- Ambiguities surface → resolve and document
- Terms become obsolete → remove them
- The vocabulary becomes MORE precise with each session
Verification
After generating CONTEXT.md:
- Every domain concept has exactly ONE term (no synonyms in use)
Concrete Example
For an e-commerce project, a good CONTEXT.md entry:
**Cart**:
A temporary collection of products a customer intends to purchase. Exists per-session, persists across page navigation, cleared on checkout completion.
_Avoid_: basket, bag, order (an Order only exists AFTER checkout)
**SKU**:
The unique identifier for a specific product variant (size + color). NOT the product itself — one Product has many SKUs.
_Avoid_: product ID, item number (SKU is variant-level, product ID is parent-level)This level of precision prevents: wrong variable names (orderId when it should be cartId), confused queries (joining on product_id when you need sku_id), and verbose explanations ("the thing where users put stuff before buying").
- Each term has an "Avoid" list (prevents drift back to vague language)
- Relationships are explicit (not just a flat list)
- The agent can explain the project using ONLY these terms
Common Mistakes
- Adding implementation details to CONTEXT.md (it's a GLOSSARY, not a spec)
- Defining too many terms at once (start with 5-8 core terms, grow organically)
- Skipping the "Avoid" list (without it, the agent drifts back to generic language)
- Treating it as write-once (update when new domain concepts emerge)
Why This Works
Cognitive science: shared mental models reduce communication overhead exponentially. In software, Eric Evans called this "Ubiquitous Language" (Domain-Driven Design). mattpocock proved it works for AI agents with 75% token reduction in practice.
The CONTEXT.md IS the Ubiquitous Language for your human-agent collaboration.
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.

