Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

codex-coworkerCodex coworker 命令行

Agent Skill

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

总安装

535

周安装

23

GitHub Stars

8

下载量

188
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

简介

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 模式的安全边界。

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.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

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 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills