News for hackers. Stuff that matters.
Re:Claude Code is unusable for complex engineering tasks wit... by matheusmoreira on Tuesday April 07, 2026 @10:16AM (#47675763)
There is!!

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?
Re:Claude Code is unusable for complex engineering tasks wit... by withinboredom on Tuesday April 07, 2026 @10:18AM (#47675798)
Might be worth extracting the system prompt and then patching it. TBH, that's what I was expecting when I saw the gist.
Re:Claude Code is unusable for complex engineering tasks wit... by matheusmoreira on Tuesday April 07, 2026 @10:33AM (#47676039)
This 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/tweakcc

Re:Claude Code is unusable for complex engineering tasks wit... by withinboredom on Tuesday April 07, 2026 @10:40AM (#47676153)
Interesting. So literally triggering any of these changes probably invalidates the cache as well…