bcharleson/crystallized-intelligence/use-crystallized-brain

Claude Code and agent skill by bcharleson/crystallized-intelligence

Trust tier 3
  • community
Source check pending

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-brain

SKILL.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_ROOT pointing 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)

bash
export BRAIN_ROOT=/path/to/your-brain # or examples/demo-brain in this repo

MCP: see docs/AGENT-INTEGRATION.md and docs/mcp-config.example.json.

Retrieval protocol (always follow)

  1. Bootstrap first — brain bootstrap <domain> or brain_bootstrap(domain)
  • Loads _crystal/seed.md + principles.md (~200–2.5K tokens)
  • Enough for orientation and most routine answers
  1. Expand only if needed — brain expand <domain> --query "..." --max-tokens 4000 --max-tier 3
  • Tier-ranked: lower source_tier wins (0 = first-party)
  • Default max_tier=3 unless user explicitly wants transcripts/social (4–5)
  1. Search for paths — brain search <domain> "keyword" when you need filenames, not full bodies
  1. Get one file — brain get <domain> <relative-path> for a single document
  1. Never read entire sources/ trees or bulk-load corpus/ into context

Conflict resolution

When documents disagree:

  1. Lower quality.source_tier (from frontmatter) wins
  2. Higher quality.verification wins (canonical > expert_verified > …)
  3. Higher quality.confidence wins
  4. Prefer _crystal/ over knowledge/ over sources/ for operational answers

CLI examples

bash
python tools/bin/brain.py domains
python tools/bin/brain.py bootstrap specialty-coffee
python tools/bin/brain.py bootstrap b2b-discovery
python tools/bin/brain.py expand b2b-discovery --query "disqualify" --max-tokens 4000 --max-tier 3
python tools/bin/brain.py search b2b-discovery "qualification"

All retrieval commands emit JSON with tokens_approx — stay within budget.

MCP tool mapping

StepMCP tool
List domainsbrain_list_domains
Bootstrapbrain_bootstrap
Expandbrain_expand
Searchbrain_search
Single docbrain_get_document

Maintainer vs consumer

RoleAction
Consumer agentBootstrap → expand → get only
MaintainerEdit corpus, run classify, crystallize, verify (see README)

Do not crystallize or rewrite corpus unless the user is maintaining the brain.

Token budget

OperationTypical tokens
bootstrap200 – 2,500
expand (max 4000)≤ 4,000
searchsnippets only
getone 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bcharleson/crystallized-intelligence/use-crystallized-brain/badge)](https://verified-skill.com/skills/bcharleson/crystallized-intelligence/use-crystallized-brain)

Something wrong with this skill or its page? Tell us.