signoz-generating-queries

signoz-generating-queries is a skill for Claude Code from SigNoz/agent-skills. It costs 126 tokens per session (5,325 once invoked), scanned A, original, MIT.

A SigNoz query skill for searching and measuring observability data without creating a dashboard. Observability data includes software measurements, request traces, and log records.

In plain words
What is it for?
Use it to find logs or traces, measure error rates and request counts, calculate latency such as p99, and investigate changes over time. It is for one-off queries rather than dashboard panels or raw SQL.
Why use it?
It helps investigate a specific operational question directly instead of building a permanent monitoring screen. It uses the available SigNoz data and query tools.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the signoz plugin — 13 skills, 2 hooks shipped together

Good fit Use it to find logs or traces, measure error rates and request counts, calculate latency such as p99, and investigate changes over time. It is for one-off queries rather than dashboard panels or raw SQL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/signoz/agent-skills/signoz-generating-queries
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SigNoz/agent-skills --skill signoz-generating-queries
Clone the repo
git clone --depth 1 https://github.com/SigNoz/agent-skills

Made for: Claude Code.

Or install signoz, the plugin that ships this one along with the rest of its 13 skills, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for signoz-generating-queries

README.md
[![agentmods](https://agentmods.dev/badge/skills/signoz/agent-skills/signoz-generating-queries/github.svg)](https://agentmods.dev/skills/signoz/agent-skills/signoz-generating-queries)
Your own site
<a href="https://agentmods.dev/skills/signoz/agent-skills/signoz-generating-queries"><img src="https://agentmods.dev/badge/skills/signoz/agent-skills/signoz-generating-queries/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for signoz-generating-queries

Your own site · 80×15
<a href="https://agentmods.dev/skills/signoz/agent-skills/signoz-generating-queries"><img src="https://agentmods.dev/badge/skills/signoz/agent-skills/signoz-generating-queries.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,325 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.05325
Opus 5 $0.00063 $0.02662
Sonnet 5 $0.00025 $0.01065
Haiku 4.5 $0.00013 $0.00532

Measured 11d ago against content hash 23451fb8ed3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

signoz-generating-queries scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/signoz/skills/signoz-generating-queries/SKILL.md · 381 lines

How it starts

The opening of the file, as written. The whole thing — 381 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Query Generate

Prerequisites

This skill calls SigNoz MCP server tools heavily (signoz_execute_builder_query, signoz_query_metrics, signoz_search_logs, signoz_search_traces, signoz_aggregate_logs, signoz_aggregate_traces, signoz_get_field_keys, signoz_get_field_values, signoz_list_metrics, signoz_list_services, signoz_get_service_top_operations, signoz_get_trace_details). Before running the workflow, confirm the signoz_* tools are available. If they are not, run signoz-mcp-setup first to initialize or repair the MCP connection. Do not fall back to raw HTTP calls or fabricate query results without the MCP tools.

When to use

Use this skill when the user asks to:

  • Query, search, or look up observability data (traces, logs, metrics)
  • Compute aggregations (error rate, p99 latency, request count, throughput)
  • Find specific log entries, traces, or metric values
  • Investigate patterns (spikes, drops, trends over time)

Do NOT use when:

  • User wants raw ClickHouse SQL for a dashboard panel (custom joins, window functions, regex over log bodies); that's a separate dashboard-panel SQL workflow, not this skill.
  • User needs the Exceptions Explorer as an exception-specific signal: the current MCP contract has no exception query tool. Explain that limitation and offer an equivalent error-trace or error-log query only if it answers their underlying question.

Instructions

Step 1: Determine the signal type

Map the user's intent to the right signal:

User intent Signal Why
Error rate, latency, throughput, request count metrics (preferred) or traces Metrics are pre-aggregated and fastest. Use traces if the user needs per-request detail or no matching metric exists.
p50/p75/p90/p95/p99 latency metrics (histogram) or traces (aggregate on duration_nano) Prefer metrics if a histogram metric exists (e.g., signoz_latency_bucket). Fall back to trace aggregation.
Find specific log entries, error messages, stack traces logs Text search, pattern matching, severity filtering.
Find specific traces, slow requests, error spans traces Per-request detail, span attributes, duration filtering.
Infrastructure metrics (CPU, memory, disk, network) metrics Always metrics for resource utilization.
Ingestion volume (bytes or count), cost, or billing usage metrics with source=meter (Cost Meter) signoz.meter.* ingestion metrics (logs/spans/datapoints by count and bytes) live only in the meter store; bytes are unavailable on the raw signals. Dollar cost is not a metric; derive it from volume × per-unit price (see Step 2). groupBy/filter work like a normal metric, but only over the limited attribute set the meter retains (not arbitrary log/trace fields). For a count sliced by an attribute the meter doesn't carry, aggregate logs/traces directly instead.
"How many X per Y" (count/rate grouped by dimension) traces or logs (aggregate) Use signoz_aggregate_traces or signoz_aggregate_logs for grouped counts.

Read the full file on GitHub · 381 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 381 lines · 126 tokens per session scan A 23451fb8ed3e

Subscribe to this mod's changes

signoz-generating-queries is a skill published in the GitHub repository SigNoz/agent-skills (16 stars, last pushed 8d ago), licensed MIT. It adds 126 tokens to every session and 5,325 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-observability

Instrument an LLM agent so failures are diagnosable, traces are replayable, and evals can run against production data. Use when the user is moving an agent past prototype and mentions tracing, spans, OpenTelemetry, LangSmith, Langfuse, Arize, OpenLLMetry, structured logs, GenAI semantic conventions, or asks "how do I…

cobusgreyling/agent-skills · 92 tokens

documentation-and-adrs

Records decisions and documentation. Use when you need to document an architecture decision (ADR) or the reasoning behind a design choice, when changing public APIs, shipping features, or when you need to record context that future engineers and agents will need to understand the codebase.

addyosmani/agent-skills · 58 tokens

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…

addyosmani/agent-skills · 75 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens