Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问clear审计异常

codex-claude-loopCodex Claude loop 搜索

Agent Skill

codex-claude-loop 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

727

周安装

30

GitHub Stars

836

下载量

238
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:codex-claude-loop(Codex Claude loop 搜索)
来源仓库:https://github.com/bear2u/my-skills
仓库路径:skills/codex-claude-loop
安装命令:
npx skills add https://github.com/bear2u/my-skills --skill codex-claude-loop
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bear2u/my-skills --skill codex-claude-loop

简介

codex-claude-loop 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它建立平衡的工程循环机制:Claude 负责架构规划与执行,Codex 负责验证与审查。
  • 通过持续互审机制确保双方工作质量,并在每次迭代后进行上下文交接。
  • 安装命令为 npx skills add https://github.com/bear2u/my-skills --skill codex-claude-loop,需确认双模型协同工作机制。
  • 使用前建议核实 Claude Code 与 Codex 的版本兼容性及会话管理机制。

SKILL.md

Codex-Claude Engineering Loop Skill

Core Workflow Philosophy

This skill implements a balanced engineering loop:

  • Claude Code: Architecture, planning, and execution
  • Codex: Validation and code review
  • Continuous Review: Each AI reviews the other's work
  • Context Handoff: Always continue with whoever last cleaned up

Phase 1: Planning with Claude Code

  1. Start by creating a detailed plan for the task
  2. Break down the implementation into clear steps
  3. Document assumptions and potential issues
  4. Output the plan in a structured format

Phase 2: Plan Validation with Codex

  1. Ask user (via AskUserQuestion):

- Model: gpt-5 or gpt-5-codex - Reasoning effort: low, medium, or high

  1. Send the plan to Codex for validation:
   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  --config model_reasoning_effort="" --sandbox read-only
  1. Capture Codex's feedback

Phase 3: Feedback Loop

If Codex finds issues:

  1. Summarize Codex's concerns to the user
  2. Refine the plan based on feedback
  3. Ask user (via AskUserQuestion): "Should I revise the plan and re-validate, or proceed with fixes?"
  4. Repeat Phase 2 if needed

Phase 4: Execution

Once the plan is validated:

  1. Claude implements the code using available tools (Edit, Write, Read, etc.)
  2. Break down implementation into manageable steps
  3. Execute each step carefully with proper error handling
  4. Document what was implemented

Phase 5: Cross-Review After Changes

After every change:

  1. Send Claude's implementation to Codex for review:

- Bug detection - Performance issues - Best practices validation - Security vulnerabilities

  1. Claude analyzes Codex's feedback and decides:

- Apply fixes immediately if issues are critical - Discuss with user if architectural changes needed - Document decisions made

Phase 6: Iterative Improvement

  1. After Codex review, Claude applies necessary fixes
  2. For significant changes, send back to Codex for re-validation
  3. Continue the loop until code quality standards are met
  4. Use codex exec resume --last to continue validation sessions:
   echo "Review the updated implementation" | codex exec resume --last

Note: Resume inherits all settings (model, reasoning, sandbox) from original session

Recovery When Issues Are Found

When Codex identifies problems:

  1. Claude analyzes the root cause
  2. Implements fixes using available tools
  3. Sends updated code back to Codex for verification
  4. Repeats until validation passes

When implementation errors occur:

  1. Claude reviews the error/issue
  2. Adjusts implementation strategy
  3. Re-validates with Codex before proceeding

Best Practices

  • Always validate plans before execution
  • Never skip cross-review after changes
  • Maintain clear handoff between AIs
  • Document who did what for context
  • Use resume to preserve session state

Command Reference

PhaseCommand PatternPurpose
Validate plan`echo "plan" \codex exec --sandbox read-only`Check logic before coding
ImplementClaude uses Edit/Write/Read toolsClaude implements the validated plan
Review code`echo "review changes" \codex exec --sandbox read-only`Codex validates Claude's implementation
Continue review`echo "next step" \codex exec resume --last`Continue validation session
Apply fixesClaude uses Edit/Write toolsClaude fixes issues found by Codex
Re-validate`echo "verify fixes" \codex exec resume --last`Codex re-checks after fixes

Error Handling

  1. Stop on non-zero exit codes from Codex
  2. Summarize Codex feedback and ask for direction via AskUserQuestion
  3. Before implementing changes, confirm approach with user if:

- Significant architectural changes needed - Multiple files will be affected - Breaking changes are required

  1. When Codex warnings appear, Claude evaluates severity and decides next steps

The Perfect Loop

Plan (Claude) → Validate Plan (Codex) → Feedback →
Implement (Claude) → Review Code (Codex) →
Fix Issues (Claude) → Re-validate (Codex) → Repeat until perfect

This creates a self-correcting, high-quality engineering system where:

  • Claude handles all code implementation and modifications
  • Codex provides validation, review, and quality assurance

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.57%
按下载量换算75

OpenCode

22.78%
按下载量换算54

Cursor

19.14%
按下载量换算46

Antigravity

13.63%
按下载量换算32

Gemini CLI

7.61%
按下载量换算18

windsurf

3.68%
按下载量换算9

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills