Skip to main content

Codex CLI + BlocPad CLI

Where to put rules (system prompt)

Codex CLI reads repository instructions from AGENTS.md at the repo root. This repo already includes AGENTS.md. If you want Codex to always follow the BlocPad workflow, keep this section in your AGENTS.md:
  • AGENTS.md
  • Use blocpad tasks focus <TASK> --md before coding
  • Never request bp_pat_... tokens

Steps

  1. Export context:
  1. In Codex CLI, paste your instruction and include the contents of blocpad-context.md.

Example prompt