Skip to content

lb context

Terminal window
lb context <topic> [options]

lb context retrieves the most relevant nodes for a given topic, scoped to a specific PARA item. The topic argument is required. Results are ranked by relevance to the topic. This is useful for priming yourself before working on a project, or for generating context to pass to an AI tool.

The --para flag is required. Results are always scoped to a single PARA item to keep context focused.

OptionTypeDefaultDescription
--para <id>stringRequired. PARA item ID to scope the context query.
--limit <n>number10Maximum number of nodes to return.
--jsonflagOutput raw JSON.
--api-url <url>stringOverride the API base URL.

Get context for a topic within a project:

Terminal window
lb context "rate limiting strategy" --para proj_abc123

Increase result count:

Terminal window
lb context "database schema decisions" --para proj_abc123 --limit 20

Pipe context as JSON into another tool:

Terminal window
lb context "auth design" --para proj_abc123 --json | jq '.[].summary'