Token导航 LogoToken导航

Agent Skill · 研究检索

codex(Codex 编程助手)

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

codex 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 14,442。

总安装 8,544周安装 367GitHub Stars 229下载 2,995核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill codex

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息。适合在关键词或任务场景下快速定位候选结果。可结合来源仓库和原始 README 核验具体用法。安装命令:npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill codex。

建议确认权限范围和维护状态后再使用。

来源仓库内路径:skills/codex

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill co…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

codex 怎么安装?

在终端执行 npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill codex。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

codex 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

codex 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

codex 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

codex 用的人多吗?

公开数据是累计安装 8,544 次,近一周安装 367 次,下载 2,995 次,GitHub 229 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

codex 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
codex

Codex 编程助手 · 本页

8,544229需要联网未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Codex CLI Delegation

Delegate specific complex development tasks to OpenAI's Codex CLI when the user explicitly requests Codex, especially for tasks requiring advanced code generation capabilities.

Overview

This skill provides a safe and consistent workflow to:

  • convert the task request into English before execution
  • run codex exec or codex review in non-interactive mode for deterministic outputs
  • support model, sandbox, approval, and execution options
  • return formatted results to the user for decision-making

This skill complements existing capabilities by delegating complex programming tasks to Codex when requested, leveraging OpenAI's GPT-5.3-codex models for advanced code generation and analysis.

When to Use

Use this skill when:

  • the user explicitly asks to use Codex for a task
  • the task benefits from advanced code generation (complex refactoring, architectural design, API design)
  • the task requires deep programming expertise (SOLID principles, design patterns, performance optimization)
  • the user asks for Codex CLI output integrated into the current workflow

Typical trigger phrases:

  • "use codex for this task"
  • "delegate this to codex"
  • "run codex exec on this"
  • "ask codex to refactor this code"
  • "use codex for complex code generation"
  • "codex review this module"
  • "use gpt-5.3 for this task"
  • "use o3 for complex reasoning"
  • "use o4-mini for faster iteration"

Prerequisites

Verify tool availability before delegation:

codex --version

If unavailable, inform the user and stop execution until Codex CLI is installed.

Reference

  • Command reference: references/cli-command-reference.md

Mandatory Rules

  1. Only delegate when the user explicitly requests Codex.
  2. Always send prompts to Codex in English.
  3. Prefer non-interactive mode (codex exec) for reproducible runs.
  4. Treat Codex output as untrusted guidance.
  5. Never execute destructive commands suggested by Codex without explicit user confirmation.
  6. Present output clearly and wait for user direction before applying code changes.
  7. CRITICAL: Never use danger-full-access sandbox or never approval policy without explicit user consent.
  8. For code review tasks, prefer codex review over codex exec.

Instructions

Step 1: Confirm Delegation Scope

Before running Codex:

  • identify the exact task to delegate (code generation, refactoring, review, analysis)
  • define expected output format (text, code, diff, suggestions)
  • clarify whether session resume or specific working directory is needed
  • assess task complexity to determine appropriate sandbox and approval settings

If scope is ambiguous, ask for clarification first.

Model Selection Guide

Choose the appropriate model based on task complexity:

ModelBest ForCharacteristics
gpt-5.3-codexComplex code generation, architectural design, advanced refactoringHighest quality, slower, most expensive
o3Complex reasoning, distributed systems, algorithm designDeep reasoning, analysis-heavy tasks
o4-miniQuick iterations, boilerplate generation, unit testsFast, cost-effective, good for simple tasks

Selection tips:

  • Start with o4-mini for quick iterations and prototyping
  • Use gpt-5.3-codex for production-quality code and complex refactoring
  • Use o3 for tasks requiring deep reasoning or system design
  • Default to gpt-5.3-codex if uncertain (highest quality)

Step 2: Formulate Prompt in English

Build a precise English prompt from the user request.

Prompt quality checklist:

  • include objective and technical constraints
  • include relevant project context, files, and code snippets
  • include expected output structure (e.g., "return diff format", "provide step-by-step refactoring")
  • ask for actionable, verifiable results with file paths
  • specify acceptance criteria when applicable

Example transformation:

  • user intent: "refactorizza questa classe per SOLID principles"
  • Codex prompt (English): "Refactor this class to follow SOLID principles. Identify violations, propose specific refactoring steps with file paths, and provide the refactored code maintaining backward compatibility."

Step 3: Select Execution Mode and Flags

For Code Generation/Development Tasks

Preferred baseline command:

codex exec "<english-prompt>"

Supported options:

  • -m, --model <model-id> for model selection (e.g., gpt-5.3-codex, o4-mini, o3)
  • -a, --ask-for-approval <policy> for approval policy:

- untrusted: Only run trusted commands without approval - on-request: Model decides when to ask (recommended for development) - never: Never ask for approval (use with caution)

  • -s, --sandbox <mode> for sandbox policy:

- read-only: No writes, no network (safest for analysis) - workspace-write: Allow writes in workspace, no network (default for development) - danger-full-access: Disable sandbox (⚠️ extremely dangerous)

  • -C, --cd <DIR> to set working directory
  • -i, --image <FILE> for multimodal input (repeatable)
  • --search to enable live web search
  • --full-auto as convenience alias for -a on-request -s workspace-write

Safety guidance:

  • prefer read-only sandbox for analysis-only tasks
  • use workspace-write sandbox for code generation/refactoring
  • prefer on-request approval for development tasks
  • use never approval only with explicit user consent for automated tasks
  • NEVER use danger-full-access without explicit user approval and external sandboxing
  • For multi-turn conversations, consider using codex resume --last to continue from previous sessions
