Skip to content

nrepo search

Terminal window
nrepo search <query> [options]

nrepo search performs a semantic search across your ideas. The query is matched against titles, bodies, and tags using vector similarity. If the semantic index is unavailable, the CLI falls back to full-text search (FTS). Results are returned in descending order by relevance score.

FlagTypeDefaultDescription
--limit <n>number10Maximum number of results to return.
--jsonboolean(see auth)Output results as JSON.
--humanboolean(see auth)Output results as human-readable text.
Terminal window
nrepo search "authentication flow"
Terminal window
nrepo search "dark mode" --limit 5
Terminal window
nrepo search "performance optimization" --json | jq '.[].title'

Each result includes the idea ID, title, status, and a relevance score between 0 and 1.

Human-readable output:

#42 (0.92) Add dark mode to dashboard [exploring]
#18 (0.78) Theme system redesign [captured]
#7 (0.65) CSS variable cleanup [shipped]

JSON output returns an array of scored idea objects:

[
{
"id": 42,
"title": "Add dark mode to dashboard",
"status": "exploring",
"score": 0.92
}
]