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 ★
- Context Mode — Benchmark Results — Benchmarked against real outputs from popular Claude Code MCP servers, Skills, and dev tools 5.6k ★
- Memex — Open-source, local-first AI journal app for iOS and Android 697 ★
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
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
Harvest Pipeline Bugs
Harvest the errors.jsonl pipeline-error sink into deduped patch-tickets — read the single problem log, route/w
Related Agents
Cr Data Layer
Data-layer lens — measured query cost, schema migrations and bulk data writes. Spawn when the diff adds or cha
Competitive Landscape
Competitive intelligence agent for the Snowflake-backed research database — query, research, and capture compe
Data Specialist
Senior data specialist covering exploratory analysis, statistical modeling, machine learning, experimentation,