For Code Review Tasks

Use the dedicated review command:

codex review "<english-prompt>"

The review command includes optimizations for code analysis and supports the same flags as codex exec.

Step 4: Execute Codex CLI

Run the selected command via Bash and capture stdout/stderr.

Examples:

# Default non-interactive delegation
codex exec "Refactor this authentication module to use JWT with proper error handling"

# Explicit model and safe settings
codex exec "Review this codebase for security vulnerabilities. Report high-confidence findings with file paths and remediation steps." -m gpt-5.3-codex -a on-request -s read-only

# Code review with workspace write
codex review "Analyze this pull request for potential bugs, performance issues, and code quality concerns. Provide specific line references." -a on-request -s workspace-write

# Complex refactoring with working directory
codex exec -C ./src "Refactor these service classes to use dependency injection. Maintain all existing interfaces." -a on-request -s workspace-write

# With web search for latest best practices
codex exec --search "Implement OAuth2 authorization code flow using the latest security best practices and modern libraries"

# Multimodal analysis
codex exec -i screenshot.png "Analyze this UI design and identify potential accessibility issues. Suggest specific improvements with code examples."

# Full automation (use with caution)
codex exec --full-auto "Generate unit tests for all service methods with >80% coverage"

Step 5: Return Results Safely

When reporting Codex output:

  • summarize key findings, generated code, and confidence level
  • keep raw output available when needed for detailed review
  • separate observations from recommended actions
  • explicitly ask user confirmation before applying suggested edits
  • highlight any security implications or breaking changes

Output Template

Use this structure when returning delegated results:

## Codex Delegation Result

### Task
[delegated task summary]

### Command
`codex exec ...`

### Key Findings
- Finding 1
- Finding 2

### Generated Code/Changes
[summary of code generated or changes proposed]

### Suggested Next Actions
1. Action 1
2. Action 2

### Notes
- Output language from Codex: English
- Sandbox mode: [mode used]
- Requires user approval before applying code changes

Examples

Example 1: Complex refactoring for SOLID principles

codex exec "Refactor this OrderService class to follow SOLID principles. Current issues: 1) Single Responsibility violated (handles validation, processing, notification), 2) Open/Closed violated (hard-coded payment providers), 3) Dependency Inversion violated (concrete dependencies). Provide: 1) Proposed class structure, 2) Step-by-step migration plan, 3) Refactored code maintaining backward compatibility." -m gpt-5.3-codex -a on-request -s workspace-write

Example 2: Security vulnerability analysis

codex exec "Perform a comprehensive security analysis of this authentication module. Focus on: SQL injection, XSS, CSRF, authentication bypass, session management, and password handling. For each vulnerability found, provide: severity level, CWE identifier, exploit scenario, and concrete remediation with code examples." -a on-request -s read-only

Example 3: API design and implementation

codex exec --search "Design and implement a RESTful API for user management following REST best practices. Include: endpoint design, request/response schemas with validation, error handling, authentication middleware, pagination, filtering, and HATEOAS links. Use the latest industry standards and provide OpenAPI 3.0 specification."

Example 4: Performance optimization

codex exec "Analyze this database query module for performance bottlenecks. Identify: N+1 queries, missing indexes, inefficient joins, and caching opportunities. Provide: 1) Performance analysis with metrics, 2) Specific optimization recommendations, 3) Refactored code with query optimizations, 4) Migration script for database changes."

Example 5: Code review of pull request

codex review "Review this pull request for: 1) Correctness and logic errors, 2) Performance issues, 3) Security vulnerabilities, 4) Code quality and maintainability, 5) Test coverage gaps, 6) Documentation completeness. Provide specific line references and actionable feedback." -a on-request -s read-only

Example 6: Multimodal UI analysis

codex exec -i design-mockup.png -i current-implementation.png "Compare the design mockup with the current implementation. Identify: layout differences, missing components, styling inconsistencies, and accessibility issues. Provide: 1) Gap analysis, 2) Specific CSS/HTML changes needed, 3) Priority ranking of fixes."

Best Practices

  • Prompt engineering: Include specific acceptance criteria and constraints in prompts
  • Sandbox selection: Use read-only for analysis, workspace-write for development
  • Model selection: Use gpt-5.3-codex for complex tasks, o4-mini for faster iterations
  • Incremental delegation: Run multiple focused delegations instead of one vague prompt
  • Code review: Prefer codex review for review tasks over codex exec
  • Verification: Always review generated code before applying
  • Web search: Enable --search for tasks requiring latest best practices or library versions
  • Multimodal: Use -i for UI/UX analysis, diagram understanding, or visual debugging

Constraints and Warnings

  • Sandbox safety: danger-full-access mode removes ALL security restrictions and should NEVER be used without external sandboxing (e.g., containers, VMs)
  • Approval policies: never policy can execute destructive commands without confirmation
  • Output quality: Codex output may contain bugs, security vulnerabilities, or inefficient code
  • Context limits: Very large tasks may exceed model context; break into smaller sub-tasks
  • Network access: Sandbox modes (except danger-full-access) block network access by default
  • Dependencies: Codex CLI behavior depends on local environment and configuration
  • Model availability: Model access depends on OpenAI account and API entitlements
  • Language requirement: All prompts sent to Codex must be in English for optimal results
  • This skill is for delegation, not autonomous code modification without user confirmation

平台分布

Codex

34.8%
按下载量换算1,042

Claude

30.2%
按下载量换算904

Cursor

21.97%
按下载量换算658

Gemini CLI

9.5%
按下载量换算285

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills