Resources
1Install
npx skillscat add rexleimo/rex-skills/hybrid-executor Install via the SkillsCat registry.
About this skill
This skill enables agents to delegate tasks to Claude for code refactoring or Gemini for long-context analysis via shell commands. It addresses the limitation of single-model capabilities by allowing task-appropriate model selection. Use it when a task specifically benefits from Claude's code optimization or Gemini's extended context processing.
SKILL.md
混合执行指令
当你判断当前任务更适合其他模型时,请通过 shell 运行以下指令:
调用 Claude Code 执行复杂重构:
! claude -p "请重构以下代码并优化性能:$ARGUMENTS"调用 Gemini CLI 分析大规模文档或日志:
! gemini -p "分析这些日志并寻找异常:$ARGUMENTS"获取输出并整合:
将上述命令的返回结果读取到当前会话中,并向用户提供最终建议。
(注:Codex 会自动解析 $ARGUMENTS 为你输入的参数。)