/signoz:signoz-writing-clickhouse-queriesfrom signoz
Writes raw ClickHouse SQL for SigNoz dashboard panels (timeseries, value, table) when the builder UI cannot express custom joins, window functions, regex extraction, or advanced aggregations. For logs and traces.
Ships in signoz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the user asks for SigNoz queries involving:
If the user asks for a dashboard panel but does not mention ClickHouse, still use this skill.
Identify whether the request is about logs or traces.
If the request is ambiguous, ask the user to clarify.
references/clickhouse-logs-reference.md
before writing any query.references/clickhouse-traces-reference.md
before writing any query.Each reference covers table schemas, optimization patterns, attribute access syntax, dashboard templates, query examples, and a validation checklist.
(ts, value) for a chart over time.value for a stat or counter widget.UInt64 in nanoseconds.$start_timestamp_nano and $end_timestamp_nano.$start_timestamp and $end_timestamp.fromUnixTimestamp64Nano(timestamp).signoz_logs.distributed_logs_v2.signoz_logs.distributed_logs_v2_resource.DateTime64(9).$start_datetime and $end_datetime.$start_timestamp and $end_timestamp.signoz_traces.distributed_signoz_index_v3.signoz_traces.distributed_traces_v3_resource.ts_bucket_start BETWEEN $start_timestamp - 1800 AND $end_timestamp.IN / JOIN whose subquery reads a distributed table: with
distributed_product_mode='deny' it fails. Prefer the time-bounded fingerprint
GLOBAL IN pattern or a local subquery table. Use GLOBAL JOIN only for a
demonstrably small, bounded RHS; it broadcasts that dataset to every shard.GROUP BY, including computed
projections such as JSONExtractString(body, ...).$start_datetime or $end_datetime.$start_timestamp_nano or $end_timestamp_nano.signoz_logs.logs, bare logs, or distributed_logs;
always use signoz_logs.distributed_logs_v2.resources_string['service.name'] instead of
resource_string_service$$name.Every generated query MUST end with a SETTINGS clause for monitoring:
SELECT ...
FROM ...
WHERE ...
SETTINGS log_comment = 'signoz-writing-clickhouse-queries skill | YYYY-MM-DD'
Replace YYYY-MM-DD with today's date (e.g., 2026-04-03). If the query
already has a SETTINGS clause, append log_comment to it with a comma.
SETTINGS log_comment attribution clause.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/signoz-creating-alertsCreate a new SigNoz alert rule from a natural-language intent: threshold, anomaly, log-volume, error-rate, latency, or absent-data alerts across metrics, logs, traces, and exceptions. Make sure to use this skill whenever the user says "alert me when…", "notify me if…", "set up monitoring for…", "page me on…", "create an alert for…", or asks for a new alert/notification rule, even if they don't say the word "alert" explicitly. Also use it when someone asks to be notified about error rates, latency spikes, log volume, CPU/memory pressure, or anomalous behavior on a service or host.
/signoz-creating-dashboardsCreate a new SigNoz dashboard from a natural-language intent: import a curated template (PostgreSQL, Redis, JVM, k8s, hostmetrics, APM, LLM, etc.) when one fits, or build a custom dashboard from scratch with metric / trace / log panels. Make sure to use this skill whenever the user says "create a dashboard for…", "set up monitoring for…", "build me a dashboard…", "I need observability for…", "import a dashboard template", or asks to track / visualize a service, database, cluster, or AI/LLM platform, even if they don't explicitly say "dashboard". Also use it when someone wants to "monitor", "watch", or "see metrics for" a technology and the natural answer is a dashboard.
/signoz-explaining-alertsDescribe what an existing SigNoz alert rule does in plain language: the signal it watches, the threshold and evaluation behavior, the notification routing, and a one-line fire-frequency summary so the user knows whether the alert has been active. Make sure to use this skill whenever the user asks "what does this alert do", "explain alert X", "walk me through this rule", "how does my [Y] alert work", "is this alert configured correctly", or otherwise asks for an interpretation of an existing alert's configuration. Static explanation only; for diagnosing a specific firing incident, use `signoz-investigating-alerts`.
/signoz-explaining-dashboardsExplain what an existing SigNoz dashboard shows in plain operational language: the panels, queries, variables, and what to watch for on each. Make sure to use this skill whenever the user asks "explain this dashboard", "what does my [X] dashboard show", "walk me through the panels", "what should I watch for on this dashboard", or "help me understand this dashboard", or otherwise asks for an interpretation of a dashboard's contents, even if they don't say "explain" explicitly. Also use it when someone is onboarding to a service and wants to understand what its existing observability looks like.
/signoz-generating-queriesGenerate, write, or run an ad-hoc query against SigNoz observability data (metrics, logs, or traces) without wrapping it in a dashboard panel or alert. Make sure to use this skill whenever the user asks "show me error rates", "query logs for timeout errors", "what's the p99 latency for the cart service", "how many requests hit the payment endpoint", "find slow traces", "errors in the last hour", "which agent runs cost the most", "LLM token usage by model", "LLM calls from agent runs with many tool calls", "why does AI Observability show no data", or otherwise asks an exploratory question that needs live observability data, even if they don't say "query" or "search" explicitly.
/signoz-investigating-alertsDiagnose why a SigNoz alert fired by correlating the alert's own signal with neighbor signals (error rate, latency, throughput, CPU/memory), traces, and logs around the fire window, and rank likely causes. Make sure to use this skill whenever the user asks "why did this alert fire", "what caused alert X", "investigate this alert", "RCA for the alert that paged me", "what's wrong with [service]" in the context of a recent fire, or otherwise asks for a root-cause analysis of a firing or recently-fired alert. Read-only; does not modify any alert or notification.
npx claudepluginhub signoz/agent-skills --plugin signozOther plugins' skills for the same job