/bar-observatory:bar-queryfrom BAR Observatory
Executes direct read-only queries on a BAR Observatory SQLite database. Interprets natural language intents for tools, timeline, errors, and supports raw SQL via --sql flag.
Ships in BAR Observatory. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
$ARGUMENTS
Answer a specific question about a session that the pre-built report doesn't cover, using BAR Observatory's direct read-only query surface.
.bar/ambient.sqlite.$ARGUMENTS for intent:
bar query <db> toolsbar query <db> timelinebar query <db> errorsbar query <db> --sql "SELECT ..." (the
connection is opened read-only; a write statement is refused by SQLite itself, not a filter
you need to enforce yourself)--format json if the result is for you to parse, --format table if it's for the user
to read directly. --limit N windows the output (--limit 0 = all rows).bar query <db> --list first if you're unsure what's available.7-day visitors to each command page
npx claudepluginhub bar181/bar-observatory --plugin bar-observatory5 commands in this plugin
/bar-doctorLive health check — is BAR Observatory's recorder actually working, and what did it capture?/bar-initSet up BAR Observatory for this project — local config + SQLite stores, idempotent/bar-interpretGenerate BAR Observatory's optional self-improvement report (engineering or executive audience)/bar-reportGenerate the deterministic BAR Observatory report (JSON + HTML + Markdown) for a sessionOther plugins' commands for the same job