Official agent skill

Kibana Otel Instrumentation

by elastic in elastic/kibana

Implement and quality-check OpenTelemetry metric instrumentation in Kibana code that uses @kbn/metrics.

OfficialCustom licenceAuto-check passedDevOps & Cloud

Install Kibana Otel Instrumentation

skills CLI
$ npx skills add elastic/kibana --skill kibana-otel-instrumentation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install elastic/kibana kibana-otel-instrumentation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/elastic/kibana.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/kibana-otel-instrumentation .claude/skills/kibana-otel-instrumentation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kibana-otel-instrumentation
GitHub stars
21k
Token cost
~5.1k tokens
SKILL.md length
2,061 words
Files
1
Skills in repo
40
Repo updated
First seen
Licence
Custom licence

At a glance

Implement and quality-check OpenTelemetry metric instrumentation in Kibana code that uses @kbn/metrics.

  • Works in 2 steps: Technical design (per metric) → Implementation
  • The user wants to add
  • SKILL.md covers On invocation — orient the…, Responsibilities — read this…, Canonical source of truth and The @otel: emit marker…, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Kibana Otel Instrumentation is an agent skill from elastic/kibana, published by the product's own GitHub organization. Implement and quality-check OpenTelemetry metric instrumentation in Kibana code that uses @kbn/metrics. Use whenever the user wants to add, change, or review OTel metrics — including any call to metrics.getMeter, meter.createCounter/createUpDownCounter/createGauge/createHistogram/createObservable/addBatchObservableCallback, edits to kibana.yml telemetry.metrics config, or questions like "is this metric well-designed?", "what should I name this counter?", or "which instrument type is right here?". Trigger this…

Its SKILL.md is about 5.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Observability. It works with OpenTelemetry and Elasticsearch. The repository describes itself as: Your window into all of your data.

When your agent uses it

  • The user wants to add
  • Review OTel metrics — including any call to metrics.getMeter
  • Meter.createCounter/createUpDownCounter/createGauge/createHistogram/createObservable/addBatchObservableCallback
  • Edits to kibana.yml telemetry.metrics config

Example prompts

  • “is this metric well-designed?”
  • “what should I name this counter?”
  • “which instrument type is right here?”
  • “/kibana-otel-instrumentation”

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Technical design (per metric)
  2. Implementation

What it can do on your machine

Read from SKILL.md and the folder at commit 30ea56f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kibana Otel Instrumentation loads about 5.1k tokens when it runs. Until then it costs about 183 tokens; SKILL.md has 2,061 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~183
When it runs · the whole SKILL.md, loaded when a task matches
~5.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 2,061 words (~5,080 tokens).

“You wire up OpenTelemetry metrics in Kibana code — correctly. That means meter setup, metric creation, SemConv naming, type selection, attribute orthogonality, push vs observable, and implementation. Nothing else.”

— opening of SKILL.md by elastic, Custom licence
name
kibana-otel-instrumentation

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/kibana-otel-instrumentation of elastic/kibana.

Open the folder on GitHubat commit 30ea56f

Compare with similar skills

Kibana Otel Instrumentation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kibana Otel Instrumentation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kibana Otel Instrumentation this skillelastic/kibana21k—~5.1kAutomated safety check: PassCustom licence
UModel Root Cause Analysisalibaba/UnifiedModel415—~1.9kAutomated safety check: PassCustom licence
Observability Onboardingelastic/agent-skills592—~4.1kAutomated safety check: PassApache-2.0
Observability K8s Investigationelastic/agent-skills592—~8.3kAutomated safety check: PassApache-2.0
Observability Sre Triageelastic/agent-skills592—~7.4kAutomated safety check: PassApache-2.0
Motel Debugkitlangton/motel298—~2.2kAutomated safety check: PassMIT

Similar skills

  • UModel Root Cause Analysis

    alibaba/UnifiedModel

    Investigates a service incident to its root cause by querying a UModel object graph alongside metrics, logs, topology and recent deployments.

    415 GitHub stars~1.9k tokensUpdated 17 days ago
    DevOps & CloudAuto-check passed
  • Observability Onboarding

    elastic/agent-skills

    Official

    Onboard an application into Elastic Observability with the Elastic Distribution of OpenTelemetry (EDOT): route on language and runtime, detect and replace a classic Elastic APM agent, apply the…

    592 GitHub stars~4.1k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Official

    Investigate Kubernetes workload, node, and control-plane issues using OTel telemetry (EDOT).

    592 GitHub stars~8.3k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Observability Sre Triage

    elastic/agent-skills

    Official

    Triage a degraded or suspect service end to end: read SLO status and burn rate, check active alerting rules and ML anomalies, measure throughput, latency, and error rate, assess dependency health…

    592 GitHub stars~7.4k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Motel Debug

    kitlangton/motel

    Debug applications with motel, a local OpenTelemetry ingest and query server.

    298 GitHub stars~2.2k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Ecs Rfc Guide

    elastic/ecs

    Official

    Guides contributors through the Elastic Common Schema (ECS) RFC (Proposal) process: template sections, target maturity (alpha/beta), rfcs/text artifacts, and optional OTel mapping.

    1.1k GitHub stars~1.2k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed

