Skip to main content

Codex Personalization + config.toml (Arif)

Purpose

Keep a versioned, reusable Codex personalization setup aligned to Arif’s firmware workflow.

Files (source of truth)

Stored in OpenClaw workspace:

  • Custom instructions:
    • /Users/robotics/.openclaw/workspace/projects/firmware-codex-prompt/CODEX_CUSTOM_INSTRUCTIONS.md
  • Example config template:
    • /Users/robotics/.openclaw/workspace/projects/firmware-codex-prompt/config.toml

How to use

1) Custom Instructions (Personalization)

Copy the content of CODEX_CUSTOM_INSTRUCTIONS.md into Codex “Custom instructions / personalization”.

2) config.toml

Place config.toml into your Codex config directory.

Common locations to try (depends on which Codex CLI you use):

  • ~/.config/codex/config.toml
  • ~/.codex/config.toml
  • <repo>/.codex/config.toml

Note: The exact TOML schema varies by tool; treat this as a template and rename keys as needed.

What this setup enforces

  • Questions-first for unknown hardware/params
  • Bring-up gates with verification commands
  • No secrets in repos
  • SOP-style docs + modular firmware structure
  • Ask “which project?” when ambiguous
  • /projects/firmware-codex-prompt