You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add developer_instructions_file for stronger local guidance #12926
Better adherence than AGENTS.md for strict local policy.
Compatibility
Fully backward compatible.
No behavior change unless explicitly configured.
Relationship with developer_instructions: developer_instructions_file provides a reusable baseline, while developer_instructions remains the inline per-config override.
If both are set, combine as: file_content + "\n\n" + developer_instructions, so inline text can refine or tighten the baseline file content.
Reacted by Beehive Innovations, Alexander Riccio and vtornikita
@etraut-openai Would you consider reopening/revisiting this request?
I put together a branch implementing developer_instructions_file for my own use, and wanted to share it in case it reduces the amount of OpenAI engineering bandwidth needed to evaluate the feature:
I understand this may not have enough broad demand to prioritize internally. My hope is that having an implementation available makes it easier to assess whether the feature is acceptable, even if it still needs changes before it could be considered.
My personal use case is easier experimentation with and sharing of custom developer instructions. I will likely use this together with:
The reason is that I want to experiment with completely custom developer instructions while suppressing the default developer-instruction sections. I suspect that interactions between the default developer-instruction sections and parts of the base/system instructions can sometimes compound into assumptions that affect the quality of the work produced. For that kind of experiment, keeping a large amount of Markdown inside config.toml is awkward, and sharing it is also awkward.
model_instructions_file already solves this shape of problem for model/base instructions: it lets users provide substantial custom instructions without flooding config.toml with hundreds of lines. This branch adds the analogous config key for developer instructions.
The branch is intended to be backward compatible: no behavior changes unless developer_instructions_file is configured. It also updates the config schema and adds test coverage for config loading, profile/path resolution, standalone agent roles, config lock behavior, and a request-body integration test showing the file content is sent as a developer role message.
I'm happy to adjust the exact semantics if maintainers prefer a different precedence or combination behavior.
Activity
aofei commentedon Feb 26, 2026
FWIW, what I want is a direct replacement for an existing Claude Code workflow that already works very well for me.
etraut-openai commentedon May 2, 2026
This feature request hasn't received enough upvotes, so I'm closing it.
hlky commentedon Jun 2, 2026
@etraut-openai Would you consider reopening/revisiting this request?
I put together a branch implementing
developer_instructions_filefor my own use, and wanted to share it in case it reduces the amount of OpenAI engineering bandwidth needed to evaluate the feature:I understand this may not have enough broad demand to prioritize internally. My hope is that having an implementation available makes it easier to assess whether the feature is acceptable, even if it still needs changes before it could be considered.
My personal use case is easier experimentation with and sharing of custom developer instructions. I will likely use this together with:
The reason is that I want to experiment with completely custom developer instructions while suppressing the default developer-instruction sections. I suspect that interactions between the default developer-instruction sections and parts of the base/system instructions can sometimes compound into assumptions that affect the quality of the work produced. For that kind of experiment, keeping a large amount of Markdown inside
config.tomlis awkward, and sharing it is also awkward.model_instructions_filealready solves this shape of problem for model/base instructions: it lets users provide substantial custom instructions without floodingconfig.tomlwith hundreds of lines. This branch adds the analogous config key for developer instructions.The branch is intended to be backward compatible: no behavior changes unless
developer_instructions_fileis configured. It also updates the config schema and adds test coverage for config loading, profile/path resolution, standalone agent roles, config lock behavior, and a request-body integration test showing the file content is sent as adeveloperrole message.I'm happy to adjust the exact semantics if maintainers prefer a different precedence or combination behavior.