clickstack-investigation

clickstack-investigation is a skill for Claude Code, Codex from aws/tools-for-devops-agent. It costs 124 tokens per session (2,238 once invoked), scanned A, original, Apache-2.0.

An investigation of application incidents using logs, traces, and metrics from ClickHouse Observability, a managed monitoring service. Logs record events, traces follow requests, and metrics measure system behaviour over time.

In plain words
What is it for?
It helps locate relevant data sources, check service health, compare time periods, and investigate failures or performance regressions.
Why use it?
It brings these evidence sources together to explain unhealthy services, error spikes, slower responses, and changes after deployments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps locate relevant data sources, check service health, compare time periods, and investigate failures or performance regressions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws/tools-for-devops-agent/clickstack-investigation
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 aws/tools-for-devops-agent --skill clickstack-investigation
Clone the repo
git clone --depth 1 https://github.com/aws/tools-for-devops-agent

Made for: Claude Code, Codex.

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 clickstack-investigation

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/clickstack-investigation/github.svg)](https://agentmods.dev/skills/aws/tools-for-devops-agent/clickstack-investigation)
Your own site
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/clickstack-investigation"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/clickstack-investigation/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 clickstack-investigation

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws/tools-for-devops-agent/clickstack-investigation"><img src="https://agentmods.dev/badge/skills/aws/tools-for-devops-agent/clickstack-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 124 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,238 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.
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.00124 $0.02238
Opus 5.5 $0.00050 $0.00895
Sonnet 5.5 $0.00025 $0.00448
Haiku 4.5 $0.00012 $0.00224

Measured 18d ago against content hash 23538a2ed829, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

clickstack-investigation 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 18d 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.

skills/clickstack-investigation/SKILL.md · 128 lines

How it starts

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

ClickHouse Observability investigations

The ClickHouse Observability connector reaches the customer's ClickHouse Observability service in ClickHouse Cloud through the hosted ClickStack MCP server. ClickStack is the open-source observability stack; ClickHouse Observability is the managed service built on it. The hosted server adds a few tools and arguments to the open-source one, such as required source filters. The connector acts as the person who connected it, so it sees only the data sources their role allows.

ClickStack stores OpenTelemetry logs, traces and metrics in ClickHouse. Each kind of data is a source: a table plus the column mappings ClickStack needs to query it. Every query tool takes a sourceId.

Choosing tools

The server's instructions and each tool's description are kept current with the server. Read them before the first query; they give exact parameters and filter syntax. This skill gives the investigation order.

Prefer the purpose-built query tools. They return structured, ranked results and handle sampling, time bucketing and source mappings for you:

Question Tool
Which services are unhealthy right now, and compared with yesterday? clickstack_service_health
What kinds of log messages or errors exist? clickstack_event_patterns
What is new, or has stopped, since a baseline window? clickstack_emerging_signals
What is different about the failing or slow rows? clickstack_event_deltas
When did it start, and how did it trend? clickstack_timeseries
Top-N, counts, breakdowns, single values clickstack_table
Show me the raw rows clickstack_search
Where does the time go in a slow operation? clickstack_trace_top_time_consuming_operations
Show one example trace clickstack_trace_waterfall

clickstack_sql runs raw ClickHouse SQL. It is a last resort, for queries the tools above can't express: JOINs, sub-queries, window functions, or tables not registered as sources. A single-source aggregation, top-N, time series or row browse always uses a query tool.

Read the full file on GitHub · 128 lines

Files

What ships with it

5 files 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. 18d ago First seen · 128 lines · 124 tokens per session scan A 23538a2ed829

Subscribe to this mod's changes

clickstack-investigation is a skill published in the GitHub repository aws/tools-for-devops-agent (153 stars, last pushed yesterday), licensed Apache-2.0. It adds 124 tokens to every session and 2,238 once invoked, about $0.0005 per session on Opus 5.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-11-12.

Related

clickstack-investigation compared with skills from other repositories

clickstack-investigation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
clickstack-investigationaws/tools-for-devops-agentSkill153yesterdayApache-2.0A124Claude Code, Codex
hyperpod-node-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A139Claude Code
hyperpod-cluster-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A80Claude Code
hyperpod-ncclawslabs/agent-pluginsSkill953todayApache-2.0A150Claude Code
hyperpod-performance-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A133Claude Code
hyperpod-slurm-debuggerawslabs/agent-pluginsSkill953todayApache-2.0A162Claude Code
hyperpod-issue-reportawslabs/agent-pluginsSkill953todayApache-2.0A99Claude Code