Token导航 LogoToken导航

Agent Skill · 开发

codex-coworker(Codex coworker 命令行)

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

codex-coworker 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 16,120。

总安装 535周安装 23GitHub Stars 8下载 188核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/phrazzld/claude-config --skill codex-coworker

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

codex-coworker 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

它将 Codex 视为可委托的高级工程师,协助起草规范、实现代码、审查缺陷与编写测试。鼓励积极委派以节省昂贵的主模型 token,充分利用 Codex 低成本优势。

安装命令为 npx skills add https://github.com/phrazzld/claude-config --skill codex-coworker,需配置 pnpm typecheck 验证流程。使用前建议核实项目类型检查命令可用性及 --full-auto 模式的安全边界。

来源仓库内路径:skills/codex-coworker

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/phrazzld/claude-config --skill codex-coworker;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

codex-coworker 怎么安装?

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

codex-coworker 支持哪些 AI 工具?

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

codex-coworker 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

codex-coworker 是免费的吗?

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

codex-coworker 用的人多吗?

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

codex-coworker 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

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

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

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

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
codex-coworker

Codex coworker 命令行 · 本页

5358只读未明确有提醒

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

SKILL.md 原文

Codex as Coworker

Codex is a capable senior engineer you can delegate to. Think of it as having a coworker who can:

  • Draft specs while you think through architecture
  • Implement code based on patterns you've identified
  • Review your work for bugs and edge cases
  • Write tests for code you've written
  • Brainstorm approaches to a problem

Your tokens are expensive and limited. Codex tokens are cheap. Delegate aggressively.

Invocation

Primary: CLI

codex exec --full-auto "Implement X following the pattern in Y. Run pnpm typecheck after." \
  --output-last-message /tmp/codex-out.md 2>/dev/null
# Then validate via: git diff --stat, pnpm test, or read summary only if needed

Interactive session for complex problems:

codex "Let's design the data model for this feature"

Token Economics

Your output tokens cost 5x your input tokens. Codex tokens are separate.

  • Codex generates 1000 tokens of code → costs Codex, not you
  • You read Codex's output → input tokens (cheap)
  • You generate same code yourself → output tokens (expensive)

Net savings: ~80% on code generation by delegating to Codex.

To maximize savings:

  1. Have Codex write to files directly
  2. Validate by running tests or checking git diff --stat
  3. Only read full output when debugging failures

Reasoning Effort

Vary reasoning effort based on task complexity:

TaskEffortWhen
Simple edits, boilerplatemediumGetters, CRUD, obvious changes
Most implementation (default)highFeatures, refactors, tests
Complex debugging, architecturexhighRace conditions, security, hard bugs
codex exec --full-auto -c model_reasoning_effort=xhigh "Debug this race condition"

Default to high. Drop to medium for trivial work. Escalate to xhigh for genuinely hard problems.

When to Delegate

Good candidates:

  • Implementation from a clear spec or pattern
  • Writing tests for existing code
  • Code review and analysis
  • Drafting specs for you to refine
  • Exploring multiple approaches in parallel
  • Boilerplate and CRUD operations
  • Refactoring with clear before/after

Keep for yourself:

  • Novel architecture decisions
  • Deep codebase reasoning you've already done
  • Integration across unfamiliar systems
  • Anything requiring context you already have loaded
  • Quick one-liners where overhead isn't worth it

Parallel Work

You can think while Codex works:

  • Have Codex draft code while you design the architecture
  • Have Codex write tests while you implement
  • Get Codex's review while you plan the next step

Trust but Verify

Always review Codex output before committing. Run tests. Check it fits codebase patterns. Codex is good but not infallible.

Context Passing

Give Codex enough context to succeed:

  • Reference specific files or patterns to follow
  • Include relevant constraints
  • Be specific about what you want

Bad: "Write a user service" Good: "Implement a UserService class following the pattern in src/services/AuthService.ts. Include CRUD operations for users with proper error handling."

Pre-Delegation Checklist

Before delegating, ask yourself:

  1. Does this file have existing tests? → Add to prompt: "Don't break existing tests in [test file]"
  2. Should Codex ADD or REPLACE? → Be explicit: "ADD to this file" vs "REPLACE this file" → Default to ADD unless rewrite is intentional
  3. What quality gates should Codex run? → Include: "Run pnpm typecheck && pnpm lint after changes"
  4. What patterns should Codex follow? → Include: "Follow the pattern in [reference file]"

Prompt Templates

Adding to existing file (safest):

ADD a new [function/component] to [file].
Follow the pattern used in [reference].
Don't modify existing functions.
Run pnpm typecheck after.

Replacing/rewriting (use cautiously):

REPLACE [file] with [new implementation].
Note: This file has tests in [test file] - ensure they still pass.
Run pnpm typecheck && pnpm lint after.

New file from scratch:

Create [file] implementing [spec].
Follow patterns from [reference].
Run pnpm typecheck after.

With quality gates (recommended):

codex exec "ADD [function] to [file]. Follow pattern in [ref]. \
  Don't break tests in [test file]. Run pnpm typecheck after." \
  --output-last-message /tmp/codex-out.md 2>/dev/null

Post-Delegation Validation

After Codex completes:

  1. Check what changed: git diff --stat
  2. Run quality gates: pnpm typecheck && pnpm lint
  3. Run tests: pnpm test
  4. If tests broke:

- Check if Codex deleted/renamed functions tests depend on - Look for wholesale file replacement when ADD was intended - Review imports that may have been removed

  1. Review integration points:

- You handle complex integration across files - Check redirects, configs, and cross-file dependencies

See /delegate for full orchestration patterns.

平台分布

Codex

32.07%
按下载量换算60

Claude

31.77%
按下载量换算60

Cursor

20.48%
按下载量换算39

Gemini CLI

10.19%
按下载量换算19

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills