/neuroflow:search¶
Lightweight scoped search across project memory or the codebase.
/search lets you quickly find information without leaving your current workflow. It uses flow.md files as a fast index so it only reads what is relevant โ no full directory scans.
Syntax¶
Tags¶
| Tag | Scope |
|---|---|
memory |
Search inside .neuroflow/ only โ plans, summaries, session logs, analysis notes, reasoning |
project |
Search the project codebase outside .neuroflow/ โ scripts, notebooks, results, config files |
If no tag is supplied, the search defaults to memory and notifies you.
When to use it¶
- You want to find where a decision was recorded without reading every file
- You remember working on something (e.g. "ICA artifact rejection") and want to locate the relevant notes quickly
- You want to find a script or notebook somewhere in the codebase
- Another agent or command needs a quick answer about what the project memory contains
Examples¶
๐ Search: "ICA artifact rejection" [scope: memory]
Found in:
โข .neuroflow/data-preprocess/preprocessing-notes.md โ ICA run and artifact components manually rejected
โข .neuroflow/reasoning/data-preprocess.json โ decision: kept 58/64 components after visual inspection
Summary: ICA artifact rejection was completed during the data-preprocess phase. Notes are in
preprocessing-notes.md; the reasoning log records the decision and the number of components kept.
๐ Search: "bandpass filter" [scope: project]
Found in:
โข scripts/preprocessing/preprocess_eeg.py โ apply_bandpass() function, 1โ40 Hz
โข scripts/preprocessing/config.py โ bandpass_low=1, bandpass_high=40 defined here
Summary: The bandpass filter is implemented in preprocess_eeg.py and its parameters are set in config.py.
How it works¶
- Parses the tag and query from your invocation
- Reads
flow.mdas a fast index โ no full directory scans - For
memory: navigates.neuroflow/phase subfolders guided by the index - For
project: usesoutput_pathentries fromflow.mdto locate relevant directories, then searches there - Returns a compact summary: matched files with one-line reasons + a 2โ4 sentence synthesis
This command is read-only โ it never writes to .neuroflow/ or any project file.
Files read and written¶
| Direction | Files |
|---|---|
| Reads | .neuroflow/project_config.md, .neuroflow/flow.md (and phase sub-flow.md files as needed) |
| Writes | (nothing โ read-only command) |
Related commands¶
/neuroflowโ full project status/phaseโ show current phase and switch/sentinelโ full audit of.neuroflow/for consistency issues