bcharleson/crystallized-intelligence/use-crystallized-brain
Claude Code and agent skill by bcharleson/crystallized-intelligence
- community
Checking that the SKILL.md file is still in the repository.
Layer-first retrieval from a Crystallized Intelligence for Agents brain via CLI or MCP. Use when BRAIN_ROOT is set, brain MCP tools are available, or the user asks to query/bootstrap/expand a domain brain without loading the full corpus.
Install
npx vskill@latest install bcharleson/crystallized-intelligence/use-crystallized-brainSKILL.md
Use Crystallized Brain
Procedure for agents. The brain holds mastery; this skill holds how to retrieve it cheaply.
When to use
- User or project has
BRAIN_ROOTpointing at a brain (brain.yaml+corpus/) - MCP server exposes
brain_bootstrap,brain_expand,brain_search,brain_get_document - Domain question needs curated knowledge, not a repo-wide file dump
Setup (once per machine)
MCP: see docs/AGENT-INTEGRATION.md and docs/mcp-config.example.json.
Retrieval protocol (always follow)
- Bootstrap first —
brain bootstrap <domain>orbrain_bootstrap(domain)
- Loads
_crystal/seed.md+principles.md(~200–2.5K tokens) - Enough for orientation and most routine answers
- Expand only if needed —
brain expand <domain> --query "..." --max-tokens 4000 --max-tier 3
- Tier-ranked: lower
source_tierwins (0 = first-party) - Default
max_tier=3unless user explicitly wants transcripts/social (4–5)
- Search for paths —
brain search <domain> "keyword"when you need filenames, not full bodies
- Get one file —
brain get <domain> <relative-path>for a single document
- Never read entire
sources/trees or bulk-loadcorpus/into context
Conflict resolution
When documents disagree:
- Lower
quality.source_tier(from frontmatter) wins - Higher
quality.verificationwins (canonical>expert_verified> …) - Higher
quality.confidencewins - Prefer
_crystal/overknowledge/oversources/for operational answers
CLI examples
All retrieval commands emit JSON with tokens_approx — stay within budget.
MCP tool mapping
| Step | MCP tool | |
|---|---|---|
| List domains | brain_list_domains | |
| Bootstrap | brain_bootstrap | |
| Expand | brain_expand | |
| Search | brain_search | |
| Single doc | brain_get_document |
Maintainer vs consumer
| Role | Action | |
|---|---|---|
| Consumer agent | Bootstrap → expand → get only | |
| Maintainer | Edit corpus, run classify, crystallize, verify (see README) |
Do not crystallize or rewrite corpus unless the user is maintaining the brain.
Token budget
| Operation | Typical tokens | |
|---|---|---|
| bootstrap | 200 – 2,500 | |
| expand (max 4000) | ≤ 4,000 | |
| search | snippets only | |
| get | one file |
If bootstrap + one expand is insufficient, ask the user to narrow the question or add curated knowledge/ — do not escalate to full-corpus reads.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/use-crystallized-brain/SKILL.md
Popularity
- Repository stars
- 5
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/bcharleson/crystallized-intelligence/use-crystallized-brain)