Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

query-patterns

Skill by honeycombio

Guides AI assistants in writing and reading Honeycomb queries on trace, log and event datasets. It is for engineers investigating latency, error rates and outliers in production.

  • Score 70
  • 28 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install query-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/honeycombio/agent-skill /tmp/agent-skill && mkdir -p ~/.claude/skills && cp -r /tmp/agent-skill/honeycomb/skills/query-patterns ~/.claude/skills/query-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install query-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives opinionated guidance for building effective Honeycomb queries. It covers choosing the right operation, such as percentiles instead of AVG for latency and HEATMAP for distributions. It also covers relational fields (root., parent., any., none.), calculated fields, and query math.

It explains how to read results, including P99/P50 ratios, heatmap bands, TOTAL and OTHER rows, and raw JSON through query_result_json. The source says the MCP tools document their own parameters, so the skill focuses on when and why to use each pattern. It is for engineers who query Honeycomb trace, log and event datasets. For metrics datasets, the source points to the separate metrics-queries skill.

Written from the project's SKILL.md and checked against it.

What it can do

  • Operation selectionChooses between COUNT, percentiles, HEATMAP, MAX and other operations based on the question.
  • Relational fieldsAsks cross-span questions within a trace using root., parent., any. and none. prefixes.
  • Calculated fieldsWrites per-event expressions for classification, extraction and math, at query, dataset or environment scope.
  • Result interpretationExplains P99/P50 ratios, heatmap bands, TOTAL and OTHER rows and ASCII heatmap density.
  • Raw result accessUses query_result_json to download raw JSON for analysis with jq or python.
  • find_queriesChecks for existing saved queries before writing a new one.
  • find_columnsValidates field names and types before querying.
  • run_bubbleupRuns outlier analysis using the query_run_pk from query metadata.

What you need

  • Honeycomb MCP tools
  • jq or python for parsing raw JSON results

Try asking

  • Show me p99 latency for the checkout route over the last 24h
  • Find slow requests in the API service and group them by root route
  • Interpret this heatmap and tell me if there are two populations

Good to know

  • Intended for trace, log and event datasets, not metrics datasets.
  • Calculated fields with regex on large fields such as exception.stacktrace can be very slow, according to the source.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: honeycomb/skills/query-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to query-patterns

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

query-patterns: common questions

Why does the skill say not to use AVG for latency?

The source says AVG hides tail latency. It recommends P99, P95 or P90 to see what slow users experience.

What should I use for metrics datasets?

The source says metrics datasets (dataset_type=metrics) should use the metrics-queries skill instead.

How do I check results more precisely than the ASCII output?

The source says to download the raw JSON from query_result_json and parse it with jq or python.

How do I install query-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is query-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is query-patterns safe to use?

It scores 70 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to query-patterns?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

query-patterns Install

Add to stack

Loading.