Bar Query — Data skill for Claude Code
Direct read-only query against a BAR Observatory capture database (tools, timeline, errors, or raw SQL).
How to install Bar Query
Installs to ~/.claude/skills/bar181-bar-observatory-bar-query/SKILL.md
mkdir -p ~/.claude/skills/bar181-bar-observatory-bar-query && curl -fsSL https://raw.githubusercontent.com/bar181/bar-observatory/HEAD/commands/bar-query.md -o ~/.claude/skills/bar181-bar-observatory-bar-query/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Bar Query does
name: bar-query description: Direct read-only query against a BAR Observatory capture database (tools, timeline, errors, or raw SQL)
$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.
- Determine the database path, defaulting to
.bar/ambient.sqlite. - Parse
$ARGUMENTSfor intent:- "what tools" / "tool usage" →
bar query tools - "timeline" / "what happened" / "in order
- "what tools" / "tool usage" →
Alternatives in Data
- Sentry — Inspect Sentry issues, summarize production errors, and pull health data 14.6k ★
- Memex — Open-source, local-first AI journal app for iOS and Android 697 ★
- Database Query 337 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Snowflake Safe Query Skill
Write and run read-only Snowflake queries against the Gaiia reporting database under a four-layer safety guard
Claude Code Postgres
Query a real PostgreSQL database in plain English from the terminal with Claude Code, safely: read-only role f
MySQL
Safe read-only SQL queries against MySQL databases.
Mssql
Safe read-only SQL queries against Microsoft SQL Server databases.
DB LLM Skills
A globally-installed engine for letting an LLM access PostgreSQL safely: read-only role provisioning, a pg_cat
Hutchdb
A database for AI agents. No schema, SQL, or structure required. Claude Code, Codex, Cursor, Hermes, Claw, Gro
Related Agents
DB Schema Expert
Use PROACTIVELY for anything touching prisma/schema.prisma, database migrations, raw SQL, slow query optimizat
BI Source Analyst
Read-only reviewer of the data layer. Maps every table to its source (SQL, cube, files), checks it against doc
Competitive Landscape
Competitive intelligence agent for the Snowflake-backed research database — query, research, and capture compe