Skip to content
Logo

csb path

Print a path for the default (or named) brain.

Usage

csb path [root|qmd|config] [--brain <name>]

The global skills (/brain-ingest, /brain-remember, /brain-search, /brain-refresh) call this to resolve paths at run time, so they work from any working directory.

Arguments

kind

'root' | 'qmd' | 'config' (default: 'root')

ValuePrints
rootThe brain's directory, e.g. ~/.claude-second-brain/my-brain
qmdThe brain's qmd SQLite index, e.g. ~/.claude-second-brain/my-brain/.qmd/index.sqlite
configThe central ~/.claude-second-brain/config.toml. Ignores --brain.
csb path qmd

Options

--brain <name>

string

Target a specific brain instead of the default.

csb path qmd --brain work

--root, --qmd, --config

boolean (deprecated)

Old flag form of the kind argument. Still works, and prints a warning to stderr.

-h, --help

Displays help message.

csb path --help