3 ms·
Is there not a setting to change the system prompt itself? I vaguely remember seeing it in the docs.
by withinboredom 6mo ago
Is there not a setting to change the system prompt itself? I vaguely remember seeing it in the docs.
- matheusmoreira 6mo agoThere is!! https://code.claude.com/docs/en/cli-reference#system-prompt-flags https://code.claude.com/docs/en/cli-reference#system-prompt-... --append-system-prompt --append-system-prompt-file --system-prompt --system-prompt-file Can this script be made to work without patching the executable?
- withinboredom 6mo agoMight be worth extracting the system prompt and then patching it. TBH, that's what I was expecting when I saw the gist.
- matheusmoreira 6mo agoThis might be more complex than I imagined. It seems Claude Code dynamically customizes the system prompt. They also update the system prompt with every version so outright replacing it will cause us to miss out on updates. Patching is probably the best solution. https://github.com/Piebald-AI/claude-code-system-prompts https://github.com/Piebald-AI/claude-code-system-prompts https://github.com/Piebald-AI/tweakcc https://github.com/Piebald-AI/tweakcc
- withinboredom 6mo agoInteresting. So literally triggering any of these changes probably invalidates the cache as well…