This repository tracks two related things:
look-before-you-leap/: the upstream Claude-oriented source tree, kept in sync with~/Projects/claude-code-setupcodex-skills/: the Codex port, adapted for Codex CLI and GPT-5.4
The goal is the same in both environments: make the model behave like a disciplined engineer instead of a fast but sloppy one. The Codex port keeps the upstream exploration, planning, verification, and blast-radius rules, but rewrites Claude-only concepts such as hook enforcement and plan mode into Codex-native instructions, helper scripts, and Orbit-backed review flow.
The discipline targets the recurring failure modes that show up in real coding sessions:
- silent scope cuts
- shared-code changes without consumer checks
- type-safety shortcuts
- missing verification
- shallow exploration
- compaction without a recoverable plan
GPT-5.4 is stronger at following explicit long-horizon instructions than earlier models, so the Codex version leans on clear contracts: exact skills, exact plan files, exact acceptance criteria, and concise progress updates.
look-before-you-leap/ upstream Claude source and hooks
codex-skills/ Codex-native skill pack
scripts/ install helpers for Codex
bash scripts/install-codex-skills.shThis installs the full Codex-native pack plus the upstream skills from:
codex-skills/look-before-you-leap/skills/
into ~/.codex/skills/, except the upstream frontend-design skill. That
source stays in the repo for sync, but installed Codex sessions use
lbyl-frontend-design as the single standard frontend design skill.
immersive-frontend remains available for motion-heavy frontend work. The
lbyl-* skills remain the Codex-native defaults for coding work.
If a local Orbit repo is available at ~/Projects/orbit or ~/projects/orbit,
the installer also:
- builds the local Orbit MCP server when needed
- packages and installs the local VS Code extension when
codeis available - registers a global Codex MCP server named
orbit
That makes Orbit tools available automatically in future Codex sessions at
startup via ~/.codex/config.toml.
To skip Orbit during a skill install:
SKIP_ORBIT_INSTALL=1 bash scripts/install-codex-skills.shTo bootstrap Orbit separately or point at a non-default checkout:
bash scripts/install-orbit-codex-integration.sh
ORBIT_DIR=/absolute/path/to/orbit bash scripts/install-orbit-codex-integration.shMention the skills explicitly or rely on project AGENTS.md defaults.
Typical prompts:
Use lbyl-conductor and lbyl-engineering-discipline for this task.Use lbyl-writing-plans, then execute with lbyl-persistent-plans.Use lbyl-systematic-debugging for this failure.Use immersive-frontend for this motion-heavy landing page.
For coding work, the expected default is:
- explore first
- write
.temp/plan-mode/active/<plan-name>/plan.jsonandmasterPlan.mdbefore source edits - update the plan every 2-3 file edits
- run relevant verification before declaring done
By default, the Codex skill pack presents new plans through Orbit for review
with orbit_await_review before execution starts unless the user explicitly
skips that review.
When the Claude repo evolves:
- sync the shared upstream source into
look-before-you-leap/ - port the relevant changes into
codex-skills/ - adapt for Codex instead of copying Claude-specific runtime assumptions
That adaptation layer is the important part. This repo is intentionally not a literal mirror.