Labsco
openai logo

code-review-context

✓ Official95,500

by openai · part of openai/codex

Model visible context

🔥🔥FreeQuick setup
🔒 Repo-maintenance skill. It exists to help maintain openai/codex itself — it's only useful if you contribute code to that project.

Model visible context

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.


name: code-review-context description: Model visible context

Codex maintains a context (history of messages) that is sent to the model in inference requests.

  1. No history rewrite - the context must be built up incrementally.
  2. Avoid frequent changes to context that cause cache misses.
  3. No unbounded items - everything injected in the model context must have a bounded size and a hard cap.
  4. No items larger than 10K tokens.
  5. Highlight new individual items that can cross >1k tokens as P0. These need an additional manual review.
  6. All injected fragments must be defined as structs in core/context and implement ContextualUserFragment trait