codeagent by cacr92/wereply
npx skills add https://github.com/cacr92/wereply --skill codeagent使用可插拔的 AI 后端(Codex、Claude、Gemini)执行 codeagent-wrapper 命令。支持通过 @ 语法引用文件、选择后端并行执行任务以及可配置的安全控制。
HEREDOC 语法(推荐):
codeagent-wrapper - [working_dir] <<'EOF'
<任务内容>
EOF
选择后端:
codeagent-wrapper --backend claude - <<'EOF'
<任务内容>
EOF
简单任务:
codeagent-wrapper "简单任务" [working_dir]
codeagent-wrapper --backend gemini "简单任务"
| 后端 | 命令 | 描述 | 最佳用途 |
|---|---|---|---|
Execute codeagent-wrapper commands with pluggable AI backends (Codex, Claude, Gemini). Supports file references via @ syntax, parallel task execution with backend selection, and configurable security controls.
HEREDOC syntax (recommended):
codeagent-wrapper - [working_dir] <<'EOF'
<task content here>
EOF
With backend selection :
codeagent-wrapper --backend claude - <<'EOF'
<task content here>
EOF
Simple tasks :
codeagent-wrapper "simple task" [working_dir]
codeagent-wrapper --backend gemini "simple task"
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| codex |
--backend codex |
| OpenAI Codex(默认) |
| 代码分析、复杂开发 |
| claude | --backend claude | Anthropic Claude | 简单任务、文档编写、提示工程 |
| gemini | --backend gemini | Google Gemini | UI/UX 原型设计 |
Codex(默认):
Claude:
Gemini:
后端切换:
task(必需):任务描述,支持 @file 引用working_dir(可选):工作目录(默认:当前目录)--backend(可选):选择 AI 后端(codex/claude/gemini,默认:codex)
--dangerously-skip-permissions智能体响应文本...
---
SESSION_ID: 019a7247-ac9d-71f3-89e2-a823dbd8fd14
# 使用默认后端恢复
codeagent-wrapper resume <session_id> - <<'EOF'
<后续任务>
EOF
# 使用特定后端恢复
codeagent-wrapper --backend claude resume <session_id> - <<'EOF'
<后续任务>
EOF
默认(摘要模式 - 节省上下文):
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
---CONTENT---
任务内容
---TASK---
id: task2
dependencies: task1
---CONTENT---
依赖任务
EOF
完整输出模式(用于调试):
codeagent-wrapper --parallel --full-output <<'EOF'
...
EOF
输出模式:
--full-output):完整的任务消息。仅在调试特定失败时使用。为每个任务指定后端:
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
---CONTENT---
分析代码结构
---TASK---
id: task2
backend: claude
dependencies: task1
---CONTENT---
基于分析设计架构
---TASK---
id: task3
backend: gemini
dependencies: task2
---CONTENT---
生成实现代码
EOF
并发控制:设置 CODEAGENT_MAX_PARALLEL_WORKERS 以限制并发任务数(默认:无限制)。
CODEX_TIMEOUT:覆盖超时时间(毫秒)(默认:7200000 = 2 小时)CODEAGENT_SKIP_PERMISSIONS:控制 Claude CLI 权限检查
true/1 以添加 --dangerously-skip-permissions(默认:禁用)CODEAGENT_MAX_PARALLEL_WORKERS:限制并行模式下的并发任务数(默认:无限制,推荐:8)单个任务:
Bash 工具参数:
- command: codeagent-wrapper --backend <backend> - [working_dir] <<'EOF'
<任务内容>
EOF
- timeout: 7200000
- description: <简要描述>
并行任务:
Bash 工具参数:
- command: codeagent-wrapper --parallel --backend <backend> <<'EOF'
---TASK---
id: task_id
backend: <backend> # 可选,覆盖全局设置
workdir: /path
dependencies: dep1, dep2
---CONTENT---
任务内容
EOF
- timeout: 7200000
- description: <简要描述>
CODEAGENT_SKIP_PERMISSIONS=true 或传递 --skip-permissionsCODEAGENT_MAX_PARALLEL_WORKERS 以防止资源耗尽每周安装数
1
仓库
首次出现
今天
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
| Backend | Command | Description | Best For |
|---|
| codex | --backend codex | OpenAI Codex (default) | Code analysis, complex development |
| claude | --backend claude | Anthropic Claude | Simple tasks, documentation, prompts |
| gemini | --backend gemini | Google Gemini | UI/UX prototyping |
Codex (default):
Claude :
Gemini :
Backend Switching :
task (required): Task description, supports @file referencesworking_dir (optional): Working directory (default: current)--backend (optional): Select AI backend (codex/claude/gemini, default: codex)
--dangerously-skip-permissions when explicitly enabledAgent response text here...
---
SESSION_ID: 019a7247-ac9d-71f3-89e2-a823dbd8fd14
# Resume with default backend
codeagent-wrapper resume <session_id> - <<'EOF'
<follow-up task>
EOF
# Resume with specific backend
codeagent-wrapper --backend claude resume <session_id> - <<'EOF'
<follow-up task>
EOF
Default (summary mode - context-efficient):
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
---CONTENT---
task content
---TASK---
id: task2
dependencies: task1
---CONTENT---
dependent task
EOF
Full output mode (for debugging):
codeagent-wrapper --parallel --full-output <<'EOF'
...
EOF
Output Modes:
--full-output): Complete task messages. Use only when debugging specific failures.With per-task backend :
codeagent-wrapper --parallel <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
---CONTENT---
analyze code structure
---TASK---
id: task2
backend: claude
dependencies: task1
---CONTENT---
design architecture based on analysis
---TASK---
id: task3
backend: gemini
dependencies: task2
---CONTENT---
generate implementation code
EOF
Concurrency Control : Set CODEAGENT_MAX_PARALLEL_WORKERS to limit concurrent tasks (default: unlimited).
CODEX_TIMEOUT: Override timeout in milliseconds (default: 7200000 = 2 hours)CODEAGENT_SKIP_PERMISSIONS: Control Claude CLI permission checks
true/1 to add --dangerously-skip-permissions (default: disabled)CODEAGENT_MAX_PARALLEL_WORKERS: Limit concurrent tasks in parallel mode (default: unlimited, recommended: 8)Single Task :
Bash tool parameters:
- command: codeagent-wrapper --backend <backend> - [working_dir] <<'EOF'
<task content>
EOF
- timeout: 7200000
- description: <brief description>
Parallel Tasks :
Bash tool parameters:
- command: codeagent-wrapper --parallel --backend <backend> <<'EOF'
---TASK---
id: task_id
backend: <backend> # Optional, overrides global
workdir: /path
dependencies: dep1, dep2
---CONTENT---
task content
EOF
- timeout: 7200000
- description: <brief description>
CODEAGENT_SKIP_PERMISSIONS=true or pass --skip-permissionsCODEAGENT_MAX_PARALLEL_WORKERS in production to prevent resource exhaustionWeekly Installs
1
Repository
First Seen
Today
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
111,800 周安装
template-skill 模板技能 | Anthropic 官方技能模板 | 高效开发 AI 助手技能
17,700 周安装
Slack GIF 创建工具 - 优化表情符号和消息动画制作指南与Python代码库
17,900 周安装
网站架构规划指南:SEO优化与用户体验设计,打造高效网站结构
18,800 周安装
Expo网络请求与数据获取指南:React Query、缓存策略、API调试
19,300 周安装
Anthropic内部沟通技能:高效撰写3P更新、公司通讯、FAQ回复等内部文档
19,100 周安装
SEO/GEO 优化技能 - 全面优化网站,提升传统与 AI 搜索引擎可见性
20,200 周安装