From 6f98e6c67c41a5e06a9977074ba592e5324d9361 Mon Sep 17 00:00:00 2001 From: Long Peng Date: Sat, 17 Jan 2026 17:00:14 +0800 Subject: [PATCH] Adjust the activation prompt for Codex, to make GPT-5 more compliant. --- docs/02-usage/030_clients.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/02-usage/030_clients.md b/docs/02-usage/030_clients.md index 2f3d291a..73a5c57b 100644 --- a/docs/02-usage/030_clients.md +++ b/docs/02-usage/030_clients.md @@ -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.