This guide walks through adding Canon Boundary Guard to Codex, enabling the optionalDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/xxyoudeadpunkxx/canon-boundary-guard-codex/llms.txt
Use this file to discover all available pages before exploring further.
PreToolUse hook, and starting your first session with the provenance frame active. The whole process takes a few minutes. The hook is optional but recommended for sessions where repository content, project rules, or AGENTS.md authority may matter.
Prerequisites
- Codex is installed and running on your machine.
- You have access to the Codex plugin marketplace or can add plugins by repository URL.
Installation
Add the repository to Codex
Run the following command to register the plugin repository with Codex:This makes the plugin available in your local Codex plugin list.
Install or enable the plugin
Open Codex and navigate to the plugin picker or plugin list. In Codex UIs that support slash commands, open it with:Find Canon Boundary Guard in the list and install or enable it.
Start a new thread and activate the frame
Start a new thread and ask Codex to use the plugin:You can also invoke the bundled skill directly by name:When the skill activates, Codex reads the full
SKILL.md before responding and adopts the provenance frame silently for the rest of the session. No confirmation message is required.Enable the hook (recommended)
The bundled Then restart Codex. Plugin-bundled hooks are off by default and do not run until trusted.
PreToolUse hook re-surfaces the compact classification frame before matched write tools. To enable it, add the following to your Codex config.toml:- If your Codex UI exposes a hook review view, open it with
/hooksto review and trust the bundled hook. - In editor integrations where
/hooksis not available, open the plugin details or approve the hook when Codex shows the trust prompt.
apply_patch, Write, and Edit tool calls. It emits the frame as model-visible context and as a systemMessage in the UI. It does not block or rewrite any operation.The hook is recommended for sessions where repository content, project rules, naming conventions, workflows, or AGENTS.md authority may be relevant. The skill works without it — the hook is a reinforcement point, not the core mechanism.
Standalone Skill Alternative
If you prefer not to use the plugin system, the older standalone skill layout is preserved in thestandalone-skill-v1 branch of the repository. Check out that branch and copy the canon-boundary-guard/ folder into your Codex skills directory. Note that the hook is not available in the standalone layout — you would need to configure it manually.