Make /init customizable
Resolved 💬 1 comment Opened Aug 20, 2025 by QLiMBer Closed Nov 27, 2025
What feature would you like to see?
Allow users to control what /init generates and prevent accidental inclusion of local, potentially sensitive content. In particular:
- Support a user-defined template for /init (which is currently based on
codex-rs/tui/prompt_for_init_command.md - Use safer defaults that do not pull from local files (e.g., ~/.codex/AGENTS.md) unless explicitly opted in.
- Show a clear warning and review step if local content is detected.
This is related with #2529 , which can quickly fix bullets 2 and 3.
Are you interested in implementing this feature?
Possibly — time permitting. Earliest availability is next week.
Additional information
This reduces the risk of leaking personal or org data and aligns with the principle of least surprise. It also complements a related bug report about /init encouraging inclusion of content that may expose sensitive information.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