CLI

Available

Capture and search your knowledge base from the terminal. The summd command is script-friendly and reads from stdin, so it drops straight into your workflow.

Install

npm i -g summd

Log in

Create an API key at Settings, then save it locally:

summd key sk-summd-xxxx

The key is stored at ~/.config/summd/config.json. You can also pass --key per command.

Save content

summd add "notes about AI agents…"        # inline text
summd add -f notes.md                      # from a file
summd add -u https://example.com/article   # fetch a URL (articles, YouTube, …)
cat notes.md | summd add                   # from stdin
summd add "…" -t react-hooks,api-design    # with tags
summd add "…" -n "why this matters"        # with a personal note

Entries return immediately and are summarized server-side; the generated title, summary, and tags appear once processing finishes.

Search and retrieve

summd search "react hooks"          # semantic search
summd list --tag api --since 7d     # recent entries, filtered
summd get <id>                      # full entry metadata + summary
summd content <id>                  # raw markdown, pipe-friendly
summd tags                          # all tags with counts
summd delete <id>                   # remove an entry

Common commands

commandDoes
key <api-key>Save your API key locally
add [content]Add an entry (flags: -t -f -u -n, or stdin)
search <query>Semantic search (-n to set result count)
listList recent entries (--tag, --since, --json)
get <id>Print entry metadata and summary
content <id>Print raw markdown
tagsList all tags with entry counts
delete <id>Delete an entry