Codex Project Manager Init
Use this skill to initialize a repository for Codex Project Manager.
After this plugin is installed and enabled, this skill appears in the Codex slash command list. It is not a native /cpm-init command.
Workflow
- Inspect the current repository state:
AGENTS.md
memories/
.agents/skills/
.codex/hooks.json
- Ask the user for project rules to add to
AGENTS.md.- If
AGENTS.mdis missing, create it. - If
AGENTS.mdexists, append only missing rules to## Codex Project Manager Rules. - If the user provides no rules, skip
AGENTS.mdwrites.
- If
- Ask whether to create optional memory module names under
memories/.- Accept comma-separated or newline-separated module names.
- Module names are project-specific components.
- Create only
memories/<module>/; do not create fixed topic files. - Long-term memory entries belong at
memories/<module>/<topic>.mdafter the component and topic are clear. - If the user provides no modules, skip memory module creation.
- Ensure the project-local skills directory is
.agents/skills. - Ask before installing the optional hook into
.codex/hooks.json.- If
.codex/hooks.jsonalready exists, do not overwrite it; report that manual merge is required.
- If
- Run:
python3 codex-plugin-dev/plugins/codex-project-manager/scripts/project_manager/init.py \
--rules "<project rule>" \
--module "<module name>" \
--project-skills-dir .agents/skills
Add --rules once per project rule and --module once per requested module. Add --install-hook only after the user confirms hook installation.
- Summarize the JSON statuses for
agents,memories,project_skills, andhook. - Do not write global or personal memory.
Source: ruiatelsevier/codex-project-manager — distributed by TomeVault.