← Files Domain Route GuardARCHIVED FILE

README.md

1.92 KB · Nov 30, 2026 · 07:55 UTC

↓ Download file

# Domain Route Guard

A local Codex plugin that makes DNS, HTTPS, hostname redirects, and public page routing part of finishing future website work.

## Enable once

Install this plugin from the included local marketplace, then ask Codex:

> Use Domain Route Guard to enable global website routing checks.

Setup respects CODEX_HOME (default ~/.codex), preserves existing instructions, creates a backup when modifying an existing file, and avoids duplicate managed blocks. It updates a nonempty AGENTS.override.md when one exists; otherwise it updates AGENTS.md. The audit guide is copied to a stable location under your Codex home.

The plugin requires local filesystem execution and Python 3.9+. Setup writes only on an explicit enable request. Installing the plugin alone does not modify your instructions. Start a new chat after setup. Global guidance applies to that Codex home, not automatically to other computers or browser-only sessions. Higher-priority instructions and environment permissions still apply.

## Remove the global default

> Use Domain Route Guard to remove its global website routing instructions.

This removes only the marked block, preserving surrounding instructions, backups, and the audit guide. Uninstalling the plugin alone does not remove the global block.

## Manual setup or inspection

From this plugin directory:

```sh
python skills/setup-domain-routing/scripts/setup.py status
python skills/setup-domain-routing/scripts/setup.py enable
python skills/setup-domain-routing/scripts/setup.py disable
```

## Verification

```sh
python -m unittest discover -s tests -v
```

The tests use temporary Codex homes, never your real instructions. Routing checks are release guidance, not background monitoring. This plugin does not purchase domains, modify DNS on install, run an MCP service, or send credentials anywhere.

Packaging reference: https://developers.openai.com/plugins/build/plugins

SHA-256: d4e74acfa1102317d64c968ac25317d80c897f7c723f11d961ef2abfbeb9b965