launchdarkly-create-graph
Skill141 starsChanged 8 days agoApache-2.0View on GitHub
Creates observability dashboards and graphs from logs, traces, errors, sessions, metrics, and events data by previewing charts inline and saving them to a dashboard.
In this repository102 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agentcore-observability-setupSkill
- agentcore-ops-reviewSkill
- aiml-access-diagnosticsSkill
- aiml-gpu-training-cluster-investigationSkill
- analytics-opensearch-expertiseSkill
- aws-backup-coverage-reviewSkill
- aws-eks-healthdashboardSkill
- aws-eks-operations-reviewSkill
- aws-fsxn-operations-reviewSkill
- aws-health-eventsSkill
- aws-natgw-traffic-analysisSkill
- aws-routingSkill
- aws-vpc-dns-investigationSkill
- bedrock-adoption-readinessSkill
- bedrock-operation-reviewSkill
- bluebox-observabilitySkill
- bronto-dataset-discoverySkill
- bronto-error-investigationSkill
- bronto-log-searchSkill
- clickstack-investigationSkill
- cloudtrail-cost-optimizationSkill
- config-cost-optimizationSkill
- coralogix-ai-centerSkill
- coralogix-alertsSkill
- coralogix-case-analyticsSkill
- coralogix-case-managementSkill
- coralogix-casesSkill
- coralogix-dashboardsSkill
- coralogix-dataprimeSkill
- coralogix-datasetsSkill
- coralogix-data-usageSkill
- coralogix-docsSkill
- coralogix-infrastructureSkill
- coralogix-logsSkill
- coralogix-metrics-querySkill
- coralogix-ollySkill
- coralogix-rumSkill
- coralogix-service-catalogSkill
- coralogix-single-caseSkill
- coralogix-spansSkill
- coralogix-viewsSkill
- cribl-investigationSkill
- crm-production-investigation-guidelinesSkill
- database-migration-service-expertiseSkill
- database-rds-devopsSkill
- devops-agent-cost-insightsSkill
- dx-vif-resilienceSkill
- ecs-operation-reviewSkill
- eks-upgrade-readinessSkill
- elastic-csp-investigationSkill
- elastic-k8s-investigationSkill
- elastic-llm-obsSkill
- elastic-onboardingSkill
- elastic-service-reliabilitySkill
- elastic-sre-triageSkill
- enrich-with-aws-security-agentSkill
- eos-cost-analysisSkill
- firehose-operation-reviewSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
All of these tools require a projectKey (e.g.
- Distinctive: line 40
When the user's request is purely about visualizing data, stay on task — don't reach for unrelated tools.
- Very specific: line 44
Identify the target dashboard: If the user already has a specific dashboard in mind (by ID or name), add graphs to it directly.
- Very specific: line 45
Discover the data shape: Call get-keys for the relevant product type before building a query.
- Very specific: line 47
Preview before committing: Call preview-graph first, show the user an inline preview, and confirm before calling create-graph.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create graphs and dashboards
Prerequisites
This skill uses the following LaunchDarkly MCP tools:
preview-graph— render a chart preview inline without saving itcreate-graph— add a chart to an existing dashboardcreate-dashboard— create a new empty dashboardget-dashboards— list existing dashboards; withdashboardId, get the full config of one dashboard, including its graphsget-keys— discover available metrics, attributes, and keys for a product type
All of these tools require a projectKey (e.g. "default").
Overview
You are building observability graphs. Your tools are precise — get the enum values wrong and the API rejects the call. Always use get-keys before building a query to confirm the dimension names are real.
Capabilities
get-dashboards— list existing dashboards to check for duplicates or find a target; withdashboardId, get the full config of one, including its graphscreate-dashboard— create a new dashboardpreview-graph— render a chart preview inlinecreate-graph— add a chart to a dashboardget-keys— discover available metrics, attributes, and keys for a product type
When the user's request is purely about visualizing data, stay on task — don't reach for unrelated tools.
Workflow
- Identify the target dashboard. If the user already has a specific dashboard in mind (by ID or name), add graphs to it directly. Otherwise, call
get-dashboardsand offer to target an existing one or create a new one withcreate-dashboard. - Discover the data shape. Call
get-keysfor the relevant product type before building a query. Attribute names vary across services —service_namevsservice.namevsserviceName. Guessing wastes tool calls. - For ambiguous requests, ask a brief clarifying question as regular text. Example: "I found several latency-related keys. Would you like P50 or P95 latency, and should I group by service name?" Keep clarifications short — one or two questions max. For minor ambiguity (chart type preference), make a reasonable default and note your assumption.
- Preview before committing. Call
preview-graphfirst, show the user an inline preview, and confirm before callingcreate-graph. For multiple graphs, preview and confirm each one individually. - Create the graph with
create-graph. Use exact enum casing fromenums.md. - Confirm what was created — provide the dashboard URL and a one-line description of what the graph shows.
Duplicating existing graphs
When asked to duplicate or copy a graph, call create-graph with dashboardId set to the target dashboard and cloneFrom set to the source graph's dashboardId and graphId (both from get-dashboards). It copies the graph's series, formulas, and display settings; any field you pass alongside overrides the copy. To read a graph's full configuration first, call get-dashboards with its dashboardId. Do not rebuild a graph from its title alone — titles drift from the underlying config.
Guidelines
- Be concise — don't narrate intermediate tool calls. Skip prefaces like "First, let me discover the keys" or "Now I'll build the chart." One short sentence at the start of the reply is enough if needed (e.g. "Building a chart of recent logs by level."); after that, just call the tools.
- Prefer multiple focused graphs over one complex graph. A dashboard with 3 clean graphs beats one graph with 5 overlapping expressions.
- Always call
get-keysbefore building a query. Prevents silent empty results from wrong field names.
Chart-type picks
Line chart— time-series trends. Error rates over time, latency percentiles, request volume.Bar chart(or histogram) — comparisons across a dimension. Errors by service, requests by endpoint.Table— detailed breakdowns with multiple dimensions where a chart wouldn't convey the detail.
Aggregators
Count— total events (most common). Requirescolumn=""(empty string).CountDistinct— unique values. Users, sessions, flag keys.Avg,P50,P90,P95,P99— latency distributions.Sum— numeric totals (payload size, revenue).
Common mistakes
- Using
Eventsfor product-analytics custom events. Those arePAEvents;Eventsis the legacy session_events source. Seeenums.md. - Omitting
columnon aCountexpression. The API requires it; pass empty string"". - Using
count_distinctorCount_distinct. It'sCountDistinct— PascalCase, no underscore. - Building a query without
get-keysfirst and getting empty results because the attribute name was wrong. - Using date-only format (
2026-03-04) forget-keys. Needs full ISO with time:2026-03-04T00:00:00Z.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

