brain:rescan

Detect changed files and update the brain database with new knowledge.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill keeps a project brain database current by detecting new, changed, and removed files since the last scan and extracting only the new knowledge that matters.

Core Features & Use Cases

  • Incremental Project Scanning: Compares the current folder state against the previous scan and reports exactly what changed.
  • Targeted Knowledge Extraction: Reads updated CLAUDE.local.md files, memory notes, documents, and emails, then upserts the extracted entities into the brain database.
  • Safe Update Workflow: Deduplicates decisions and events, preserves removed-file entities, and updates manifests after successful sync.
  • Use Case: Run it after adding documentation, revising project notes, or importing new messages so the brain stays aligned with the latest workspace state.

Quick Start

Ask the skill to rescan the project folder and update the brain database with only the files that changed since the last scan.

Frequently Asked Questions about brain:rescan

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

FAQPage Schema
How do I incrementally sync new project files to an existing knowledge database?

To incrementally sync new project files to an existing knowledge database, run a rescan to detect folder changes since the last scan, extracting only new or modified file knowledge to update the brain database.

What is incremental document indexing for workspace maintenance?

Incremental document indexing for workspace maintenance is the process of comparing current folder states against a previous scan to identify changed files and deduplicate extracted entities into the project brain database.

How do I update my project brain database after revising documentation?

To update your project brain database after revising documentation, trigger a delta scan to read updated memory notes and documents, upserting the extracted entities and synchronizing the file manifests.

Does project brain database sync require an existing database to work?

Yes, project brain database sync requires an existing project_brain.db file to perform delta scanning, deduplicate decisions and events, and apply incremental knowledge updates safely.

What happens to knowledge extracted from removed files during an incremental scan?

During an incremental scan, knowledge extracted from removed files is preserved in the brain database, while the safe update workflow deduplicates decisions, events, and updates manifests after successful sync.

Can I extract knowledge from updated memory notes and emails without rescanning the entire project?

Yes, you can extract knowledge from updated memory notes and emails without rescanning the entire project by performing targeted knowledge extraction that only reads changed files and upserts new entities into the database.