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.

| Option | Type | Default | Description | |--------|------|---------|-------------| | --para <id> | string | — | Required. PARA item ID to scope the context query. | | --limit <n> | number | 10 | Maximum number of nodes to return. | | --json | flag | — | Output raw JSON. | | --api-url <url> | string | — | Override 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'