Ian Nuttall

Part entrepreneur, part marketer, part software engineer using AI to build stuff on the internet.

Override Codex and Claude Code system prompts

/ 6,983 views / via X

Pro tip if you use codex exec for your own agentic stuff

you can override the system prompt by passing a `model_instructions_file`

You can also do it with claude code using:

claude -p --system-prompt-file ./custom-prompt.txt "query"

Image from the original X post

Ian's List

Join 15k+ subscribers