query-debugging
Use when the user wants to review or inspect past query executions in Honeydew — what ran, from which client (BI tools, SQL interface, MCP, deep analysis)…
Skill by honeydew-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/honeydew-ai-query-debugging
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/query-debugging
What's inside
- Skill name
query-debugging- Description
- Use when the user wants to review or inspect past query executions in Honeydew — what ran, from which client (BI tools, SQL interface, MCP, deep analysis), the semantic definition or compiled SQL behind a run, who ran it and when — and to debug failures. Uses the list_query_history MCP tool. For running new queries or analysis use the query skill.
- License
- Apache-2.0
- Instructions
- 50 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## Overview
Honeydew records every query executed through the semantic layer — MCP tools, BI tools over the SQL/XMLA interfaces (Tableau, Power BI, …), scheduled jobs, and deep analysis. Use `list_query_history` (from the `honeydew` MCP server) to see **what ran, who ran it, from which client, and how**, and to drill into any run's semantic definition or compiled SQL. Debugging failures is one use, not the only one.
Reach for this skill on questions like:
- "What ran against this domain today, and from which clients?"
- "Which BI tool queried this model, and what did it send?"
- "Show me the queries my last deep analysis generated."
- "Why did my query fail? Show me its SQL."
For running a *new* query, use the **query** skill. This skill inspects queries that already ran.
The tool's description and parameter schema cover the exact arguments and response fields; this skill covers what they can't — **when to reach for it, how to read the results, and the workflows.**
---
## Prerequisites
Query history is scoped to the session's workspace — check with `get_session_workspace_and_branch`, and set one via the **workspace-branch** skill if needed. Non-admin callers see only their own queries; admins see all and can filter by `user_in`.
---
## Reading the Results
- **client** — where the query came from (`Tableau`, `Power BI`, `MCP`, …); how you tell a dashboard's query from an MCP or deep-analysis run.
- **original SQL vs. compiled SQL** — SQL-interface clients (Tableau, Power BI) carry the *original* SQL the client sent, before compilation; the *compiled* warehouse SQL comes from `include_sql`. Clients that submit a semantic field list (MCP, deep analysis) have no original SQL.
- **semantic definition** — `include_yaml` returns the attributes/metrics/filters the run resolved to — what you reproduce or alter a query from.
- **app link** — always **show it** so the user can open the query in Honeydew.
Keep `include_yaml` / `include_sql` off for the initial scan; enable them only on the run you're drilling into. **Deep analysis lands here too** — each `initiate_analysis` step runs semantic-layer queries, so this is where you inspect what an analysis actually computed per step.
---
## Workflows
**Review / audit:** list the relevant slice (by domain, client, user, or time window) and read `client`, `owner`, status, and timestamps. Add `include_yaml` / `include_sql` on a specific run to reproduce or explain it.
**Debug a failure:** list with `status_in="FAILED"`, read the error message, then re-list that query with `include_yaml=true` to see the fields that failed (add `include_sql=true` for warehouse-side errors — permissions, missing table). Reproduce with `get_data_from_fields` from the YAML and fix (see the **query** and **filtering** skills), then report what failed, the app link, and the fix.
**Isolate an internal error (minimal reproduction):** when the error is generic ("internal error"/compilation crash) and names no field, bisect:
1. Pull the failed query's YAML (`include_yaml=true`) and rebuild it verbatim as an ad-hoc `get_data_from_fields` call. Confirm it still errors — if not, the cause is environmental (branch, data, transient), not the query.
2. Drop attributes/metrics/filters and re-run, halving the field set each round; keep whichever half still errors.
3. Converge to the smallest failing query. The field whose removal clears the error — or the minimal combination that only fails together — is the culprit.
4. Report that minimal field list plus its compiled SQL — far more actionable than the original wide query.
Use `get_sql_from_fields` between rounds to watch the offending SQL fragment appear or disappear with the culprit field.From honeydew-ai/honeydew-ai-coding-agents-plugins, Apache-2.0.
More from honeydew-ai/honeydew-ai-coding-agents-plugins
- 0.617score
conversation-review
honeydew-ai
Use when a semantic/context layer curator wants to review past analysis conversations in bulk, categorize user feedback into actionable improvement areas, and…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
model-exploration
honeydew-ai
Use when exploring Honeydew semantic layer, discovering entities/fields, setting up workspace and branch context, or running structured queries to spot-check…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
domain-creation
honeydew-ai
Guides you through creating a Honeydew domain — a governance object that scopes entity/field visibility and applies mandatory filters — ideal for setting up…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
workspace-branch
honeydew-ai
Use when setting up workspace and branch context, switching workspaces or branches, creating or deleting branches, reviewing branch history, or creating a…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
context-item-creation
honeydew-ai
Guides you through creating context items — instructions, skills, knowledge pointers, and memory events — that give the AI analyst persistent knowledge about…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
filtering
honeydew-ai
Use when the user needs to filter data — whether in a structured query, a metric aggregation, or an attribute expression.
SkillBFreshness: B★ 43Claude Code +9 - 0.614score
validation
honeydew-ai
Use after creating or modifying ANY Honeydew object (metric, attribute, entity, domain).
SkillBFreshness: B★ 43Claude Code +9 - 0.614score
entity-creation
honeydew-ai
Guides you through defining a new Honeydew entity from a data warehouse source — covering source type, granularity key, and initial attribute mapping — then…
SkillBFreshness: B★ 43Claude Code +9 - 0.614score
metric-creation
honeydew-ai
Guides you step-by-step through defining a business metric (aggregation) on a Honeydew entity.
SkillBFreshness: B★ 43Claude Code +9 - 0.614score
relation-creation
honeydew-ai
Guides you through defining a relationship between two Honeydew entities — covering join type, direction, cross-filtering, and connection method — then pushes…
SkillBFreshness: B★ 43Claude Code +9 - 0.614score
attribute-creation
honeydew-ai
Guides you step-by-step through defining a calculated attribute (dimension) on a Honeydew entity.
SkillBFreshness: B★ 43Claude Code +9 - 0.592score
query
honeydew-ai
Use when the user wants to query or analyze data through the Honeydew semantic layer — including natural language analysis questions, deep multi-step…
SkillBFreshness: B★ 43Claude Code +9
Signals
- Stars
- 43
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Jul 14, 2026 (3 months ago)
- Last release
- Aug 18, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Website
- honeydew.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from honeydew-ai
- 0.617score
conversation-review
honeydew-ai
Use when a semantic/context layer curator wants to review past analysis conversations in bulk, categorize user feedback into actionable improvement areas, and…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
model-exploration
honeydew-ai
Use when exploring Honeydew semantic layer, discovering entities/fields, setting up workspace and branch context, or running structured queries to spot-check…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
domain-creation
honeydew-ai
Guides you through creating a Honeydew domain — a governance object that scopes entity/field visibility and applies mandatory filters — ideal for setting up…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
workspace-branch
honeydew-ai
Use when setting up workspace and branch context, switching workspaces or branches, creating or deleting branches, reviewing branch history, or creating a…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
context-item-creation
honeydew-ai
Guides you through creating context items — instructions, skills, knowledge pointers, and memory events — that give the AI analyst persistent knowledge about…
SkillBFreshness: B★ 43Claude Code +9 - 0.617score
filtering
honeydew-ai
Use when the user needs to filter data — whether in a structured query, a metric aggregation, or an attribute expression.
SkillBFreshness: B★ 43Claude Code +9
Cite this page
query-debugging skill. Agent Mart. https://agentmart.dev/skills/honeydew-ai-query-debugging (last updated 2026-10-24)