Some Codex setups inject codex branding into publish-facing Git metadata by default. In practice this can show up as branch names like codex/verify-email-tls or PR titles like [codex] fix tls verification.
That is harmless technically, but undesirable socially:
- it leaks tool branding into public Git history
- it makes personal or project branches look machine-generated
- it creates noise when you want plain descriptive names
- it keeps coming back in future sessions even after you manually rename one branch
The root issue is that this behavior can come from more than one place at once:
- built-in runtime instructions
- cached GitHub publish skill defaults
- missing user-level guardrails
So changing a single branch name does not solve the actual problem.
This repo packages a Codex skill called codex-branding-override that installs a durable local override for future Codex sessions.
The skill updates:
~/.codex/config.toml~/.codex/model_instructions.md~/AGENTS.md- cached GitHub publish skills under
~/.codex/plugins/**/skills/yeet/SKILL.md
After that, fresh Codex sessions should prefer plain descriptive branch names and PR titles instead of codex/... and [codex] ....
This does not rewrite the startup instructions of a Codex session that is already running. It affects future sessions and fresh subprocesses such as codex exec --ephemeral.
codex-branding-override-skill/
├── README.md
├── README.ru.md
└── codex-branding-override/
├── SKILL.md
├── agents/openai.yaml
└── scripts/apply_branding_override.py
The actual installable skill lives in codex-branding-override/.
- Copy or symlink the skill folder into your Codex skills directory:
mkdir -p "${CODEX_HOME:-$HOME/.codex}/skills"
cp -R codex-branding-override "${CODEX_HOME:-$HOME/.codex}/skills/"- Run the installer script:
python3 "${CODEX_HOME:-$HOME/.codex}/skills/codex-branding-override/scripts/apply_branding_override.py"Use a personal prefix instead of plain names:
python3 "${CODEX_HOME:-$HOME/.codex}/skills/codex-branding-override/scripts/apply_branding_override.py" \
--branch-prefix "locoholy/" \
--pr-title-prefix "[locoholy] "Use plain names and skip ~/AGENTS.md changes:
python3 "${CODEX_HOME:-$HOME/.codex}/skills/codex-branding-override/scripts/apply_branding_override.py" \
--no-home-agentsRun a fresh Codex subprocess:
codex exec -C /path/to/repo --ephemeral \
"You are choosing a git branch name for a PR that fixes TLS verification for email backends. Reply with only the branch name."Expected result:
fix-email-backend-tls-verification
Not:
codex/fix-email-backend-tls-verification
- ensures
model_instructions_fileis present in~/.codex/config.toml - writes a global instructions file that forbids
codexpublish branding - adds or updates a home-level
AGENTS.mdguardrail - patches installed GitHub
yeetskills without hardcoding plugin cache hashes
The script only edits local user config files under your home directory. It does not push anything, create branches, or talk to GitHub.
No license file is included yet. Add one before publishing the repo publicly if you want others to reuse it broadly.