codex - 💡(How to fix) Fix Command to clear context in current session [2 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#19829Fetched 2026-04-28 06:36:19
View on GitHub
Comments
2
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×3commented ×2mentioned ×1subscribed ×1
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

App

What feature would you like to see?

Working the worktree, I like to run review skills on empty context, giving it another chance to explore code potentially finding new edge cases.

There is, however, no way to clear context in the current session/worktree (e.g. /clear).

Additional information

No response

extent analysis

TL;DR

Implementing a /clear command to reset the context in the current session could address the issue.

Guidance

  • Investigate the existing API or command structure to determine the best approach for adding a context-clearing feature.
  • Consider the potential impact of clearing context on ongoing sessions and edge case detection.
  • Review the documentation for any related commands or features that could be leveraged or modified to achieve the desired functionality.
  • Evaluate the feasibility of adding a temporary workaround, such as a manual reset or a custom script, until a permanent solution is implemented.

Notes

The lack of additional information about the current implementation and technical details limits the ability to provide a more specific solution.

Recommendation

Apply workaround: Implement a custom script or manual reset procedure to clear context until a permanent /clear command is developed, as this will allow for continued testing and edge case detection while a more robust solution is explored.

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

codex - 💡(How to fix) Fix Command to clear context in current session [2 comments, 2 participants]