Codex project bootstrap + taskflow kit in one package.
Legal and security:
This repo is designed to work across three integration surfaces:
- Codex CLI
- Codex App
- AGENTS/Skills flow
codex-project-kit is an installer + runtime toolkit that makes Codex sessions reproducible in any git repository.
It combines two capabilities:
- session/bootstrap state management (
codex-bootstrap-kit) - deterministic task artifact workflow (
codex-taskflow-kit)
Without a standard bootstrap/taskflow layer, teams usually hit the same issues:
- each session starts with missing or inconsistent context
- CLI/App/AGENTS flows drift apart and behave differently
- task execution quality depends on prompt style instead of enforced checks
- generated local artifacts are easy to leak into git history
- Install unified kit artifacts into target repos.
- Bootstrap local state snapshots and checklist status before work.
- Auto-prime Codex sessions with a first prompt that loads
.local_codex/*context files and taskflow routing rules. - Verify freshness/integrity gates (
status: PASS) before session/taskflow. - Generate structured task artifacts (intake -> handoff).
- Lint artifacts (
scaffold/completemodes) to catch unfinished output. - Keep local generated files out of git with managed
.gitignoreblocks.
Common alternatives:
- ad-hoc
bootstrap.sh+ team runbooks - scaffolding tools like Cookiecutter/Copier
- pre-commit-only policy enforcement
- standalone task templates/checklists
Why this repo is better for Codex-heavy workflows:
- one integrated path for CLI, App, and AGENTS/Skills (instead of separate scripts)
- built-in verify + lint gates, not just documentation conventions
- install safety controls (
--dry-run,--backup,--no-force) - CI-ready test bundle that exercises actual temp-repo flows
When it is not better:
- if you only need static project scaffolding once (no ongoing session/taskflow gating)
- if your team does not use Codex across multiple surfaces
kits/codex-bootstrap-kitkits/codex-taskflow-kit
docs/NEW_REPO_WITH_PREINSTALLED_KITS.mddocs/EXISTING_REPO_ADD_KITS.md
bash scripts/one_click_install.sh --target /absolute/path/to/target-repo
# or legacy positional form:
bash scripts/one_click_install.sh /absolute/path/to/target-repoOptional flags:
--dry-runpreview install/normalize actions without writing files--backupbackup overwritten files/config under.codex_install_backups/--no-forcekeep existing target files instead of overwriting--skip-normalizepreserve existing.codex_bootstrap/config.json(skip project-agnostic rewrite)--skip-verifyskip strict post-install verification--verify-max-age-seconds Noverride freshness threshold for verification (default1800)
Installer behavior:
- installs both bundled kits (offline/local source, no git clone)
- rewrites
.codex_bootstrap/config.jsonto project-agnostic defaults by default (use--skip-normalizeto preserve custom config) - runs strict verification by default (freshness default
1800s; override with--verify-max-age-seconds) - records source marker at
.codex_bootstrap/KIT_SOURCE_REPOfor session auto-update
Run the same validation bundle used in CI:
bash scripts/test_kits.shCoverage includes:
- syntax checks for shell/python sources
- installer
.gitignoreresilience and idempotency - config validation failure checks for bootstrap/taskflow JSON
- taskflow lint checks (
scaffoldpass,completefail-on-placeholders) - CLI applicability (
codex_session.sh) - Codex App applicability (
codex_verify_session.sh,codex_task.sh) - AGENTS/Skills applicability (startup contract and checklist state)