Codex Init
Use this skill to initialize brainerd for Codex in the current repo.
On Windows, replace ../../scripts/brainerd-codex.sh with
..\..\scripts\brainerd-codex.cmd in the commands below.
Workflow
- Run:
../../scripts/brainerd-codex.sh init
- This creates any missing
brain/managed files and installs or updates the managedAGENTS.mdblock. - Review the bootstrap preview.
- Do not create the operations note unless the user explicitly asked for it or confirms after seeing the preview.
- To apply the bootstrap note, run:
../../scripts/brainerd-codex.sh init --apply-bootstrap
Rules
- Only this skill may edit
AGENTS.md, and only through the managedbrainerdblock. - Do not edit any repo files outside
brain/and the managedAGENTS.mdblock. - If
AGENTS.mdcontains multiplebrainerdmanaged blocks, stop and surface the error instead of editing the file. - End with a short summary of what was created, what was preserved, and whether bootstrap was only previewed or actually applied.
Source: MylesMCook/brainerd — distributed by TomeVault.