otel-uninstrument
Skill1 starsChanged 48 days agoApache-2.0View on GitHub
Remove the OTel SDK bootstrap files /otel-instrument generated for a service (marker-gated deletion). Use to roll back instrumentation.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- otel-backendSkill
- otel-business-attrsSkill
- otel-collectorSkill
- otel-evaluateSkill
- otel-initSkill
- otel-instrumentSkill
- otel-remediateSkill
- semconv-disciplineSkill
- new-backendSkill
- validate-pluginSkill
- business-attr-uxSkill
- collector-topologySkill
- deployment-remediationSkill
- language-maturitySkill
- semconv-disciplineSkill
- terraform-patternsSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Follow the canonical procedure in this repo — it is the single source of truth:
- Very specific: line 12
Read commands/otel-uninstrument.md (repo root) and execute its steps.
≈ “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
otel-uninstrument (Codex bridge)
Requires the otel-as-code repo. The
commands//hooks//agents/files referenced below live there — if they're not present in your workspace, stop and tell the user to add the repo (see AGENTS.md).
Follow the canonical procedure in this repo — it is the single source of truth:
- Read
commands/otel-uninstrument.md(repo root) and execute its steps. - Codex has no subagent dispatch: if the context cache is stale/absent, read
agents/repo-context-scanner.mdand run that scan inline first (Step 1). - The candidate-name set + marker check come from
hooks/otel-paths.sh— source it and useotel_bootstrap_globsfor the candidate set. Do NOT hand-list the names, and do NOT useotel_all_generated_globsorotel_is_generated_pathhere: those matchotelcol-*.yamltoo (that is how the write-guard protects Collector configs), so using them as a deletion candidate set would put a Collector config on thermlist.otel_bootstrap_globsexcludes the collector names by construction — that is the whole point of the split.
The one thing that must not go wrong: delete only files carrying the generated by
otel-as-code marker. A file that matches a generated name but has no marker is hand-written —
report it as skipped and leave it in place. Never rm a file without confirming the marker. This
command removes instrumentation bootstraps only — never otelcol-*.yaml or Terraform. The marker
gate alone would NOT keep collector configs safe (they carry the same marker) — scoping the
candidate set via otel_bootstrap_globs is what does.
Args: $ARGUMENTS (e.g. --service api, --all, --dry-run, --force).
Codex note: deletion is rm, not Write/Edit, so .codex/hooks.json (write-guard) does not
gate it — the confirmation prompt is the safety gate, and --force only skips that prompt (it
never widens the marker gate).
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.

