Skip to content

OpenAI Codex CLI

Skill Description Page
architect Plan complex Codex work as a policy-routed execution kit. architect
assess-improvement Assess an existing repository for a small, evidence-backed improvement opportunity and produce a scoped findings report and handoff briefs. Use for evidence-driven improvement planning, including multi-harness Polytropos assessments. Not for implementing or activating a change. assess-improvement
bench-routing Compare benchmark priors with central Codex worker-role assignments. bench-routing
context-travel Use when a kit task needs a bounded, read-only lifecycle briefing, source explanation, or comparison of supplied validated views. context-travel
context-weight Analyze how Codex context grows, what resident instructions cost, and where fidelity stops. Use for context-window pressure, growth curves, loaded-surface audits, or compaction questions. context-weight
doctor Diagnose Codex plugin, policy, app configuration, agents, skills, and managed-install state without changing it. doctor
effort Choose a data-derived reasoning effort for a policy-routed Codex run. effort
escalate Run verification-gated Codex recovery through the central execution driver. escalate
execute Run a prepared Codex kit through central policy, worker verification, and Astra acceptance. execute
frontier-check Decide whether a task needs Astra orchestration or a policy-selected worker. frontier-check
graphify Build and inspect an offline local knowledge graph of a repository with the optional external graphify CLI. Use for symbol lookup, call structure, dependency or impact analysis, repository mapping, or grounding architecture work in an unfamiliar codebase. graphify
journal Generate the daily work journal — collect today's AI usage across Claude Code, Copilot CLI, and Codex CLI plus git activity into a digest, then write the narrative, technical, and next-day-plan summaries. Use when the user asks for their work journal, daily summary, "what did I do today", or to plan tomorrow. journal
memory Recall a small, relevance-gated set of private local facts and review their staleness. Use when durable project context may help but context quality and privacy must stay bounded. memory
repo-bench Plan Codex model benchmarks against real work mined from a repository, with subscription-safe burn and API-equivalent proxy reporting. repo-bench
route Estimate a Codex task and preview its central policy worker assignment. route
setup Configure Codex CLI's native status line to show model, context, estimated thread cost when available, rate limits, and token usage. Use when the user asks to set up or change the Polytropos-style Codex status line. setup
update Check and refresh Polytropos harness installs and generated mirrors with the repository's updater. Use for install freshness, bundle drift, or an explicitly requested refresh; checking is read-only and always comes first. update
usage Analyze historical Codex CLI activity from local session logs, read-only — honestly unpriced or labeled-proxy. Use when the user asks what they've used, burned, or spent in Codex. usage

Using these skills

Installing

The Codex side is a repo-local plugin, so Codex loads it from the checkout rather than from a copied install:

  1. Open this repository in Codex and restart Codex so it discovers the repo marketplace at .agents/plugins/marketplace.json.
  2. Open /plugins, find Polytropos Local, and install and enable Polytropos.
  3. Open /skills and confirm the skills above appear.

If something does not show up, $doctor diagnoses the install read-only before you change anything.

Invoking a skill

Ask for one explicitly with $name — $route, $execute, $doctor — or simply describe what you want and let Codex select a skill by matching your request against the skill descriptions. Note the sigil: $route is the canonical form, not a bare /route. Custom prompts under codex/prompts/ are deprecated compatibility mirrors kept for older CLI workflows; they are generated, never a workflow source.

Agents are a separate, optional surface

Installing the plugin does not install the agents. The four optional role agents are previewed and installed explicitly, and preview is byte-read-only:

python3 bin/harness_select.py install --harness codex --repo-root . --codex-home <codex-home> --components plugin,agents --agent-scope project --dry-run
python3 bin/harness_select.py install --harness codex --repo-root . --codex-home <codex-home> --components plugin,agents --agent-scope project

Project-scoped agents land in this checkout's .codex/agents/; --agent-scope user puts them under the Codex home you supply instead. Start a new task after changing agents, then use /agent to select or inspect a role. The agents deliberately carry no model or reasoning-effort pin — explicit delegation or the parent task chooses those.

Treat /plugins, /skills, and /agent in whichever Codex surface you are using (desktop, CLI, or IDE) as authoritative; support for each can evolve independently.

Where to go next

  • route is the front door; doctor is what to run when the install looks wrong.
  • Choose a skill — every skill by situation, with the skills that pair well with it.
  • Deep dive: Codex harness — what loads where, the install and refresh command set, and the ownership rules that keep your edits.
  • Parity matrix — why this roster differs from the other two.