The model reads the same skill multiple times between turns

Open 💬 0 comments Opened Aug 21, 2026 by kujtimiihoxha

What version of Codex CLI is running?

codex-cli 0.149.0

What subscription do you have?

pro

Which model were you using?

gpt-5.6-sol max

What platform is your computer?

Darwin 25.5.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

ghostty

Codex doctor report

What issue are you seeing?

I have noticed while using codex that codex keeps re reading the same skill over and over between turns.

I think the part that triggers this is in these prompt lines https://github.com/openai/codex/blob/7f9832d0d08c0e2fd56a02421477756474fec95d/codex-rs/ext/skills/src/catalog_prompt.rs#L7-L11

I think specifically Do not carry skills across turns unless re-mentioned

What steps can reproduce the bug?

Here is a simple example

<img width="1470" height="874" alt="Image" src="https://github.com/user-attachments/assets/44d977c8-1138-4754-ad93-5ab38c89061d" />

<img width="1464" height="658" alt="Image" src="https://github.com/user-attachments/assets/1239f415-3675-42e8-8cd4-56475d264d23" />

You can see from the answer it already knows how to set the model but it goes on and rereads the skill either way because it feels like it needs to read it.

What is the expected behavior?

If the skill is in the context it should not reread the skill it already has it in the context.

Additional information

I tried to make it skip this requirement and it keeps reading the skill because it perceives it as a higher level instruction.

<img width="745" height="238" alt="Image" src="https://github.com/user-attachments/assets/318f6a33-5b85-4d4e-b4e7-32dbb3543227" />

<img width="729" height="299" alt="Image" src="https://github.com/user-attachments/assets/2c691170-69ec-43a1-bb1b-24ffab0a8d74" />

View original on GitHub ↗