Show HN: Clean My Output – Keep correction traces out of ChatGPT/Codex output

Byte-Naut1 pts0 comments

GitHub - Byte-Naut/clean-my-output: Keep corrections and internal process away from ChatGPT/Codex output. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search/

Sign in<br>Sign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

Byte-Naut

clean-my-output

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Latest commit

History<br>7 Commits<br>7 Commits

Folders and files<br>NameNameLast commit message<br>Last commit date<br>.codex

.codex

docs/assets

docs/assets

tests

tests

.gitignore

.gitignore

LICENSE

LICENSE

README.md

README.md

View all files

Repository files navigation

Clean My Output

Let the model remember the correction—without making every reader see it.

A ChatGPT Work / Codex lifecycle hook for a specific failure mode: after a user<br>corrects the model, the correction itself keeps leaking into later responses,<br>documents, comments, filenames, and release text.

It remembers each correction for the rest of the session, then checks later<br>replies and writing actions so readers see the result—not the cleanup process.<br>Important safety or limitation notes can still appear once at the end.

Fast evidence

You ask GPT-5.6-sol for a grilled cheese sandwich. It stuffs a whole roast<br>turkey inside. You take the turkey out, then ask for the final menu copy. The<br>correction should shape the result—not become part of it.

Where it appears<br>❌ Without the hook<br>✅ With the hook

Chat reply<br>Grilled cheese (without a whole roast turkey)<br>Grilled cheese

Menu copy<br>Now served without the roast turkey, as requested.<br>Melted cheddar on crisp, buttered sourdough.

Process note<br>I removed the turkey based on your feedback.<br>Not shown

The correction stays active for the session. The hook checks final replies,<br>added file text, new filenames, and supported write or publish actions.

Equip it to ChatGPT Work or Codex

Send this prompt:

Install Clean My Output in my current project:<br>https://github.com/Byte-Naut/clean-my-output

Merge it with existing hooks. Do not overwrite them.

License

This project is released under the MIT License.

About<br>Keep corrections and internal process away from ChatGPT/Codex output.<br>Resources<br>Readme<br>MIT license<br>Activity<br>Stars<br>0 stars<br>Watchers<br>0 watching<br>Forks<br>0 forks<br>Report repository

Releases

Packages

Contributors

Languages

You can’t perform that action at this time.

output codex clean correction chatgpt session

Related Articles