Orchestrates a three-AI engineering loop: Claude plans, Codex validates, Cursor implements. Useful for multi-agent code generation with sequential validation.
Ships in bear2u-my-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill implements a 3-way sequential validation engineering loop:
AskUserQuestion):
gpt-5 or gpt-5-codexlow, medium, or high echo "Review this implementation plan and identify any issues:
[Claude's plan here]
Check for:
- Logic errors
- Missing edge cases
- Architecture flaws
- Security concerns" | codex exec -m <model> --config model_reasoning_effort="<effort>" --sandbox read-only
If Codex finds issues in the plan:
AskUserQuestion): "Should I revise the plan and re-validate, or proceed with implementation?"Once the plan is validated by Codex:
Ask user (via AskUserQuestion): "Do you want to start a new Cursor session or resume an existing one?"
If resuming:
# List available sessions
cursor-agent ls
# Let user select session ID
# Store session ID for subsequent calls
AskUserQuestion): Which Cursor model to use (e.g., composer-1, claude-3.5-sonnet, gpt-4o)For new session:
cursor-agent --model "<model-name>" -p --force "Implement this plan:
[Validated plan here]
Please implement the code following these specifications exactly."
For resumed session:
cursor-agent --resume="<session-id>" -p --force "Continue implementation:
[Validated plan here]"
After Cursor implements:
echo "Review this implementation for:
- Bugs and logic errors
- Performance issues
- Security vulnerabilities
- Best practices violations
- Code quality concerns
Files modified: [list of files]
Implementation summary: [what Cursor did]" | codex exec --sandbox read-only
After Codex code review:
If issues are found (by Codex or Claude):
# IMPORTANT: Use --resume with the stored session ID
cursor-agent --resume="<session-id>" -p --force "Fix these issues:
[Detailed fix plan]
Issues from Codex: [list]
Issues from Claude: [list]"
--resume with same session ID for iterative fixescursor-agent ls to find previous sessions| Phase | Who | Command Pattern | Purpose |
|---|---|---|---|
| 1. Plan | Claude | TodoWrite, Read, analysis tools | Claude creates detailed plan |
| 2. Validate plan | Codex | echo "plan" | codex exec -m <model> --config model_reasoning_effort="<effort>" --sandbox read-only | Codex validates logic/security |
| 3. Refine | Claude | Analyze Codex feedback, update plan | Claude fixes plan issues |
| 4. Session setup | Claude + User | Ask new/resume, cursor-agent ls if needed | Setup or resume Cursor session |
| 5. Implement | Cursor | cursor-agent --model "<model>" -p --force "prompt" OR cursor-agent --resume="<id>" -p --force "prompt" | Cursor implements validated plan |
| 6. Review code | Codex | echo "review" | codex exec --sandbox read-only | Codex reviews for bugs/performance |
| 7. Final review | Claude | Read tool, analysis | Claude final architectural check |
| 8. Fix plan | Claude | Create detailed fix plan | Claude plans fixes from all feedback |
| 9. Apply fixes | Cursor | cursor-agent --resume="<id>" -p --force "fixes" | Cursor implements fixes in same session |
| 10. Re-review | Codex + Claude | Repeat phases 6-7 | Validate fixes until perfect |
AskUserQuestion if:
1. Plan (Claude)
↓
2. Validate Plan (Codex) → if issues → refine plan → repeat
↓
3. Implement (Cursor)
↓
4. Code Review (Codex) → captures bugs/performance issues
↓
5. Final Review (Claude) → architectural check
↓
6. Issues found? → Fix Plan (Claude) → Implement Fixes (Cursor) → back to step 4
↓
7. All passed? → Done! ✅
This creates a triple-validation, self-correcting, high-quality engineering system where:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/bear2u-my-skills:codex-claude-cursor-loopfrom bear2u-my-skills
bear2u-my-skills@cascade-content-creation-misc-1 is listed by joshuarweaver/cascade-content-creation-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin bear2u-my-skills22 skills in this plugin
/card-news-generatorCreate 600x600 Instagram-style card news series automatically with optional background images. User provides topic, colors, and optional images - Claude generates content and creates multiple cards with proper text wrapping./card-news-generator-v2Create 600x600 Instagram-style card news series automatically with optional background images. User provides topic, colors, and optional images - Claude generates content and creates multiple cards with proper text wrapping./chatgpt-web-researchUse the user's already signed-in official ChatGPT website account, especially GPT-5.5 Pro / ChatGPT Pro, to perform product research, market research, competitor research, second-opinion research, or any browser-only work. Load chrome:control-chrome first, then computer-use:computer-use for fallback. Save verified Markdown reports. Do not use free-account routes, OpenAI API, local models, web search, or memory when the real ChatGPT web page is available./code-changelogAI가 만든 모든 코드 변경사항을 reviews 폴더에 기록하고 간단한 HTML 뷰어로 웹 브라우저에서 실시간 확인할 수 있습니다. 매 수정마다 문서가 생성되고 Python 서버로 즉시 확인 가능합니다./code-prompt-coachPrompt CoachAnalyze your Claude Code session logs to improve prompt quality, optimize tool usage, and become a better AI-native engineer./codexUse when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editingOther plugins' skills for the same job