More from elastic/kibana

All 40 skills in this repo
  • Official

    Migrate Kibana Cypress E2E tests (.cy.ts) to Scout (Playwright).

    21k GitHub stars~3.8k tokensUpdated today
    Auto-check passed
  • Activate Connector

    elastic/kibana

    Official

    Creates a connector instance in a running Kibana. An agent skill from elastic/kibana.

    21k GitHub stars~1.9k tokensUpdated today
    Auto-check: notes
  • Codeql

    elastic/kibana

    Official

    Work with CodeQL in Kibana — write, test, and debug custom queries locally, fetch scan results from GitHub, and validate inline suppression comments.

    21k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Debug Oas

    elastic/kibana

    Official

    A skill your agent uses when debugging OpenAPI (OAS) issues for a specific API area in Kibana by scoping validation output with one or more --path filters, then separating structural invalid-OAS…

    21k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Evals Write Spec

    elastic/kibana

    Official

    Write LLM evaluation spec files with datasets, tasks, and evaluators using the @kbn/evals Playwright fixture.

    21k GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Kbn GitHub

    elastic/kibana

    Official

    GitHub interactions via gh CLI for the Kibana repo. An agent skill from elastic/kibana.

    21k GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Categories

Questions about Kibana Otel Instrumentation

What does Kibana Otel Instrumentation do?

Implement and quality-check OpenTelemetry metric instrumentation in Kibana code that uses @kbn/metrics. Kibana Otel Instrumentation is an agent skill from elastic/kibana, published by the product's own GitHub organization. Implement and quality-check OpenTelemetry metric instrumentation in Kibana code that uses @kbn/metrics.

When should I use Kibana Otel Instrumentation?

Kibana Otel Instrumentation fits situations like: the user wants to add; review OTel metrics — including any call to metrics.getMeter; meter.createCounter/createUpDownCounter/createGauge/createHistogram/createObservable/addBatchObservableCallback; edits to kibana.yml telemetry.metrics config.

How do I install Kibana Otel Instrumentation in Claude Code?

Run `npx skills add elastic/kibana --skill kibana-otel-instrumentation -a claude-code`. Or copy the skill folder (.agents/skills/kibana-otel-instrumentation in elastic/kibana) into .claude/skills/kibana-otel-instrumentation in your project. Claude Code loads it when a task matches its description.

How do I install Kibana Otel Instrumentation in Codex?

Run `npx skills add elastic/kibana --skill kibana-otel-instrumentation -a codex`. Or copy the skill folder (.agents/skills/kibana-otel-instrumentation in elastic/kibana) into .agents/skills/kibana-otel-instrumentation in your project. Codex loads it when a task matches its description.

Can I use Kibana Otel Instrumentation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add elastic/kibana --skill kibana-otel-instrumentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kibana-otel-instrumentation, .gemini/skills/kibana-otel-instrumentation, .github/skills/kibana-otel-instrumentation and .opencode/skills/kibana-otel-instrumentation in your project.

What does Kibana Otel Instrumentation need to run?

SKILL.md names no scripts, command-line tools or credentials: Kibana Otel Instrumentation is instructions for the agent only.

Does Kibana Otel Instrumentation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kibana Otel Instrumentation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kibana Otel Instrumentation use?

Kibana Otel Instrumentation has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Kibana Otel Instrumentation use?

About 5.1k tokens (SKILL.md is roughly 20k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kibana Otel Instrumentation?

Skills that share tags, products or a category with Kibana Otel Instrumentation: UModel Root Cause Analysis (alibaba/UnifiedModel, 415 stars), Observability Onboarding (elastic/agent-skills, 592 stars), Observability K8s Investigation (elastic/agent-skills, 592 stars) and Observability Sre Triage (elastic/agent-skills, 592 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kibana Otel Instrumentation?

elastic (a GitHub organization, an official publisher) maintains it in elastic/kibana, which has 21,310 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 11, 2026.

Source: elastic/kibana on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.