Repository navigation
Commit e596a07
docs: add empty system prompt to codex command for speed (#1300)
## Summary
- Add `-c system_prompt=''` to the Codex example command to skip the
default system prompt, reducing tokens and latency for commit message
generation
Follow-up from #1295 — @max-sixty asked about using empty system prompts
for speed.
**opencode**: Does not currently support disabling the system prompt.
The system prompt is always injected, and even the plugin system has a
safety fallback that restores the original if emptied. There are open
feature requests
([#1242](anomalyco/opencode#1242),
[#1894](anomalyco/opencode#1894),
[#5005](anomalyco/opencode#5005)) but nothing
available yet.
**Codex**: Has an undocumented `system_prompt` config key that can be
overridden via `-c system_prompt=''`. There are feature requests for
dedicated `--system-prompt` flags
([#6023](openai/codex#6023),
[#11588](openai/codex#11588)) but not yet
merged.
Co-authored-by: worktrunk-bot <[email protected]>
Co-authored-by: Claude Opus 4.6 <[email protected]>1 parent 8a0404d commit e596a07
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments