rogeriq kb

bash
rogeriq kb list [--limit 50] [--cursor <cursor>]rogeriq kb get kba_xxx
bash
rogeriq kb create --title "How to refund" \ --content "Customers can request..." # inlinerogeriq kb create --title "Onboarding" --content-file ./onboarding.md

Requires write (or kb:write) scope. Pass --status published to publish immediately and index for AI agent retrieval.

bash
rogeriq kb update kba_xxx --title "New title"rogeriq kb update kba_xxx --content-file ./updated.mdrogeriq kb update kba_xxx --status archived
bash
rogeriq kb publish kba_xxx

Sets status to published, sets published_at, and re-vectorizes the article for the agent's retrieval system.

bash
rogeriq kb ingest https://example.com/help/refundsrogeriq kb ingest ./local-article.md

URL → fetches the page and creates an article from the cleaned content. File path → creates an article with the file as the body.

bash
rogeriq kb crawl https://docs.example.comrogeriq kb crawl list # all jobsrogeriq kb crawl status crawl_xxx # one job

Starts an async crawl job that ingests every reachable page on the same hostname. Monitor via crawl status. Cancel via the dashboard.

bash
rogeriq kb categories
bash
rogeriq kb delete kba_xxx

Destructive. Removes the article and its vector entries.

Common workflows

Migrate docs from a static site

bash
rogeriq kb crawl https://help.acme.com# Wait for completionwhile [ "$(rogeriq kb crawl status crawl_xxx --json | jq -r '.status')" = "running" ]; do sleep 10done

Bulk-import markdown files

bash
for f in ./docs/*.md; do rogeriq kb ingest "$f"done
Ask a question... ⌘I