Analyze a project's past Codex sessions, memory files, and existing local skills to recommend the highest-value skills to create or update. Use when a user asks what skills a project needs, wants skill ideas grounded in real project history, wants an audit of current project-local skills, or wants recommendations for updating stale or incomplete skills instead of creating duplicates.
AGENTS.md, README.md, roadmap/ledger files, and local docs that define workflows or validation expectations.$CODEX_HOME when set, otherwise default to ~/.codex.
Use these locations:$CODEX_HOME/memories/MEMORY.md or ~/.codex/memories/MEMORY.md$CODEX_HOME/memories/rollout_summaries/$CODEX_HOME/sessions/ or ~/.codex/sessions/MEMORY.md for:cwd.agents/skills.codex/skillsskills
Read both SKILL.md and agents/openai.yaml when present.new skill from update existing skill.
Recommend an update when an existing skill is already the right bucket but has stale triggers, missing guardrails, outdated paths, weak validation instructions, or incomplete scope.
Recommend a new skill only when the workflow is distinct enough that stretching an existing skill would make it vague or confusing.$CODEX_HOME/skills and $CODEX_HOME/skills/public to avoid proposing project-local skills for workflows already solved well by a generic shared skill.
Do not reject a project-local skill just because a global skill exists; project-specific guardrails can still justify a local specialization.MEMORY.md with rg using the repo name, basename, and cwd.memories/rollout_summaries/.cwd, or keywords match the current project.sessions/ JSONL files if rollout summaries are missing a concrete detail.cwdnew skill should correspond to a repeated workflow, not just a repeated topic.skill update should correspond to a workflow already covered by a local skill whose triggers, guardrails, or validation instructions no longer match the recorded sessions.SKILL.md and agents/openai.yaml drift from each other$CODEX_HOME/memories/MEMORY.md or ~/.codex/memories/MEMORY.md$CODEX_HOME/sessions or ~/.codex/sessions JSONL files only if summaries are insufficient./.agents/skills/*/SKILL.md./.agents/skills/*/agents/openai.yaml./.codex/skills/*/SKILL.md./skills/*/SKILL.mdAGENTS.mdREADME.mdExisting skills
List the project-local skills found and the main workflow each one covers.Suggested updates
For each update candidate, include:Suggested new skills
For each new skill, include:Priority order
Rank the top recommendations by expected value.