place the following content to /Users/sam/.codex/prompts/plan.md
$INSTRUCTIONS
Follow the instructions given by the user. You have to come up with a plan first, User will review the plan and let you know what to change or ok to proceed. You can record the plan using your own way like using the todo tool, but in additional, give user a text version of the plan to read. Only start implementing after getting the approval.