Bootstrap Project
bootstrap_projectPopulate the hot cache for a new codebase by scanning README.md, CLAUDE.md, and similar docs, parsing them into memories, and optionally promoting them for quick recall.
Instructions
Bootstrap hot cache from project documentation files.
Scans for common project documentation files (README.md, CLAUDE.md, etc.), parses them into memories, and optionally promotes to hot cache.
This is ideal for quickly populating the hot cache when starting work on a new codebase.
Edge cases handled gracefully:
Empty repo: Returns success with files_found=0 and helpful message
No markdown files: Returns success with message
File read errors: Logged in errors list, continues with other files
Empty files: Skipped silently
Binary files: Skipped with warning
All content already exists: Returns memories_skipped count
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "bootstrap_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags to apply to all memories | |
| root_path | No | Project root directory (default: current directory) | . |
| memory_type | No | Memory type for all content | project |
| file_patterns | No | Specific files to seed. If not provided, auto-detects: CLAUDE.md, README.md, CONTRIBUTING.md, ARCHITECTURE.md | |
| promote_to_hot | No | Promote all bootstrapped memories to hot cache |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| message | No | ||
| success | Yes | ||
| files_found | No | ||
| files_processed | No | ||
| memories_created | No | ||
| memories_skipped | No | ||
| hot_cache_promoted | No |