brain:init

Scan project files and bootstrap entities, decisions, events, and documents into a brain database.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Bootstraps a persistent project brain by creating a project_brain.db and bootstrapping it from existing knowledge, enabling continuity across sessions and re-runs.

Core Features & Use Cases

  • Creates a project_brain.db in the current working directory and registers the project for ongoing context.
  • Bootstraps knowledge by scanning sources such as CLAUDE.local.md, memory files, docs, and emails, then populating entities, decisions, events, and documents for the brain.
  • Handles re-runs gracefully by skipping already-processed items and only processing new or changed content.
  • Produces a manifest and document inventory to support incremental brain maintenance.

Quick Start

Run brain init from your project folder to create and bootstrap the project brain database using your current files.

Frequently Asked Questions about brain:init

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

FAQPage Schema
How do I bootstrap a project brain database from existing memory files and docs?

To bootstrap a project brain database, run the initialization process in your project folder to scan existing knowledge sources like CLAUDE.local.md, docs, and memory files, which populates entities, decisions, events, and documents into the database.

What knowledge sources are scanned when initializing a project brain database?

When initializing a project brain database, the scanner processes existing knowledge sources including CLAUDE.local.md, memory files, docs, and emails to extract entities, decisions, events, and documents for the brain.

Can I re-run the project brain bootstrap without duplicating data?

You can re-run the project brain bootstrap without duplicating data because the process enforces idempotent writes by upserting entities and recording a manifest, ensuring future runs only process new or changed content.

What's the best way to create a persistent project brain for context continuity across sessions?

The best way to create a persistent project brain for context continuity is to initialize a project_brain.db in your current working directory and bootstrap it from existing knowledge sources, enabling ongoing context across sessions and re-runs.

Does bootstrapping a project brain database require any external dependencies?

Bootstrapping a project brain database requires no external dependencies, as the process runs directly within your current working directory to create the database and scan existing knowledge sources without additional components.

How does the brain database handle incremental maintenance after the initial bootstrap?

The brain database handles incremental maintenance by producing a manifest and document inventory during bootstrap, which supports future runs by skipping already-processed items and only processing new or changed content.