AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).
中文简介正在准备中。当前显示原文说明。
Orchestrate Agent Teams for parallel multi-session collaboration. Use for research, implementation, review, and debug workflows requiring independent teammates.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Coordinate multiple independent Codex sessions. Each teammate has own context window, loads project context (AGENTS.md, skills, agents), communicates via shared task list and messaging.
Requires: Agent Teams enabled. Set CODEX_EXPERIMENTAL_AGENT_TEAMS=1 in settings.json env if using Codex < 2.1.33. May be GA in 2.1.33+.
$team <template> <context> [flags]
Templates: ck:research, ck:cook, ck:code-review, ck:debug
Flags:
--devs N | --researchers N | --reviewers N | --debuggers N — team size--plan-approval / --no-plan-approval — plan gate (default: on for cook)--delegate — lead only coordinates, never touches codePre-flight (MANDATORY — merged into step 2 of every template):
TeamCreate(team_name: "...", ...). Do NOT check whether the tool exists first — just call it.CODEX_EXPERIMENTAL_AGENT_TEAMS=1 in settings.json. Team mode is not available."$team MUST use Agent Teams or abort.team_name parameter — never spawn Task without it.When activated, IMMEDIATELY execute the matching template sequence below. Do NOT ask for confirmation. Do NOT explain what you're about to do. Execute the tool calls in order. Report progress after each major step.
Every teammate spawn prompt MUST include this context at the end:
CK Context:
- Work dir: {CK_PROJECT_ROOT or CWD}
- Reports: {CK_REPORTS_PATH or "plans/reports/"}
- Plans: {CK_PLANS_PATH or "plans/"}
- Branch: {CK_GIT_BRANCH or current branch}
- Naming: {CK_NAME_PATTERN or "YYMMDD-HHMM"}
- Active plan: {CK_ACTIVE_PLAN or "none"}
- Commits: conventional (feat:, fix:, docs:, refactor:, test:, chore:)
- Refer to teammates by NAME, not agent ID
$team research <topic> [--researchers N]:Wraps $research skill — scope, gather, analyze, report.
IMMEDIATELY execute in order:
Derive N angles from <topic> (default N=3):
CALL TeamCreate(team_name: "<topic-slug>")
CALL TaskCreate x N — one per angle:
Research: <angle-title>Investigate <angle> for topic: <topic>. Save report to: {CK_REPORTS_PATH}/researcher-{N}-{CK_NAME_PATTERN}-{topic-slug}.md. Format: Executive summary, key findings, evidence, recommendations. Mark task completed when done. Send findings summary to lead.CALL Task x N to spawn researcher teammates:
subagent_type: "researcher", team_name: "<topic-slug>", model: "haiku"name: "researcher-{N}"MONITOR via TaskCompleted hook events + TaskList fallback:
READ all researcher reports from {CK_REPORTS_PATH}/
SYNTHESIZE into: {CK_REPORTS_PATH}/research-summary-{CK_NAME_PATTERN}-{topic-slug}.md
Format: exec summary, key findings, comparative analysis, recommendations, unresolved questions.
SHUTDOWN: SendMessage(type: "shutdown_request") to each teammate
CLEANUP: TeamDelete (no parameters — just call it)
REPORT: Tell user Research complete. Summary: {path}. N reports generated.
$team cook <plan-path-or-description> [--devs N]:Wraps ck:cook skill — plan, code, test, review, finalize.
IMMEDIATELY execute in order:
READ plan (if path provided) OR create via planner teammate:
Task(subagent_type: "planner") to create plan firstCALL TeamCreate(team_name: "<feature-slug>")
CALL TaskCreate x (N + 1) — N dev tasks + 1 tester task:
File ownership: <glob patterns> — NO overlap between devsaddBlockedBy all dev task IDsCALL Task x N to spawn developer teammates:
subagent_type: "fullstack_developer", mode: "plan"model: "sonnet", name: "dev-{N}"plan_approval_responseMONITOR dev completion via TaskCompleted events:
Task(subagent_type: "tester", model: "haiku", name: "tester")DOCS SYNC EVAL (MANDATORY for cook — from ck:cook finalize):
Docs impact: [none|minor|major]
Action: [no update needed — <reason>] | [updated <page>] | [needs separate PR]
SHUTDOWN all teammates via SendMessage(type: "shutdown_request")
CLEANUP: TeamDelete (no parameters — just call it)
REPORT: Tell user what was cooked, test results, docs impact.
$team review <scope> [--reviewers N]:Wraps $code-review skill — scout, review, synthesize with evidence gates.
IMMEDIATELY execute in order:
DERIVE N review focuses from <scope> (default N=3):
CALL TeamCreate(team_name: "review-<scope-slug>")
CALL TaskCreate x N — one per focus:
Review: <focus-title>Review <scope> for <focus>. Output severity-rated findings only. Format: [CRITICAL|IMPORTANT|MODERATE] <finding> — <evidence> — <recommendation>. No "seems" or "probably" — concrete evidence only. Save to: {CK_REPORTS_PATH}/reviewer-{N}-{CK_NAME_PATTERN}-{scope-slug}.md. Mark task completed when done.CALL Task x N to spawn reviewers:
subagent_type: "code_reviewer", model: "haiku", name: "reviewer-{N}"MONITOR via TaskCompleted hook events + TaskList fallback:
SYNTHESIZE into: {CK_REPORTS_PATH}/review-{scope-slug}.md
SHUTDOWN all teammates via SendMessage(type: "shutdown_request")
CLEANUP: TeamDelete (no parameters — just call it)
REPORT: Tell user Review complete. {X} findings ({Y} critical). Report: {path}.
$team debug <issue> [--debuggers N]:Wraps $fix skill — root-cause-first, adversarial hypotheses, disprove to converge.
IMMEDIATELY execute in order:
GENERATE N competing hypotheses from <issue> (default N=3):
CALL TeamCreate(team_name: "debug-<issue-slug>")
CALL TaskCreate x N — one per hypothesis:
Debug: Test hypothesis — <theory>Investigate hypothesis: <theory>. For issue: <issue>. ADVERSARIAL: actively try to disprove other theories. Message other debuggers to challenge findings. Report evidence FOR and AGAINST your theory. Save findings to: {CK_REPORTS_PATH}/debugger-{N}-{CK_NAME_PATTERN}-{issue-slug}.md. Mark task completed when done.CALL Task x N to spawn debugger teammates:
subagent_type: "debugger", model: "sonnet", name: "debugger-{N}"MONITOR via TaskCompleted events. Debuggers should message each other — let them converge.
READ all debugger reports. Identify surviving theory as root cause.
WRITE root cause report: {CK_REPORTS_PATH}/debug-{issue-slug}.md
Format: Root cause, evidence chain, disproven hypotheses, recommended fix.
SHUTDOWN all teammates via SendMessage(type: "shutdown_request")
CLEANUP: TeamDelete (no parameters — just call it)
REPORT: Tell user Debug complete. Root cause: <summary>. Report: {path}.
Agents with memory: project retain learnings across team sessions. Memory persists in .codex/agent-memory/<name>/ (gitignored). Useful for:
Agents with memory: project retain learnings across team sessions. Memory persists in .codex/agent-memory/<name>/ (gitignored). Useful for:
| Scenario | Subagents (Task tool) | Agent Teams |
|---|---|---|
| Focused task (test, lint, single review) | Yes | Overkill |
| Sequential chain (plan → code → test) | Yes | No |
| 3+ independent parallel workstreams | Maybe | Yes |
| Competing debug hypotheses | No | Yes |
| Cross-layer work (FE + BE + tests) | Maybe | Yes |
| Workers need to discuss/challenge findings | No | Yes |
| Token budget is tight | Yes | No (high cost) |
| Template | Estimated Tokens | Model Strategy |
|---|---|---|
| Research (3) | ~150K-300K | haiku for all |
| Cook (4) | ~400K-800K | sonnet for devs, haiku for tester |
| Review (3) | ~100K-200K | haiku for all |
| Debug (3) | ~200K-400K | sonnet for all |
Shift+Up/Down (in-process) or click pane (split)TaskUpdate stuck task to unblock dependentsShut down all teammates. Then call TeamDelete (no parameters).
If unresponsive: close terminal or kill session. Clean orphaned configs at ~/.codex/teams/ manually.
Shift+Up/Down navigate. Ctrl+T task list.See .codex/rules/team-coordination-rules.md for teammate behavior rules.
v2.1.0: Event-driven orchestration via TaskCompleted/TeammateIdle hooks. Agent memory + Task restrictions.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
AI-optimized browser automation CLI with context-efficient snapshots. Use for long autonomous sessions, self-verifying workflows, video recording, and cloud browser testing (Browserbase).
中文简介正在准备中。当前显示原文说明。
Generate images via Nano Banana with 129 curated prompts. Mandatory validation interview refines style/mood/colors (use --skip to bypass). 3 modes: search, creative, wild. Styles: Ukiyo-e, Bento grid, cyberpunk, cinematic, vintage patent.
中文简介正在准备中。当前显示原文说明。
Analyze images/audio/video with Gemini API (better vision than Codex). Generate images (Imagen 4), videos (Veo 3). Use for vision analysis, transcription, OCR, design extraction, multimodal AI.
中文简介正在准备中。当前显示原文说明。
Answer technical and architectural questions with expert consultation.
中文简介正在准备中。当前显示原文说明。
Build backends with Node.js, Python, Go (NestJS, FastAPI, Django). Use for REST/GraphQL/gRPC APIs, auth (OAuth, JWT), databases, microservices, security (OWASP), Docker/K8s.
中文简介正在准备中。当前显示原文说明。
Add authentication with Better Auth (TypeScript). Use for email/password, OAuth providers (Google, GitHub), 2FA/MFA, passkeys/WebAuthn, sessions, RBAC, rate limiting.
中文简介正在准备中。当前显示原文说明。