一键导入
codex
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, code review, or automated editing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, code review, or automated editing
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when installing, reinstalling, auditing, or preparing Brain-managed Superpowers, Spec Kit, and OpenSpec workflow arsenals under a project-local `.brain/vendor` directory so Brain can inspect and route them without exposing their raw Codex skills/prompts at the project root.
Use when the user asks to check, add, or manage macOS Calendar events.
Use when the user asks to send an email via the macOS Mail app.
Use when the user asks to send a text message or iMessage via the macOS Messages app.
Use when a task involves web search, current information, source verification, citations, or entity/person/paper/project disambiguation.
Use when the task involves `exec_command` escalation, `prefix_rule`, sandbox permissions, writable roots, or Codex platform-specific operational patterns.
| name | codex |
| description | Use when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, code review, or automated editing |
Before running Codex, follow the shared logging and summary protocol in ../_shared/agent-cli.md.
the current host's user-question or approval mechanism) which profile, model, and reasoning effort to run in a single prompt.
-p <profile_name> only when the user requests a non-default profile. When omitted, Codex uses the default profile.gpt-5.4 with high or gpt-5.5 with high. Default to gpt-5.3-codex if the user has no model preference.-p llm_router: only use deepseek-v4-pro with xhigh.-p aihubmix: only use gpt-5.4 with high or gpt-5.5 with high.--sandbox read-only. For implementation/editing tasks, first use superpowers:using-git-worktrees to create a fresh git worktree, then run Codex there with --sandbox workspace-write.-p, --profile <profile_name>-m, --model <MODEL>--config model_reasoning_effort="<xhigh|high|medium>"--sandbox <read-only|workspace-write|danger-full-access>--full-auto-C, --cd <DIR>--skip-git-repo-checkcodex exec --skip-git-repo-check resume --last via stdin. When resuming don't use any configuration flags unless explicitly requested by the user e.g. if he specifies the profile, model, or reasoning effort when requesting to resume a session. Resume syntax: echo "your prompt here" | codex exec --skip-git-repo-check resume --last. All flags have to be inserted between exec and resume.(echo "Review the following uncommitted diff."; git diff) | codex exec --skip-git-repo-check - and other flags as needed between exec and --skip-git-repo-check.full.md, and require the prompt to write summary.md.| Use case | Sandbox mode | Key flags |
|---|---|---|
| Read-only review or analysis | read-only | --sandbox read-only |
| Apply edits in fresh worktree only | workspace-write | --sandbox workspace-write --full-auto |
| Permit network or broad access in fresh worktree only | danger-full-access | --sandbox danger-full-access --full-auto |
| Resume recent session | Inherited from original | echo "prompt" | codex exec --skip-git-repo-check resume --last (no flags allowed) |
| Run from another directory | Match task needs | -C <DIR> plus other flags |
| Use a named profile | Match task needs | -p <profile_name> before model/sandbox flags |
llm_router profile | Match task needs | -p llm_router -m deepseek-v4-pro --config model_reasoning_effort="xhigh" |
aihubmix profile | Match task needs | `-p aihubmix -m <gpt-5.4 |
codex command, immediately use the current host's user-question or approval mechanism to confirm next steps, collect clarifications, or decide whether to resume with codex exec resume --last.echo "new prompt" | codex exec resume --last. The resumed session automatically uses the same profile, model, reasoning effort, and sandbox mode from the original session.codex --version or a codex exec command exits non-zero; request direction before retrying.--full-auto, --sandbox workspace-write, --sandbox danger-full-access, --skip-git-repo-check) ask the user for permission using the current host's user-question or approval mechanism unless it was already given. Write-capable sandbox flags require a fresh git worktree.the current host's user-question or approval mechanism.