Skip to content

lb add

Terminal window
lb add <title> [options]

lb add creates a node directly from text content, bypassing the capture pipeline. It is useful for adding written notes, observations, or structured content that does not have a source URL.

Body content can be provided inline with --body, read from a file with --body-file, or piped from stdin. --body and --body-file are mutually exclusive.

ArgumentDescription
titleRequired. The title of the node.
OptionTypeDescription
--body <text>stringInline body content. Mutually exclusive with --body-file.
--body-file <path>stringPath to a file containing body content. Max 5 MB. Mutually exclusive with --body.
--summary <text>stringShort summary of the node.
--tags <tags>stringComma-separated PARA item IDs to tag the node with.
--para <id>stringSingle PARA item ID shorthand for tagging.
--why <text>stringWhy you are adding this node. Used for ranking and recall.
--jsonflagOutput raw JSON.
--api-url <url>stringOverride the API base URL.

Add a short note with inline body:

Terminal window
lb add "Rate limiter options" --body "Token bucket vs leaky bucket — prefer token bucket for burst tolerance." --why "architecture decision"

Add a node from a markdown file:

Terminal window
lb add "Q4 Research Notes" --body-file ./notes/q4.md --why "reference"

Pipe body from stdin (macOS example — use xclip -o on Linux):

Terminal window
pbpaste | lb add "Copied snippet" --why "save for later"

Tag with a PARA item on creation:

Terminal window
lb add "Auth spike findings" --para proj_abc123 --why "design input"

Output the created node as JSON:

Terminal window
lb add "Quick note" --body "Remember to check the DB index." --why "ops" --json | jq '.id'