A skill your agent uses when the user wants to query, analyze, or explore data through the Honeydew semantic layer.

Apache-2.0Auto-check passed

Install Query

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill query -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins query --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/query .claude/skills/query && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
query
GitHub stars
1.2k
Token cost
~3.1k tokens
SKILL.md length
1,328 words
Files
1
Skills in repo
686
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when the user wants to query, analyze, or explore data through the Honeydew semantic layer.

  • Works in 2 steps: Structured Query (get_data_from_fields /… → Deep Analysis (ask_deep_analysis_question)
  • The user wants to query
  • SKILL.md covers Prerequisites, Overview, When to Use Each Method and Decision Flow, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Query is an agent skill from hashgraph-online/awesome-codex-plugins. Use when the user wants to query, analyze, or explore data through the Honeydew semantic layer. Covers structured queries and multi-step deep analysis.

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with SQL. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is Apache-2.0.

When your agent uses it

  • The user wants to query
  • Explore data through the Honeydew semantic layer

Example prompts

  • “/query”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Structured Query (get_data_from_fields / get_sql_from_fields)
  2. Deep Analysis (ask_deep_analysis_question)

What it can do on your machine

Read from SKILL.md and the folder at commit 78497e5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Query loads about 3.1k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 1,328 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 78497e5, republished under its Apache-2.0 licence (© hashgraph-online). 1,328 words, ~3,092 tokens.

Download SKILL.mdSave it as .claude/skills/query/SKILL.md (or your agent's skills folder).
name
query
description
Use when the user wants to query, analyze, or explore data through the Honeydew semantic layer. Covers structured queries and multi-step deep analysis.

Prerequisites

Queries run against the workspace and branch set for the current session. Use get_session_workspace_and_branch to check the current context. If no workspace/branch is set, use list_workspaces, list_workspace_branches, and set_session_workspace_and_branch to select one. See the model-exploration skill for the full workspace/branch tool reference.


Overview

Honeydew provides three ways to query data through the semantic layer. Each method suits a different situation — pick the right one based on how well you understand the model and how complex the question is.

MethodToolBest For
Structured queryget_data_from_fields / get_sql_from_fieldsYou know the exact fields. Deterministic, full control.
Deep analysisask_deep_analysis_questionAny natural language question — simple or complex, "why", multi-step, agentic.

When to Use Each Method

1. Structured Query (get_data_from_fields / get_sql_from_fields)

Use when:

  • You know the entity, attribute, and metric names (or can discover them via list_entities / get_entity)
  • You need precise control over filters, ordering, and field selection
  • You want deterministic, reproducible results
  • You need to validate a newly created metric or attribute
  • The user specifies exact fields like "show me detailed_listings.price by detailed_listings.room_type"

Do NOT use when:

  • The question requires multi-step reasoning or investigation

How it works:

  • get_data_from_fields — executes the query and returns data rows
  • get_sql_from_fields — returns the generated SQL without executing (useful for review, debugging, or handing off to other tools)

Both take the same field parameters.

2. Deep Analysis (ask_deep_analysis_question)

Use when:

  • The user asks a question in plain English and you don't know the exact field names
  • The user wants a quick answer without worrying about model details
  • The question requires multiple steps or investigative reasoning
  • The user asks "why" something happened (e.g., "why did revenue drop in Q3?")
  • The user wants trend analysis, anomaly detection, or root cause investigation
  • The question is open-ended and may require looking at the data from multiple angles
  • Follow-up questions build on prior analysis (use conversation_id)

Decision Flow

User asks a data question
    │
    ├─► Do you know the exact field names?
    │       │
    │       ├─► YES → get_data_from_fields (structured, deterministic)
    │       │         (or get_sql_from_fields to preview SQL without executing)
    │       │
    │       └─► NO → ask_deep_analysis_question (plain English, any complexity)
    │
    └─► Plain English question / investigation / "why" / trends?
            └─► ask_deep_analysis_question

Method 1: Structured Query

Field Parameters

A structured query uses flat field parameters to define what data to retrieve:

  • attributes — dimensions to group by (columns in the output), e.g. ["entity.attribute_name"]
  • metrics — aggregated measures (SUM, COUNT, AVG, etc.), e.g. ["entity.metric_name"]
  • filters — row-level filters applied before aggregation, e.g. ["entity.field = 'value'"]
  • order_by — sort order for results. Each entry MUST be a quoted string, as if it were a SQL identifier — e.g. ["\"entity.field\" ASC"]. Always wrap the field reference in double quotes inside the string.
  • domain — optional domain name for query context
  • limit — max rows to return (default: 100)
  • offset — rows to skip (for pagination)

All fields use entity.field_name syntax. Cross-entity fields are supported when relations exist.

Discovering Fields

Before building a query, discover the available fields:

  1. list_entities — see all entities
  2. get_entity with entity name — see its attributes, metrics, and relations
  3. get_field with entity and field name — get detailed info about a specific field
  4. list_domains — see all available domains (useful before passing domain parameter)
  5. search_model with a keyword and search_mode (OR for broad discovery, EXACT for known names) — find fields across the model
Examples

Simple metric query — total count:

Call get_data_from_fields with:

  • metrics: ["detailed_listings.count"]

Dimension breakdown — listings by room type:

Call get_data_from_fields with:

  • attributes: ["detailed_listings.room_type"]
  • metrics: ["detailed_listings.count"]
  • order_by: ["\"detailed_listings.count\" DESC"]

Filtered query — only entire homes:

Call get_data_from_fields with:

  • attributes: ["detailed_listings.neighbourhood_cleansed"]
  • metrics: ["detailed_listings.count"]
  • filters: ["detailed_listings.room_type = 'Entire home/apt'"]
  • order_by: ["\"detailed_listings.count\" DESC"]

Cross-entity query — listings with host info:

Call get_data_from_fields with:

  • attributes: ["detailed_listings.room_type", "dim_host.host_is_superhost"]
  • metrics: ["detailed_listings.count"]
  • order_by: ["\"detailed_listings.count\" DESC"]

Using aliases — rename fields or ad-hoc expressions:

You can alias any field or ad-hoc expression using AS "alias_name". This controls the column name in the output.

Call get_data_from_fields with:

  • attributes: ["detailed_listings.room_type"]
  • metrics: ["detailed_listings.count AS \"total_listings\"", "AVG(detailed_listings.price) AS \"avg_price\""]
  • order_by: ["\"total_listings\" DESC"]

Once aliased, use the alias (not the original expression) in order_by.

Pagination — large result sets:

Call get_data_from_fields with:

  • attributes: (your fields)
  • metrics: (your metrics)
  • limit: 50 (max rows to return)
  • offset: 100 (skip first 100 rows)

Finding duplicate values:

Call get_data_from_fields with:

  • attributes: ["detailed_listings.host_name"]
  • metrics: ["COUNT(detailed_listings.host_name)"]
  • filters: ["COUNT(detailed_listings.host_name) > 1"]
  • order_by: ["\"COUNT(detailed_listings.host_name)\" DESC"]

This groups by the attribute, counts occurrences, and filters to only rows that appear more than once — surfacing duplicates.

SQL preview only:

Call get_sql_from_fields with the same field parameters to see the generated SQL without executing.

Filter Syntax

Filters use standard comparison expressions: =, >, <, IN (...), ILIKE, SEARCH(...), IS NULL, booleans, date ranges, and AND/OR combinations.

For the complete filter expression reference — including SEARCH, date handling, and type casting — see the filtering skill.


Method 2: Deep Analysis

ask_deep_analysis_question

Call with:

  • question (required): the analysis question
  • agent (optional): agent name to use as analysis context — use list_agents to discover available agents and their associated domains
  • conversation_id (optional): ID from a previous deep analysis call, for follow-up questions
question: "Analyze the relationship between host response time and review scores. Are there significant patterns?"
agent: "my_agent"

Returns:

  • Markdown analysis report with findings
  • Supporting data
  • Suggested follow-up questions
  • conversation_id for continuing the conversation

After a successful ask_deep_analysis_question call, the response includes a ui_url field. Always display this URL to the user so they can view the full analysis in the Honeydew application.

Show full SKILL.md (517 more words)Show less
Follow-up Questions

Use conversation_id from the previous response to ask follow-up questions that build on the prior analysis:

question: "Now break this down by room type — does the pattern hold across all types?"
agent: "my_agent"
conversation_id: "<id from previous response>"
Example Questions

Simple natural language:

  • "What are the top 10 neighbourhoods by number of listings?"
  • "Show me average price by room type."

Complex analysis:

  • "Why did the average review score drop for listings in Brooklyn?"
  • "What factors most influence listing price? Analyze the key drivers."
  • "Compare superhost vs non-superhost performance across all metrics."
  • "Identify unusual patterns in listing availability over the past year."
  • "What are the characteristics of top-performing listings?"

Combining Methods

For complex tasks, combine methods in sequence:

  1. Discover — Use list_entities / get_entity to understand the model
  2. Query — Use get_data_from_fields for precise, targeted queries
  3. Investigate — Use ask_deep_analysis_question for root cause or trend analysis
Example Workflow

User: "Help me understand pricing patterns for Airbnb listings."

  1. Discover entities: list_entities → find detailed_listings
  2. Explore fields: get_entity for detailed_listings → find price, room_type, neighbourhood_cleansed
  3. Targeted query: get_data_from_fields → price distribution by neighbourhood for Entire homes only
  4. Deep dive: ask_deep_analysis_question → "What factors most influence listing price? Analyze correlations with room type, location, amenities, and reviews."

Documentation Lookup

Use the honeydew-docs MCP tools to search the Honeydew documentation when:

  • The user asks about query capabilities or features not covered in this skill
  • You need to understand how the query API interacts with domains, parameters, or governance rules
  • The user encounters unexpected query behavior and needs deeper context on how the semantic layer resolves queries

Search for topics like: "queries", "perspectives", "dynamic datasets", "parameters", "query API".


Tip: Getting Distinct Values for a Field

To retrieve the distinct (unique) values of a field, include it in attributes and add a count metric in metrics. Use the entity's built-in count metric (e.g., entity.count) if available, or an ad-hoc count metric using COUNT(entity.field) on the field whose distinct values you want — never use COUNT(*). The metric forces aggregation, which groups by the attribute and returns one row per distinct value.

Example — distinct room types:

Call get_data_from_fields with:

  • attributes: ["detailed_listings.room_type"]
  • metrics: ["COUNT(detailed_listings.room_type)"]
  • order_by: ["\"COUNT(detailed_listings.room_type)\" DESC"]

This returns each unique room_type along with its count, ordered by frequency. The count is a useful bonus — it tells you how common each value is — but the key point is that the query returns one row per distinct value.

This pattern is useful for:

  • Exploring filter values — find out what values exist before writing a filter expression (see the filtering skill)
  • Validating a new attribute — after creating a calculated attribute, check its distinct output values to confirm the logic is correct (see the attribute-creation skill)
  • Understanding data distribution — see how data is spread across categories

Best Practices

  • Start with discovery — always check list_entities / get_entity before building queries, so you reference real fields
  • Use structured queries for precision — when you know the fields, get_data_from_fields gives you full control and reproducible results
  • Use deep analysis for insight — when the question is about "why" or requires investigating multiple dimensions
  • Paginate large results — use limit and offset in get_data_from_fields to avoid overwhelming output
  • Show SQL when debugging — use get_sql_from_fields to inspect the generated query
  • Reference fields correctly — always use entity.field_name syntax in field parameters

© hashgraph-online, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/query of hashgraph-online/awesome-codex-plugins.

Open the folder on GitHubat commit 78497e5

Compare with similar skills

Query next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Query this skillhashgraph-online/awesome-codex-plugins1.2k—~3.1kAutomated safety check: PassApache-2.0
Excel and CSV Data Analysisbytedance/deer-flow83k4 repos~2.2kAutomated safety check: PassMIT
Clickhouse Logs Queriessupabase/supabase111k—~2.4kAutomated safety check: PassApache-2.0
Review PRapache/shardingsphere21k—~6.4kAutomated safety check: PassApache-2.0
Django Filter Benchmarksaleor/saleor23k—~2.3kAutomated safety check: PassBSD-3-Clause
Geoflowyaojingang/GEOFlow3.8k—~722Automated safety check: PassAGPL-3.0

Similar skills

  • Excel and CSV Data Analysis

    bytedance/deer-flow

    Analyzes uploaded Excel and CSV files with SQL through DuckDB, producing schema inspections, statistical summaries and exports to CSV, JSON or Markdown.

    83k GitHub starsUsed in 4 repos~2.2k tokens
    Data & AnalyticsAuto-check passed
  • Clickhouse Logs Queries

    supabase/supabase

    Official

    Write, review, and migrate Supabase logs queries against the ClickHouse-backed logs table (the logs.all.otel analytics endpoint).

    111k GitHub stars~2.4k tokensUpdated today
    DatabasesAuto-check passed
  • Review PR

    apache/shardingsphere

    Review Apache ShardingSphere or user-authorized downstream pull requests and PR discussions from public or authorized repository evidence.

    21k GitHub stars~6.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Benchmarks Django ORM filters in Saleor by generating bulk data, extracting the SQL and running EXPLAIN ANALYZE to check index usage.

    23k GitHub stars~2.3k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Geoflow

    yaojingang/GEOFlow

    Operate/develop GEOFlow CLI/Laravel/admin/API, topics/专题 and topic tasks, theme libraries/replication, sites/leads/Agent, channel sync and legacy yao-geoflow-cli/design/template migration.

    3.8k GitHub stars~722 tokensUpdated today
    Backend & APIsAuto-check passed
  • Revops

    AvdLee/RocketSimApp

    When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes.

    803 GitHub starsUsed in 6 repos~3.7k tokens
    Sales & SupportAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 686 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated today
    Auto-check passed
  • Manuscript Engagement Analytics

    hashgraph-online/awesome-codex-plugins

    Analyze nonfiction manuscripts for reader engagement signals, including heading-level word counts, slow starts, long slogs, weak takeaway titles, value pacing, beta-reader comment dropoff, and…

    1.2k GitHub stars~875 tokensUpdated today
    Auto-check passed

Works with

Questions about Query

What does Query do?

A skill your agent uses when the user wants to query, analyze, or explore data through the Honeydew semantic layer. Query is an agent skill from hashgraph-online/awesome-codex-plugins. Use when the user wants to query, analyze, or explore data through the Honeydew semantic layer.

When should I use Query?

Query fits situations like: the user wants to query; explore data through the Honeydew semantic layer.

How do I install Query in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill query -a claude-code`. Or copy the skill folder (plugins/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/query in hashgraph-online/awesome-codex-plugins) into .claude/skills/query in your project. Claude Code loads it when a task matches its description.

How do I install Query in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill query -a codex`. Or copy the skill folder (plugins/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/query in hashgraph-online/awesome-codex-plugins) into .agents/skills/query in your project. Codex loads it when a task matches its description.

Can I use Query in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/query, .gemini/skills/query, .github/skills/query and .opencode/skills/query in your project.

What does Query need to run?

SKILL.md names no scripts, command-line tools or credentials: Query is instructions for the agent only.

Does Query access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Query safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Query use?

Query is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Query use?

About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Query?

Skills that share tags, products or a category with Query: Excel and CSV Data Analysis (bytedance/deer-flow, 83k stars), Clickhouse Logs Queries (supabase/supabase, 111k stars), Review PR (apache/shardingsphere, 21k stars) and Django Filter Benchmark (saleor/saleor, 23k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Query?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,242 GitHub stars. The repository holds 686 skills in this directory. The repository was last updated on October 8, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.