Otel Init — Development skill for Claude Code
First-run: scan the repo, detect service boundaries, and prime the context cache.
How to install Otel Init
Installs to ~/.claude/skills/radra23-otel-as-code-plugin-otel-init/SKILL.md
mkdir -p ~/.claude/skills/radra23-otel-as-code-plugin-otel-init && curl -fsSL https://raw.githubusercontent.com/radra23/otel-as-code-plugin/HEAD/commands/otel-init.md -o ~/.claude/skills/radra23-otel-as-code-plugin-otel-init/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Otel Init does
description: "First-run: scan the repo, detect service boundaries, and prime the context cache"
/otel-init
First-run setup for otel-as-code. Run this before any other /otel-* command. This command is safe to re-run; it will refresh the context cache if stale.
Step 1: Check context cache freshness
Read `.claude/otel-context.json` if it exists.
If it exists:
- Get current git HEAD: run
git rev-parse HEAD - Compare the
gitHashfield in the JSON to the current HEAD. - ALSO chec
Alternatives in Development
- Obsidian Init — Scan your vault and generate a _CLAUDE.md operating manual, index.md catalog, and log.md 277 ★
- Prime Ahk — Prime AHK project context — orient on recent work, running scripts, modified files, and recent failures 44 ★
- Ctx Handoff Mod — Claude Code mod: auto handoff to a fresh conversation when context hits a threshold, keeps the prompt cache wa 25 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Map
Map a route's component tree -- trace imports, detect boundaries, cache the result
Squad Detect
Scan the project to detect its tech stack and write .happysquad/stack-profile.md with per-agent skill recommen
Margaret Init
Set up margaret's project context — detect the stack, write the two context tiers, report what's missing
Otel Business Attrs
Infer and confirm service identity, ownership, and business-metric candidates
Otel Instrument
Generate OTel SDK bootstrap and OTLP wiring for this service
Hot
Refresh the hot cache (hot.md) — the recent-context tier read first each session
Related Agents
Repo Context Scanner
Read-only repo traversal that returns structured context JSON (services, languages, frameworks, existing OTel
Noemeo Backend Architect
Designs backend systems in Noemeo repos -- data ownership and custody, component and service boundaries, contr
Init
Idempotent project bootstrap for a repository created from this template: detect greenfield vs. brownfield and