@icellus/codex-aide
v0.1.3
Published
Codex Aide is a governed repository starter for Codex-based execution, validation, and delivery workflows.
Maintainers
Readme
✨ Why codex-aide
Many Codex setups begin as a mix of prompts, local notes, and copied rules. That can work for a while, but it is hard to keep consistent across repositories and sessions.
codex-aide packages that into a repository runtime with:
- a stable entry point at the repository root
- a dedicated runtime directory under
.codex/aide/ - a governed layout that is easier to review and refresh
- durable state for ongoing work and workflow tracking
- an install path you can run again as the starter evolves
| Without codex-aide | With codex-aide |
| --- | --- |
| Root instructions keep growing | Runtime files stay grouped under .codex/aide/ |
| Repo setup drifts from one project to another | One starter layout can be installed again |
| Long-running work loses local workflow state | Runtime state stays with the repository |
| Workflow and validation flow depend on local habit | The starter ships a consistent, governed workflow baseline |
Requirements:
- Node.js
>=20for npm installation - A repository you use through Codex CLI or a Codex-capable client
Choose one installation path below.
1. npm
Use this when Node.js is available.
npm i -g @icellus/codex-aide
cd /path/to/your/repo
codex-aide installOptional:
codex-aide install --target /path/to/repo
codex-aide install --dry-run2. Install from git
Use this when you want to pull the starter and copy it into the repository yourself.
git clone --depth 1 https://github.com/icellus/codex-aide.git /tmp/codex-aide
cd /tmp/codex-aide
cp starter/AGENTS.md /path/to/repo/AGENTS.md
mkdir -p /path/to/repo/.codex
cp starter/config.toml /path/to/repo/.codex/config.toml
cp starter/hooks.json /path/to/repo/.codex/hooks.json
cp -R starter/aide /path/to/repo/.codex/aideThis uses the same starter layout, but it does not apply the installer's merge and preservation behavior automatically.
3. Install with AI
Use this when you want a coding agent to do the setup in the current repository.
Give your agent this instruction:
Follow https://raw.githubusercontent.com/icellus/codex-aide/master/INSTALL.md to install codex-aide into the current repository.The install guide lives in INSTALL.md.
The package ships this starter layout:
starter/AGENTS.md
starter/aide/AGENTS.md
starter/aide/**The installer maps it into the target repository like this:
starter/AGENTS.md -> <repo>/AGENTS.md
starter/config.toml -> <repo>/.codex/config.toml
starter/hooks.json -> <repo>/.codex/hooks.json
starter/aide/AGENTS.md -> <repo>/.codex/aide/AGENTS.md
starter/aide/** -> <repo>/.codex/aide/**The goal is to keep the repository root light while keeping codex-aide runtime files together under .codex/aide/.
For Codex CLI hook-driven runtime syncing and delegated subagent routing, the installer also materializes .codex/hooks.json and seeds .codex/config.toml with codex_hooks = true plus multi_agent = true. If your Codex setup ignores repository-local config.toml, enable both features in ~/.codex/config.toml or launch Codex with codex --enable codex_hooks --enable multi_agent.
codex-aide is for Codex-based repository workflows that want a governed runtime shape. It is not a standalone GUI product and it is not a generic prompt pack.
To get value from the installed runtime, work from:
- Codex CLI
- another client that reads repository instructions and works against the installed runtime files
If Codex is already part of how you work in the repository, codex-aide is meant to tighten that workflow, not replace it with a separate product.
If the client ignores repository instructions or never touches the installed runtime tree, codex-aide will not behave as intended.
Compatibility
codex-aide can live alongside other installed skills. Its runtime files, workflow state, and repository-level structure stay grouped under .codex/aide/, so coexistence is fine by default.
In practice, this is a good fit when:
- you want Codex work to follow a clearer repository structure
- other skills can coexist without becoming the default owners of
codex-aidefiles and decisions - you want one installable workflow baseline instead of repeating setup by hand
This is usually not a good fit when:
- the client ignores repository instructions or installed runtime files
- another system also wants to become the repository-level default authority for the same route, state, or governance decisions
- another skill is expected to take over
.codex/aide/**as its own default write surface - you only want a lightweight prompt snippet rather than an installed repository workflow
Some repository-structure ideas here were informed by community work, including agents-zone-skillset.
🛠 For Maintainers
If you are maintaining this repository itself, start from a git checkout of codex-aide and run the repository checks there.
git clone https://github.com/icellus/codex-aide.git
cd codex-aide
node scripts/validate-codex-aide-dev.mjs full
npm pack --dry-runLicense
MIT
