Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问clear审计异常

codeagentcodeagent 搜索

Agent Skill

codeagent 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

618

周安装

25

GitHub Stars

31

下载量

194
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/peterfile/devpilot-agents --skill codeagent

简介

用于复杂代码分析任务的 AI 后端编排。

  • 支持 Codex、Claude、Gemini 等多模型并行调度。
  • 采用 HEREDOC 语法传递任务内容,支持文件引用。
  • 内置安全控制与权限边界管理机制。codeagent 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 安装方式:github,通过 npx skills add 命令添加指定仓库技能。

SKILL.md

Codeagent Wrapper Integration

Overview

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.

When to Use

  • Complex code analysis requiring deep understanding
  • Large-scale refactoring across multiple files
  • Automated code generation with backend selection
  • Multi-agent orchestration workflows (codex for code, gemini for UI, codex-review for review)

Usage

HEREDOC syntax (recommended):

codeagent-wrapper - [working_dir] <<'EOF'
<task content here>
EOF

Sanity check (verify CLI is current):

codeagent-wrapper --version
codeagent-wrapper --help

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"

Backends

BackendCommandDescriptionBest For
codex--backend codexOpenAI Codex (default)Code implementation, code review, complex analysis, orchestration
claude--backend claudeAnthropic ClaudeSimple tasks, documentation, prompts
gemini--backend geminiGoogle GeminiUI/UX development, frontend components
opencode--backend opencodeOpenCode CLI (opencode run)Agent-driven runs, inner-loop orchestration decisions

⚠️ opencode backend does NOT support stdin input; prompts are passed as CLI args. Prefer short prompts + @path file references.

Backend Selection Guide

Codex (default, recommended for code + review):

  • Deep code understanding and complex logic analysis
  • Code review and quality assessment
  • Orchestration and coordination tasks
  • Example: "Review the implementation in @src/api for security issues and suggest improvements"

Claude:

  • Quick feature implementation with clear requirements
  • Technical documentation, API specs, README generation
  • Professional prompt engineering (e.g., product requirements, design specs)
  • Example: "Generate a comprehensive README for @package.json with installation, usage, and API docs"

Gemini (recommended for UI):

  • UI component scaffolding and layout prototyping
  • Design system implementation with style consistency
  • Interactive element generation with accessibility support
  • Frontend development (React, Vue, HTML/CSS)
  • Example: "Create a responsive dashboard layout with sidebar navigation and data visualization cards"

Multi-Agent Orchestration Pattern

For orchestrated workflows, use this backend assignment:

Task TypeBackendReason
Code ImplementationcodexPrimary code implementation agent
UI/FrontendgeminiSpecialized for visual components
Code ReviewcodexDeep analysis, quality assessment

Backend Switching:

  • Use codex for code implementation, gemini for UI, codex for review
  • Use per-task backend selection in parallel mode to optimize for each task's strengths

Parameters

  • task (required): Task description, supports @file references
  • working_dir (optional): Working directory (default: current)
  • --backend (optional): Select AI backend (codex/claude/gemini, default: codex)

- Note: Claude backend only adds --dangerously-skip-permissions when explicitly enabled

  • --skip-permissions / --dangerously-skip-permissions: For Claude backend only; disables permission prompts (use sparingly)
  • --tmux-session (optional): Enable tmux visualization mode for parallel execution
  • --tmux-attach (optional): Attach to tmux session after completion
  • --tmux-no-main-window (optional): Remove default main window in tmux sessions
  • --window-for (optional): Single-task mode only; route output to an existing task window
  • --state-file (optional): Path to AGENT_STATE.json for real-time status updates
  • --review (optional): Mark tasks as review tasks for state updates
  • --cleanup: Remove old wrapper logs

Return Format

Agent response text here...

---
SESSION_ID: 019a7247-ac9d-71f3-89e2-a823dbd8fd14

Resume Session

# 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

Parallel Execution

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:

  • Summary (default): Structured report with changes, output, verification, and review summary.
  • Full (--full-output): Complete task messages. Use only when debugging specific failures.

With per-task backend (orchestration pattern):

codeagent-wrapper --parallel --tmux-session orch-session --state-file AGENT_STATE.json <<'EOF'
---TASK---
id: task1
backend: codex
workdir: /path/to/dir
target_window: backend
---CONTENT---
Implement user authentication module
---TASK---
id: task2
backend: gemini
workdir: /path/to/dir
target_window: frontend
---CONTENT---
Create login form component with validation
---TASK---
id: task3
backend: codex
dependencies: task1, task2
target_window: review
---CONTENT---
Review implementation for security issues
EOF

Task metadata fields:

  • id: Unique task identifier (required)
  • backend: AI backend to use (codex/claude/gemini)
  • workdir: Working directory for the task
  • dependencies: Comma-separated task IDs that must complete first
  • target_window: tmux window name for grouping related tasks

Concurrency Control: Set CODEAGENT_MAX_PARALLEL_WORKERS to limit concurrent tasks (default: unlimited).

Environment Variables

  • CODEX_TIMEOUT: Override timeout in milliseconds (default: 7200000 = 2 hours)
  • CODEAGENT_ASCII_MODE: Use ASCII symbols instead of Unicode (PASS/WARN/FAIL)
  • CODEAGENT_SKIP_PERMISSIONS: Control Claude CLI permission checks

- For Claude backend: Set to true/1 to add --dangerously-skip-permissions (default: disabled) - For Codex/Gemini backends: Currently has no effect

  • CODEAGENT_OPENCODE_AGENT: OpenCode agent name (used by --backend opencode)
  • CODEAGENT_OPENCODE_MODEL: OpenCode model name (used by --backend opencode)
  • CODEAGENT_MAX_PARALLEL_WORKERS: Limit concurrent tasks in parallel mode (default: unlimited, recommended: 8)

🔒 CODEX_BYPASS_SANDBOX=true (Codex backend): bypasses approvals/sandbox in Codex CLI. Use only in trusted environments.

Invocation Pattern

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>

Security Best Practices

  • Claude Backend: Permission checks enabled by default

- To skip checks: set CODEAGENT_SKIP_PERMISSIONS=true or pass --skip-permissions

  • Concurrency Limits: Set CODEAGENT_MAX_PARALLEL_WORKERS in production to prevent resource exhaustion
  • Automation Context: This wrapper is designed for AI-driven automation where permission prompts would block execution

Recent Updates

  • tmux integration: --tmux-session flag for visual parallel execution
  • State file support: --state-file flag for AGENT_STATE.json real-time updates
  • Multi-backend support for all modes (workdir, resume, parallel)
  • Security controls with configurable permission checks
  • Concurrency limits with worker pool and fail-fast cancellation

Integration with Multi-Agent Orchestration

This skill integrates with the multi-agent-orchestrator skill for full orchestration workflows:

multi-agent-orchestrator
       │
       │ dispatch_batch.py
       ▼
codeagent-wrapper --parallel --tmux-session <session> --state-file AGENT_STATE.json
       │
       ├── codex (code tasks)
       ├── gemini (UI tasks)
       └── codex (review tasks)

See multi-agent-orchestrator skill for complete orchestration workflow.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

29.08%
按下载量换算56

OpenCode

22.53%
按下载量换算44

Codex

17.54%
按下载量换算34

Antigravity

13%
按下载量换算25

Cursor

6.7%
按下载量换算13

Gemini CLI

3.4%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills