Skip to main content
skill CX Codex

otel-upgrade — Claude Code skill for OpenTelemetry upgrades

This skill assesses OpenTelemetry upgrades against a repository’s versions and evidence. Use it to plan a move to a new SDK, Collector, or related component.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a claude-code
Open on GitHub

What otel-upgrade does

The skill inspects the repository and runtime evidence, then follows a workflow for dependencies, Collector changes, or both. It establishes current and candidate versions separately, including versions of distributions, artifacts, and embedded dependencies, and checks authoritative sources for stable releases.

Its report gives a recommendation, relevant findings, an upgrade sequence, and the checks performed. Dependency resolution, compilation, configuration acceptance, and tests each support different conclusions, so the skill says what the results actually establish. By default, it assesses the change without editing project files; validation is done in an isolated copy or equivalent environment.

What it helps with

  • choose an OpenTelemetry version for a repository
  • check whether a Collector upgrade fits existing configuration
  • identify code changes required by a dependency update
  • plan a coordinated upgrade of components and artifacts
  • separate tested candidates from unverified releases

Example prompts for the agent

  • Assess an OpenTelemetry SDK upgrade in this repository and recommend a target version.
  • Check what must change to move this Collector to a newer release.
  • Compare the exporter version here with stable releases and propose validation steps.

How to install otel-upgrade

1Skills CLI (Vercel)

npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a claude-code

2Manually: put the files in place

~/.claude/skills/otel-upgrade/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/otel-upgrade/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about otel-upgrade

How do I install otel-upgrade in Claude Code?

Run npx skills add ollygarden/opentelemetry-agent-skills --skill otel-upgrade -a claude-code. The skill file is at ~/.claude/skills/otel-upgrade/SKILL.md.

What does otel-upgrade do?

It examines OpenTelemetry versions and usage in a repository, evaluates upgrade candidates, and prepares a recommendation with a proposed migration and validation plan.

How does otel-upgrade assess a Collector upgrade?

It examines the Collector configuration, components, and runtime evidence, then distinguishes available stable releases from candidates whose compatibility was validated. For custom Collectors with independently versioned modules, it also checks relevant module constraints.

Source text

SKILL.md · Apache-2.0
---
name: otel-upgrade
description: Assess OpenTelemetry package and Collector upgrades across ecosystems. Use when choosing or validating API, SDK, instrumentation, exporter, Collector distribution, component, image, chart, Operator, OCB build, or configuration versions, including compatibility, required changes, telemetry and runtime behavior, and rollout risk.
---

# OpenTelemetry Upgrade

Find the highest stable target supported by the available repository evidence and provide concise, case-specific upgrade advice. Unless the user asks for implementation, assess the upgrade without changing project files.

## Choose the workflow

| Request or repository evidence | Read |
|---|---|
| Package manifests, lockfiles, APIs, SDKs, instrumentation libraries, exporters, plugins, or dependency constraints | [Dependency upgrade](references/dependency-upgrade.md) |
| Collector binaries, images, charts, Operators, configuration, feature gates, components, OCB manifests, builds, or runtime behavior | [Collector upgrade](references/collector-upgrade.md) |
| A custom Collector involving independently versioned or third-party modules | Read the Collector workflow first, then the dependency workflow for relevant module constraints. |

Read only the applicable reference. Read both when the upgrade crosses both surfaces.

## Shared instructions

1. Inspect the repository and runtime evidence before choosing the workflow or assuming the ecosystem.
2. Establish the exact current and candidate versions. Record wrappers, distributions, artifacts, and embedded dependencies separately rather than treating one version as proof of another.
3. Query authoritative registries and tagged primary upstream sources for current stable releases. Record the lookup date. Treat release candidates, beta/alpha packages, nightly artifacts, and untagged source as prereleases unless that package line intentionally publishes with a prerelease identifier; do not silently replace a project's existing experimental package line with a stable package from a different line. If no stable release meets a stated requirement, assess prereleases separately and label them clearly.
4. Distinguish the **latest available** stable release from the **highest validated compatible** candidate. Do not call a candidate validated when the relevant checks could not run.
5. Preserve the user's working tree by validating in a temporary copy, worktree, or equivalent isolated environment. Start with the latest stable candidate. If it fails, diagnose the cause and test selected lower versions when useful; do not assume compatibility is monotonic.
6. Connect upstream changes to this repository's actual usage and available downstream contracts. Treat unavailable consumers, environments, and exact-version coverage as unverified.
7. Use applicable specialized skills only when they are available. Otherwise use primary upstream sources and repository evidence, and report any resulting verification gaps.

Dependency resolution, compilation, configuration acceptance, and passing tests establish different and limited kinds of evidence. State exactly what each result demonstrates.

## Report

Keep the report concise and tailored to the repository.

```markdown
## Recommendation

Recommend upgrading `<subject>` from `<current>` to `<target>`, remaining on `<current>`, or deferring the upgrade. Explain the evidence, effort, and risk.

## Relevant Findings

- `<Material finding>` — explain its effect on this repository and any required action.

## Proposed Upgrade Path

Give the smallest coordinated sequence of dependency, artifact, code, configuration, and rollout changes.

## Validation

State the exact candidates, artifacts, configurations, platforms, and checks covered, their results, and what those results demonstrate.

## Remaining Risk

Mention only material behavior, environments, integrations, consumers, or artifacts that could not be verified. Omit this section when no material unverified areas were identified.
```

Link material upstream claims to authoritative release notes, documentation, or source. If the latest available version is not the highest validated compatible version, name both and explain the blocker.

© ollygarden · Apache-2.0 · ollygarden/opentelemetry-agent-skills

Similar skills

All skills for DevOps and infrastructure →

From the same set20

otel-component-telemetry Scans one OpenTelemetry component at pinned versions and records the spans, metrics and logs it emits as change-point files. CX Codex +1 ★ 116repo stars otel-weaver Guides OpenTelemetry Weaver registry authoring, codegen, and CI validation. It replaces manual telemetry constants with schema-driven code. CX Codex +1 ★ 116repo stars otel-telemetrygen Builds version-pinned telemetrygen commands for synthetic OTLP traces, metrics and logs aimed at a collector. CX Codex +1 ★ 116repo stars otel-telemetry-emissions Version-pinned registry of telemetry emitted by OpenTelemetry components and SDKs. Inspect spans, metrics, and logs before updating collector pipelines. CX Codex +1 ★ 116repo stars otel-span-events-to-logs-migration Guides OpenTelemetry instrumentation migrations from Span Events to the Logs API while retaining trace correlation. Use it to plan a migration or review existing calls. CX Codex +1 ★ 116repo stars otel-semantic-conventions A skill that looks up released OpenTelemetry semantic conventions: group names, attributes and span naming rules. Useful when the agent would otherwise invent keys. CX Codex +1 ★ 116repo stars otel-sdk-versions Looks up released OpenTelemetry SDKs, Collector components, config schemas, and semantic conventions. Helps pick compatible versions when adding telemetry. CX Codex +1 ★ 116repo stars otel-ruby Guides an agent through OpenTelemetry setup and troubleshooting in Ruby services. Use it for tracing, experimental metrics and logs, or library instrumentation. CX Codex +1 ★ 116repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor