openai / openai/codex-plugin-cc
Feature: auto-detect command based on workspace state
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 33.3k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Problem
Users must explicitly choose between /codex:review, /codex:adversarial-review, and /codex:rescue. In most cases, the right command is obvious from context: if there are uncommitted changes, you probably want a review; if you just asked for help with a task, you probably want rescue.
Proposal
Add /codex (no subcommand) with auto-detection:
| Workspace state | Selected command |
|---|---|
| Uncommitted changes or branch diff | review |
| User message contains task/fix/implement language | rescue |
| Ambiguous | Prompt user to choose |
This reduces friction for the most common workflows while still allowing explicit command selection when needed.
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
Start by tracing the existing /codex:review, /codex:adversarial-review, and /codex:rescue command entry points and how workspace state is exposed. Define the /codex selection flow for uncommitted changes or branch diffs, task/fix/implement language, and ambiguous requests; done means each case selects the documented command or prompts the user.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100