Include a `skill_name` on OTel tool events
Resolved 💬 2 comments Opened Feb 8, 2026 by drewradcliff Closed Mar 29, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
App and CLI
What feature would you like to see?
Can we get an attribute like skill_name to the OpenTelemetry tool events (e.g. tool decision/result)?
It’s possible to tell a tool was used, but not reliably group usage into higher-level “skills".
Additional information
_No response_
2 Comments
+1 — I’ve been working on measuring “skill ROI” and had the same thought.
Problem
OTel logs (and
codex exec --jsontraces) expose tool activity, but there’s no reliable way to attribute tool events to the active skill. Tool events identify the tool, not the skill context.This blocks:
Proposed minimal change
Add an optional attribute to tool-related telemetry events:
codex.skill.name(orskill_name)Attach to:
tool_calltool_resultParity: include the same field in
codex exec --jsonoutput.Acceptance criteria
$skill-name), subsequent tool events include the attribute until skill context ends.Happy to help implement after maintainer confirmation (per the invitation-only PR policy).
This feature request hasn't received enough upvotes, so I'm closing it.