openai / openai/codex-plugin-cc
codex:rescue skill init consumes ~20% of session usage budget before actual work
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 33.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Bug Report
Plugin Version
@openai/codex-plugin-ccv1.0.1
Environment
- Claude Code CLI (Opus 4.6, 1M context)
- macOS (Darwin 25.3.0, Apple Silicon)
Description
When a code-reviewer agent calls Skill("codex:rescue") during a multi-pass code review, the initialization phase alone consumes approximately 20% of the Claude Code session usage budget before any actual review work begins.
In our case, the Codex call then hit an API rate limit — resulting in zero review output for ~20% usage cost.
Steps to Reproduce
- Start a Claude Code session with Opus model
- Spawn a code-reviewer agent within a team
- Code-reviewer calls
Skill("codex:rescue")with a list of 6 changed files and review instructions - Observe usage consumption during the init/setup phase
Expected Behavior
Plugin initialization should be lightweight. The bulk of usage should come from the actual review task execution, not the setup phase.
Actual Behavior
- Init phase consumed ~20% of session usage budget
- After init, the actual Codex API call hit a rate limit
- Net result: 20% usage burned, zero review output
- The plugin appears to load excessive context or make redundant API calls during setup
Impact
This makes codex:rescue impractical for routine code reviews — the init cost alone is prohibitive, especially when the actual review may fail due to rate limits after that cost is already paid.
Workaround
Skipping Skill("codex:rescue") entirely and relying on self-review or spawning a separate review agent instead.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin at the Skill("codex:rescue") initialization and setup path used by the code-reviewer agent, and trace what context loading or API calls occur before the review request. Reproduce with six changed files and the stated review instructions; done means initialization is lightweight and the review does not spend the reported budget on setup or redundant calls before execution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100