What problem does it solve? Setting up or recovering a local Codex runtime environment (config.toml, AGENTS.md, hooks, custom agents, task-state storage) is error-prone and risks leaking private paths, secrets, or machine-specific state into shared templates. This Skill bootstraps or aligns that setup from public-safe templates while preserving existing user configuration. ## Core Features & Use Cases - Patch-only configuration: Inspects existing AGENTS.md and config.toml, backs up only files that will change, and patches missing keys, hooks, and read-only agent entries without overwriting user content. - Missing-config recovery: Recreates a missing config.toml from a reviewed, allowlisted public-safe baseline using an atomic no-clobber renderer that rejects symlinks and sets mode 0600. - Idempotency preflight and validation: Runs a read-only check script that verifies hooks, multi_agent features, read-only custom agents, managed AGENTS.md blocks, and optional task-implementer workspace access without printing secrets. - Use Case: A developer on a new laptop asks Codex to configure their local setup; the skill renders templates, preserves existing MCP servers and preferences, validates TOML/JSON/hook syntax, and reports an alignment report before restart. ## Quick Start Ask Codex to configure my local Codex setup using the public templates, backing up existing files, keeping secrets out of config, and validating everything before reporting it is ready.