Skills
Skill 43 of 49
Analyzes observability data — logs, traces, errors, sessions, and metrics — to find root cause and actionable evidence.
3 minutes · 645 words · 4 sections
Install
npx skills add launchdarkly/ai-tooling --skill investigatenpx skills add launchdarkly/ai-tooling/plugin marketplace add launchdarkly/ai-toolingThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
You are conducting a cross-product investigation. Real investigations almost always touch more than one product — a log error leads into traces, a slow trace reveals a failing span, a failing span correlates with a specific session. Walk the evidence until you have a concrete root cause.
This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.
Required MCP tools:
query-logs — fetch paginated log entriesquery-traces — fetch paginated trace/span entriesquery-error-groups — fetch error groups with stack traces and frequencyquery-sessions — fetch session replays with user detailsquery-aggregations — bucketed aggregations across a product type for trends and countsquery-timeline-events — pull the chronological event timeline within a sessionget-keys — discover valid attribute/grouping keys for a product typequery-logs, query-aggregations, query-traces, query-error-groups, and query-sessions, using the findings of each to sharpen the next.query-logs, query-traces, query-error-groups, and query-sessions tools return at most 50 entries per call. For larger datasets, run a query-aggregations query first to aggregate, then narrow with targeted fetches.logs.md — when the investigation touches logs (error messages, level=error filters, service log patterns)traces.md — when analyzing request flow, latency, or span relationshipserrors.md — when looking at error groups, stack traces, exception frequencysessions.md — when reconstructing user journeys or correlating frontend behavior with backend eventsmetrics.md — when aggregating across a large dataset or building a chartquery-aggregations with group_by — don’t paginate through individual records. Use get-keys to discover the right grouping dimension first.get-keys before attribute filters. Attribute names vary across product types and services (spanName vs span_name, hasErrors vs has_errors). One get-keys call upfront prevents wasted queries with wrong field names.python3 or jq to extract the specific slice you need.If a tool isn’t available in your environment, the corresponding MCP server may not be connected — surface that rather than working around it.
Analyzes observability data — logs, traces, errors, sessions, and metrics — to find root cause and actionable evidence. Use when the user reports a bug, an unexpected behavior, or asks about patterns across application data.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
skills/observability/investigate/SKILL.mdmain, last pushed 21 September 2026.SKILL.md, not by matching a directory convention. 8 distinct layouts observed: skills/agentcontrol/*/SKILL.md, skills/experiments/*/SKILL.md, skills/feature-flags/*/SKILL.md, skills/metrics/*/SKILL.md, skills/observability/*/SKILL.md, skills/onboarding/*/SKILL.md, skills/onboarding/sdk-install/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by LaunchDarkly, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./launchdarkly/ai-tooling.md, and each skill at its own .md URL.5 files · 15 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 43.
Everything else published alongside the skill.