brain:rescan

Incrementally rescans project folders to update the brain database with changed files.

264|11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/rkz91/coco --skill brain-rescan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brain:rescan
Source: https://github.com/rkz91/coco/tree/main/systems/brain/skills/brain-rescan
Command: npx skills add https://github.com/rkz91/coco --skill brain-rescan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Incremental rescan of a project folder to update the brain knowledge base with new or changed files, ensuring CLAUDE.local.md, memory files, and document inventory are reflected.

Core Features & Use Cases

  • Detects new and changed files since the last scan and updates the brain DB.
  • Extracts knowledge from CLAUDE.local.md, memory files, and document inventory.
  • Requires an existing project_brain.db; run /brain-init first if none exists.

Quick Start

Run the brain:rescan command to refresh the brain database with the latest project changes.

Frequently Asked Questions about brain:rescan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I incrementally rescan a project folder to update the brain DB?

Run the brain:rescan command to detect new or changed files since the last scan and upsert the updated knowledge directly into your existing project_brain.db.

What is a delta scan for memory files and document inventories?

A delta scan identifies new and changed files since the last scan, extracting knowledge from CLAUDE.local.md, memory files, and document inventory to keep your project brain DB current.

Do I need a project_brain.db to run a knowledge-base rescan?

Yes, an incremental rescan requires an existing project_brain.db. If your project does not have one yet, you must run /brain-init first to initialize the database before rescanning.

Can I update CLAUDE.local.md knowledge without rescanning the entire project?

Yes, the incremental rescan applies a delta scan to update the brain DB with only new or changed files, ensuring updates to CLAUDE.local.md and memory files are reflected without a full scan.

What happens if I run a brain rescan without initializing the database first?

The rescan will fail because it requires an existing project_brain.db to upsert updated knowledge. You must run /brain-init first to create the database before performing any delta rescans.