Dev & Engineering ✓ OpenAI · Official context-managementprompt-cachingtoken-budgetscode-architecture

Context Governance

Keep coding-agent context incremental, cache-stable, and strictly bounded.

FollowSkills review · FSRS-2.0
Not recommended
35/ 100 5-point scale 1.8 / 5
Trust13 / 25 · 2.6/5

The skill requires incremental context construction, forbids history rewriting, imposes a 10K-token item cap, and requires ContextualUserFragment structs, showing some boundary and capacity controls. It does not specify user confirmation, sensitive-data handling, isolation, data-flow disclosure, rollback, or external-effect controls, so points are deducted.

Reliability5 / 20 · 1.3/5

The rules are broadly consistent and include hard limits, but there is no implementation, dependency guidance, abnormal-input handling, failure feedback, or key-path test evidence. The score remains within the static-review ceiling.

Adaptability5 / 15 · 1.7/5

The name and body identify model-visible context as the target area, but inputs, outputs, trigger conditions, non-fit boundaries, Chinese-language support, and environment fit are unspecified. This limits accurate invocation.

Convention6 / 15 · 2.0/5

The file is concise and readable with explicit rules, but lacks installation or dependency notes, examples, FAQs, known limitations, versioning, changelog, maintenance ownership, and update instructions. The repository license and stated OpenAI provenance provide governance context but do not fill these skill-level gaps.

Effectiveness4 / 15 · 1.3/5

The rules address context growth, cache misses, item-size limits, and structural integration, so they may provide engineering value. However, no implementation or verifiable output is supplied, so task completion cannot be established and substantial engineering work remains.

Verifiability2 / 10 · 1.0/5

The text is auditable as a static policy, but contains no test suite, CI coverage, third-party execution evidence, or corroborating sources. The assessment therefore relies on a single file and receives a very low score.

Evidence confidence:Low Reviewed Jul 19, 2026 Reviewed revision 678157acaa81
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • This file reads more like an internal design constraint than a directly callable skill; implementation location, invocation, input/output contracts, and failure handling are missing.
  • It does not explain how credentials, personal data, or secrets in context are handled, nor does it define confirmation or rollback mechanisms.
  • The required trait is named without API, version, or test evidence, so integration feasibility is unverified.
See the full review method →

What it does & when to use it

This skill defines rules for maintaining the model context used by Codex. Message history must grow incrementally rather than being rewritten. Every injected item needs a bounded size and hard cap, with no individual item larger than 10K tokens. New items that may exceed 1K tokens must be marked P0 for additional manual review.

It specifies context-management constraints: preserve history, avoid frequent context changes that cause cache misses, bound every injected item, and require injected fragments to be structs in core/context that implement the ContextualUserFragment trait.

  1. Codex engineers maintaining a context pipeline that must preserve incremental message history.
  2. Developers optimizing prompt-cache stability by limiting unnecessary context changes.
  3. Engineers designing context-fragment data structures that need a shared type and trait contract.
  4. Teams reviewing large context additions that may cross the 1K-token P0 threshold.

Pros & cons

Pros
  • Sets a clear 10K-token maximum for individual injected items.
  • Addresses correctness, cache stability, and human review together.
  • Requires a consistent `core/context` struct and trait implementation.
Limitations
  • Provides constraints but no implementation code or migration procedure.
  • Does not explain token counting, hard-cap enforcement, or the P0 review process.
  • The source provides no independent test suite or runtime validation evidence for this skill.

How to install

The skill is located at openai/codex/.codex/skills/code-review-context/SKILL.md; no standalone installation procedure is documented. To install the Codex CLI collection, run curl -fsSL https://chatgpt.com/codex/install.sh | sh on macOS or Linux, or powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" on Windows. It is also available through npm install -g @openai/codex.

How to use

Read and apply it as a repository-level specification for context design. The source does not document a standalone trigger command, parameters, example prompt, or separate integration workflow.

FAQ

Does the skill automatically summarize or rewrite context?
No. It explicitly prohibits history rewriting and does not describe automatic summarization, compression, or cleanup.
What does the 10K-token limit apply to?
It applies to each individual item injected into model context; the skill also requires the overall set of injected items to have bounded size and a hard cap.
Does it require network access or MCP?
The SKILL.md specifies no network calls, MCP server, or other runtime dependency.

More skills from this repository

All from openai/codex

Dev & Engineering ✓ OpenAI · Official

PR Babysitter

Continuously track a GitHub pull request’s reviews, CI, and mergeability while handling safe fixes.

Dev & Engineering ✓ OpenAI · Official

Codex Issue Digest

Turns recent openai/codex bugs and enhancement requests into focused, owner-ready digests.

Design & Frontend ✓ OpenAI · Official

Codex Image Generation

Generate, edit, and prepare practical raster image assets directly within a project workflow.

Dev & Engineering ✓ OpenAI · Official

Codex Plugin Builder

Scaffold, validate, and maintain standards-shaped plugins for Codex.

Dev & Engineering ✓ OpenAI · Official

Codex Skill Installer

Install curated or repository-hosted Codex skills without manually assembling their files and paths.

Dev & Engineering ✓ OpenAI · Official

OpenAI Official Docs Assistant

Provides current, official-source guidance for OpenAI products, APIs, Codex, and model migrations.

Dev & Engineering ✓ OpenAI · Official

Review Agent Code Review Skill

Find actionable regressions in code changes through a read-only, defect-first review.

Dev & Engineering ✓ OpenAI · Official

Codex Pull Request Editor

Professionally update one or more GitHub pull request titles and bodies around motivation, net changes, and verification.

Dev & Engineering ✓ OpenAI · Official

Remote Executor Integration Tests

Validate Codex integration behavior across local and remote execution environments.

Dev & Engineering ✓ OpenAI · Official

V8 Version Maintainer

Updates Codex’s pinned V8 versions and validates release-candidate and build-failure paths.

Dev & Engineering ✓ OpenAI · Official

Change Size Review Guide

Keep code changes reviewable by enforcing practical size limits and staging oversized work.

Dev & Engineering ✓ OpenAI · Official

Codex Path Types Guide

Choose Rust path types that preserve cross-platform URI handling and local filesystem behavior in Codex.

Dev & Engineering ✓ OpenAI · Official

Skill Creator Guide

A practical guide to designing, validating, and refining reusable Agent Skills.

Automation & Ops ✓ OpenAI · Official

CI Push Approval Assistant

Handle CI configuration push blocks and approval handoffs

Dev & Engineering ✓ OpenAI · Official

Code Review and Testing Guidance

Helps coding agents choose and structure tests for logic changes.

Dev & Engineering ✓ OpenAI · Official

Codex Bug Triage Assistant

Determines whether an openai/codex GitHub bug should be verified, clarified, or explained as expected behavior.

Dev & Engineering ✓ OpenAI · Official

Breaking Change Reviewer

Systematically detect compatibility risks across external integration surfaces before they reach users.

Dev & Engineering ✓ OpenAI · Official

Codex TUI Interactive Testing Guide

A focused workflow for launching Codex TUI and validating changes with trace logs.

Dev & Engineering ✓ OpenAI · Official

Pull Request Code Review

Orchestrate a final pull request review and consolidate every actionable finding from specialized reviewers.

Related skills