booklib
CLAUDE.md38 starsChanged 9 months agoMITView on GitHub
Context engineering tool for AI coding assistants. Detects post-training knowledge gaps, resolves them via MCP. BookLib: knowledge tools for this project. Read skills/booklib-mcp-guide/SKILL.md before first use.
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms-full.txtllms.txt
- llms.txtllms.txt
- animation-at-workSkill
- booklib-mcp-guideSkill
- clean-code-reviewerSkill
- data-intensive-patternsSkill
- data-pipelinesSkill
- design-patternsSkill
- domain-driven-designSkill
- effective-javaSkill
- effective-kotlinSkill
- effective-pythonSkill
- effective-typescriptSkill
- kotlin-in-actionSkill
- lean-startupSkill
- microservices-patternsSkill
- programming-with-rustSkill
- refactoring-uiSkill
- rust-in-actionSkill
- skill-routerSkill
- spring-boot-in-actionSkill
- storytelling-with-dataSkill
- system-design-interviewSkill
- using-asyncio-pythonSkill
- web-scraping-pythonSkill
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 23
Always add a test when fixing a bug
- Distinctive: line 24
Never write to CLAUDE.md or other agent config files from code — MCP handles discovery
- Distinctive: line 26
Keep CLAUDE.md under 30 lines — point to skills for depth
≈ “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
BookLib
Context engineering tool for AI coding assistants. Detects post-training knowledge gaps, resolves them via MCP.
Stack
JavaScript (Node.js >= 18, ES modules). No build step. No TypeScript.
Key Directories
bin/— CLI (booklib.js) and MCP server (booklib-mcp.js)lib/engine/— core: indexer, searcher, gap-detector, context-map, registrieslib/wizard/—booklib initinteractive wizardhooks/— PreToolUse/PostToolUse hooks for Claude Codeskills/— 23 bundled skills (SKILL.md files)tests/— 767 tests vianode:test
Commands
npm install— install depsnpm test— run all tests (must pass before committing)npm link— link for local CLI testingnode bin/booklib.js <cmd>— run CLI from source
Rules
- Always add a test when fixing a bug
- Never write to CLAUDE.md or other agent config files from code — MCP handles discovery
- MCP tools: lookup, review, remember, verify, guard (5 exposed, old names kept as aliases)
- Keep CLAUDE.md under 30 lines — point to skills for depth
BookLib: knowledge tools for this project. Read skills/booklib-mcp-guide/SKILL.md before first use.
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.

