phase-search¶
Fast, minimal search of the project. Use this skill when running /search. Do not do deep exploration โ read the index first, search only what is needed, and return a brief summary.
Tag-based scoping¶
Every search invocation carries a scope tag. Recognise these two tags:
| Tag | Scope | What to search |
|---|---|---|
memory |
Inside .neuroflow/ only |
All .neuroflow/ files: project_config.md, flow.md, phase subfolders, sessions, reasoning |
project |
Outside .neuroflow/ |
Source files, scripts, notebooks, data files, config files in the repo root and subdirectories โ everything except .neuroflow/ |
If no tag is provided, default to memory and inform the user.
Search strategy โ use flow.md as the index¶
For memory searches¶
- Read
.neuroflow/flow.mdโ this is the root index. Note which phase subfolders exist and their descriptions. - For each phase subfolder relevant to the query, read its
flow.mdโ this lists the files and their one-line descriptions. - If the query term appears in a description or filename in the index, open that specific file for a targeted read.
- Only read the full content of files that the index points to as relevant โ do not read every file.
For project searches¶
- Read
.neuroflow/flow.mdfirst โ it listsoutput_pathvalues for each phase, pointing to where scripts, results, and manuscripts live. - Use the
output_pathentries to quickly locate the relevant directories. - Search those directories for files matching the query (by filename or targeted content search).
- Do not recurse into directories that are clearly unrelated.
Response format¶
Return a compact summary, not a full report. Structure:
๐ Search: "<query>" [scope: memory | project]
Found in:
โข <file-path> โ <one-line reason why it matches>
โข <file-path> โ <one-line reason why it matches>
Summary: <2โ4 sentences synthesising what was found>
If nothing is found:
๐ Search: "<query>" [scope: memory | project]
No matches found. Checked: <list of flow.md files consulted>
Suggestion: <one-line suggestion โ try a different tag, different term, or check if the phase has been started>
Rules¶
- Be fast: consult the flow.md index before opening any other file. Never open a file that the index does not point to as relevant.
- Be brief: the summary is for the main agent, not the user. Keep it to the essential finding.
- Do not modify anything: this skill is read-only. Never write to
.neuroflow/or any project file. - Do not recurse blindly: if the query matches nothing in the flow.md indices, report not-found rather than scanning all files.