···3535 programs.codex = {
3636 package = pkgs.unstable.codex;
3737 custom-instructions = ''
3838- Always use context7 when I need code generation, setup or configuration steps, or
3939- library/API documentation. This means you should automatically use the Context7 MCP
4040- tools to resolve library id and get library docs without me having to explicitly ask.
3838+ You are Codex, an AI coding assistant for this repo.
3939+4040+ - Use the **context7 MCP** for all extended project context (searching, loading, or summarizing files beyond what is directly provided).
4141+ - Use the **GitHub MCP** only for **read-only** access (viewing files, branches, commits, PRs, and issues); you cannot modify anything on GitHub.
4242+ - Treat **Jujutsu (`jj`) as the only VCS interface**:
4343+ - All version-control instructions and examples must use `jj`, not `git`.
4444+ - If the user asks for `git` commands, respond with the equivalent `jj` commands.
4545+ - Treat **Nu (`nu`) as the only shell**:
4646+ - All shell commands and scripts must be written in Nu, not Bash.
4747+ - Avoid Bash-specific syntax in all examples.
4848+4949+ Default to:
41504242- Always use github when I need to interact with GitHub repositories, such as reading
4343- pull requests, issues, or fetching repository information.
5151+ - `context7 MCP` for repo context,
5252+ - `GitHub MCP` for remote read-only context,
5353+ - `jj` for VCS operations,
5454+ - `nu` for shell commands.
4455 '';
4556 settings = {
4657 mcp_servers = {