多代理设置

配置 Skill Seekers 与 Claude、Copilot、Codex 和自定义代理。

支持的代理

代理CLI 标志要求
Claude Code--agent claudeClaude Max 订阅
GitHub Copilot--agent copilotCopilot 订阅
OpenAI Codex--agent codexOpenAI API 密钥
OpenCode--agent opencodeOpenCode CLI
自定义--agent custom自定义命令

快速设置

Claude Code (默认)

# 已随 MCP 安装
skill-seekers enhance output/react/ --agent claude

GitHub Copilot

# 安装 Copilot CLI
gh extension install github/copilot

# 与 Skill Seekers 一起使用
skill-seekers enhance output/react/ --agent copilot

OpenAI Codex

# 设置 API 密钥
export OPENAI_API_KEY=sk-...

# 使用 Codex
skill-seekers enhance output/react/ --agent codex

自定义代理

# 任何 CLI 工具
skill-seekers enhance output/react/ \
  --agent custom \
  --agent-cmd "my-ai-tool {prompt_file}"

环境变量

# 默认代理
export SKILL_SEEKER_AGENT=claude

# 自定义命令
export SKILL_SEEKER_AGENT_CMD="my-tool {prompt_file}"

CI/CD 集成

# 使用不同代理的 GitHub Actions
strategy:
  matrix:
    agent: [claude, copilot, codex]
    
steps:
  - run: skill-seekers enhance output/ --agent ${{ matrix.agent }}

比较

特性ClaudeCopilotCodexOpenCode
成本Max 订阅Copilot 订阅API 付费免费
速度中等中等
质量中等
离线