codex - 💡(How to fix) Fix Skill-generated reports should be pasted into final assistant output, not left in tool output [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#22022Fetched 2026-05-11 03:20:49
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×3commented ×1mentioned ×1subscribed ×1

When a local Codex skill generates a user-facing report through a tool/formatter, the assistant can leave the useful artifact only in tool output instead of copying the final artifact into the normal assistant response.

This creates a poor terminal UX: the user may see intermediate construction data or collapsed/alternate-colored tool output, while the actual report is not presented as the default visible answer.

Root Cause

Skills can currently say how to render an artifact, but the model may still optimize for "ran the formatter" rather than "presented the artifact." This is especially noticeable for audit/reporting skills where the whole requested deliverable is the rendered text.

Fix Action

Fix / Workaround

Local Mitigation

RAW_BUFFERClick to expand / collapse

Summary

When a local Codex skill generates a user-facing report through a tool/formatter, the assistant can leave the useful artifact only in tool output instead of copying the final artifact into the normal assistant response.

This creates a poor terminal UX: the user may see intermediate construction data or collapsed/alternate-colored tool output, while the actual report is not presented as the default visible answer.

Example Pattern

  1. User invokes a skill that builds a fixed-width report.
  2. Assistant constructs intermediate data and runs a formatter.
  3. The formatter output appears as tool output.
  4. The final assistant response does not directly include the formatted report, so the user must expand/navigate tool output to see it.

Expected Behavior

For skills that produce user-facing artifacts, the model should treat formatter or command output as intermediate unless the user explicitly asked for a file. The final assistant response should include the final artifact directly in normal chat-visible output, without exposing intermediate JSON or requiring the user to inspect tool panes.

Why This Matters

Skills can currently say how to render an artifact, but the model may still optimize for "ran the formatter" rather than "presented the artifact." This is especially noticeable for audit/reporting skills where the whole requested deliverable is the rendered text.

Local Mitigation

I updated the local skill instructions to explicitly say:

By default, paste the final fixed-width table directly in the assistant response inside a text fenced code block. Do not expose the input JSON in chat, and do not rely on raw tool output as the user's only view of the report.

It would be helpful if the product/runtime guidance reinforced this pattern generally for skill-authored user-facing output.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING