Merge pull request #947 from Linde7777/fix-codex-prompt

Adjust the activation prompt for Codex, to make GPT-5 more compliant.
This commit is contained in:
Michael Panchenko authored and GitHub committed 2026-01-29 14:26:09 +07:00
commit f14faa12d0
1 file changed
+4 -2
+4 -2
View File
@@ -159,9 +159,11 @@ args = ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-s
After codex has started, you need to activate the project, which you can do by saying:
"Activate the current dir as project using serena"
> Call serena.activate_project, serena.check_onboarding_performed and serena.initial_instructions
> If you don't activate the project, you will not be able to use Serena's tools!
**If you don't activate the project, you will not be able to use Serena's tools!**
It is recommend to set this prompt as a [custom prompt](https://developers.openai.com/codex/custom-prompts), so you don't need to type this every time.
That's it! Have a look at `~/.codex/log/codex-tui.log` to see if any errors occurred.