# Ollygarden otel collector config decomposition

> Ollygarden otel collector config decomposition is an open-source agent skill for developer tools. Decides whether to split an OpenTelemetry Collector YAML config and performs safe splits. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ollygarden/skills/tree/main/skills/ollygarden-otel-collector-config-decomposition
- **Repository:** https://github.com/ollygarden/skills
- **GitHub stars:** 5
- **License:** Apache-2.0
- **Skill name:** ollygarden-otel-collector-config-decomposition
- **Collection:** https://github.com/ollygarden/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill helps an agent judge whether an OpenTelemetry Collector configuration is worth breaking into several plain files. It starts from a set of pressures, such as large reviews, independently changing signal pipelines, drifting environment copies, or separate team ownership, and stops without touching files when fewer than two apply. When a split is justified, it picks a layout by signal, by component, as environment overlays, or with a single nested file inclusion, and then guides the agent through writing the files.

The workflow requires recording the Collector distribution, version, feature gates and the ordered configuration URIs before changing anything. It keeps each pipeline's receivers, processors and exporters sequence together, since later sequences replace earlier ones under default merge behavior. Verification compares the fully resolved monolith with the fully resolved split under the same Collector version, and it ends with a short decision report.

The skill expects a Collector YAML file to work on and an environment where the Collector can be run for validation. It defers component facts to a separate otel-collector skill and behavioral testing of processors to a validation skill, and it does not cover Helm, Kustomize or Terraform packaging.

## When your agent uses it

> Decide and execute plain-file decomposition for OpenTelemetry Collector YAML. Use for "should I split this collector config?", "break up this otelcol YAML", "organize it by signal or team", or "create environment overlays". Leaves simple configs intact and proves warranted splits equivalent after merge. Not for Helm, Kustomize, or Terraform packaging; use otel-collector for component facts and ollygarden-otel-collector-config-validation for behavioral proof.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ollygarden/skills/tree/HEAD/skills/ollygarden-otel-collector-config-decomposition)
- [License: Apache-2.0](https://github.com/ollygarden/skills/tree/HEAD/skills/ollygarden-otel-collector-config-decomposition)

## Features

- **Split decision gate:** Counts configuration pressures such as review size, drifting variants and team ownership before recommending any change.
- **Boundary selection:** Chooses between signal, component, overlay and nested layouts based on real change and ownership boundaries.
- **Pipeline sequence preservation:** Keeps each pipeline's receivers, processors and exporters in one file so merge behavior does not reorder them.
- **Resolved equivalence check:** Compares fully resolved monolith and split outputs under the same pinned Collector version.
- **Overlay mechanics:** Explains how environment overlays are ordered and layered as configuration inputs.
- **Decision report:** Ends with a structured summary of the decision, strategy, files and verification result.

## Good for

- Decide whether a large collector YAML file should be split by signal or team
- Break a monolithic otelcol config into common and per-signal files
- Create environment overlays for dev, staging and production collector configs
- Verify that a split collector config resolves to the same output as the original

## Install

### Claude Code

This skill ships in the `ollygarden-otel-collector-config-decomposition` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ollygarden/skills
/plugin install ollygarden-otel-collector-config-decomposition@skills
```

Or copy only this skill to `~/.claude/skills/ollygarden-otel-collector-config-decomposition`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ollygarden-otel-collector-config-decomposition &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-decomposition" ~/.claude/skills/ollygarden-otel-collector-config-decomposition &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ollygarden-otel-collector-config-decomposition` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ollygarden-otel-collector-config-decomposition` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ollygarden-otel-collector-config-decomposition &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-decomposition" ~/.agents/skills/ollygarden-otel-collector-config-decomposition &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ollygarden-otel-collector-config-decomposition` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ollygarden-otel-collector-config-decomposition` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ollygarden-otel-collector-config-decomposition &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-decomposition" ~/.cursor/skills/ollygarden-otel-collector-config-decomposition &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ollygarden-otel-collector-config-decomposition` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ollygarden/skills.git --path skills/ollygarden-otel-collector-config-decomposition
```

Or copy the folder to `~/.gemini/skills/ollygarden-otel-collector-config-decomposition` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ollygarden-otel-collector-config-decomposition`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ollygarden-otel-collector-config-decomposition &&
cp -R "$tmp/skills/ollygarden-otel-collector-config-decomposition" ~/.copilot/skills/ollygarden-otel-collector-config-decomposition &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ollygarden-otel-collector-config-decomposition` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ollygarden/skills.git
```

Then copy `skills/skills/ollygarden-otel-collector-config-decomposition` into your agent's skills folder as `ollygarden-otel-collector-config-decomposition`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does the skill decide not to split a config?

It leaves the config as one file when it fits on a screen, has one pipeline, one owner and no environment drift, or when fewer than two decomposition pressures apply.

### Which tools does Ollygarden otel collector config decomposition rely on for other facts?

It refers component facts and merge behavior to the otel-collector skill and behavioral proof for processors or connectors to the ollygarden-otel-collector-config-validation skill.

### Does Ollygarden otel collector config decomposition cover Helm or Kustomize packaging?

No. The skill is scoped to plain-file decomposition and explicitly excludes Helm, Kustomize and Terraform packaging.

### How do I install Ollygarden otel collector config decomposition in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ollygarden-otel-collector-config-decomposition to use it in all your projects, or to .claude/skills/ollygarden-otel-collector-config-decomposition in one project. Or install the ollygarden-otel-collector-config-decomposition plugin, which includes it: /plugin marketplace add ollygarden/skills, then /plugin install ollygarden-otel-collector-config-decomposition@skills.

### Does Ollygarden otel collector config decomposition run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ollygarden otel collector config decomposition?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ollygarden otel collector config decomposition?

The closest alternatives to Ollygarden otel collector config decomposition are Ollygarden otel declarative config, Ollygarden otel collector config validation, Ollygarden otel SDK setup, Ollygarden otel instrumentation planning and Ollygarden otel js setup.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ollygarden otel declarative config](https://ai-powered.com/skills/ollygarden-otel-declarative-config): Ollygarden otel declarative config is an open-source agent skill for developer tools.
- [Ollygarden otel collector config validation](https://ai-powered.com/skills/ollygarden-otel-collector-config-validation): Ollygarden otel collector config validation is an open-source agent skill for developer tools.
- [Ollygarden otel SDK setup](https://ai-powered.com/skills/ollygarden-otel-sdk-setup): Ollygarden otel SDK setup is an open-source agent skill for developer tools.
- [Ollygarden otel instrumentation planning](https://ai-powered.com/skills/ollygarden-otel-instrumentation-planning): Ollygarden otel instrumentation planning is an open-source agent skill for developer tools.
- [Ollygarden otel js setup](https://ai-powered.com/skills/ollygarden-otel-js-setup): Ollygarden otel js setup is an open-source agent skill for developer tools.
- [Ollygarden otel auto instrumentation](https://ai-powered.com/skills/ollygarden-otel-auto-instrumentation): Ollygarden otel auto instrumentation is an open-source agent skill for developer tools.
- [Ollygarden otel manual instrumentation](https://ai-powered.com/skills/ollygarden-otel-manual-instrumentation): Ollygarden otel manual instrumentation is an open-source agent skill for developer tools.
- [Ollygarden otel java setup](https://ai-powered.com/skills/ollygarden-otel-java-setup): Ollygarden otel java setup is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ollygarden-otel-collector-config-decomposition
