Repo Bootstrap
When to use
- Use when a repository needs Codex-native collaboration scaffolding from scratch.
- Use when an existing repo has ad hoc prompts or scattered docs and needs one coherent operating model.
- Use when you want safe defaults, verification gates, and a reusable skills catalog across projects.
When not to use
- Skip for a narrow feature change that does not alter repo tooling or collaboration flow.
- Skip when the target repo already has a stronger, settled operating model you should preserve.
- Skip when you cannot validate the scaffold in the target environment.
Workflow
- Inspect the repository and decide whether you are bootstrapping from zero or retrofitting around existing conventions.
- Install the minimum scaffold first:
AGENTS.md,.codex/config.toml, role files, templates, scripts, and CI. - Add the skills catalog and only the highest-value skills for the target repo.
- Decide whether the TUI and NDJSON telemetry path are worth enabling immediately.
- Tune sandbox, approval, and verification defaults to the repo’s risk level.
- Update docs so contributors understand how to use the new workflow.
- Run verification and provide maintainers with the shortest adoption path.
Output contract
installed-components: scaffold pieces added or updatedcustomization-notes: where the target repo should tune defaultsverification: checks run and outcomesadoption-guide: the shortest path for maintainers to start using the scaffold
Examples
Use $repo-bootstrap to retrofit this monorepo with Codex roles, skills, templates, and CI.Use $repo-bootstrap to scaffold a brand-new project with safe multi-agent defaults and the TUI companion.
Resources
- Read
references/bootstrap-sequence.mdfor the recommended install order. - Use
scripts/bootstrap-repo.shwhen copying the scaffold into another repository.
Source: enjoykumawat/oh-my-codex — distributed by TomeVault.