一键导入
role-creator
Create and update Codex custom agents using standalone custom-agent TOML files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create and update Codex custom agents using standalone custom-agent TOML files.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Build, transform, audit, and migrate prompts for GPT-5.6 Sol using outcome-first contracts, explicit success criteria, evidence and tool rules, approval boundaries, output requirements, and stop conditions. Use when someone asks for a GPT-5.6 prompt, wants an existing prompt optimized for GPT-5.6, or needs a prompt stack adapted from an older model.
Use when updating this codex-app Linux port from the latest upstream Codex Mac DMG, preserving local Linux patches, installing the refreshed desktop app, and publishing the tag-driven Linux release artifacts.
Use when the user wants an end-to-end premium visual design workflow for any type of website or web page created directly from images.
Create or update Codex hooks for global or project scope by asking for scope and hook type when ambiguous, then writing the hook config, scripts, and any required feature flag config.
Add a Codex plugin from a GitHub repo to a repo or personal marketplace using the current Codex plugin layout and marketplace metadata.
Only to be triggered by explicit /parallel-task commands.
| name | role-creator |
| description | Create and update Codex custom agents using standalone custom-agent TOML files. |
Use this skill to author, update, or troubleshoot custom Codex agents as standalone TOML files.
Current behavior:
~/.codex/agents/<agent-name>.toml<project>/.codex/agents/<agent-name>.toml~/.codex/config.toml is only for global/runtime settings (for example [agents] thread limits), not per-role registration.Step 1 is required before writing files:
name (role identifier used by agent_type)description (short, human-readable purpose)developer_instructionsmodel (recommend gpt-5.3-codex unless requested)model_reasoning_effort (none|minimal|low|medium|high|xhigh)global or project)nickname_candidates and exact valuesExecution rule:
From Codex custom agent docs (/codex/subagents):
name, description, developer_instructions.nickname_candidates, model, model_reasoning_effort, sandbox_mode, web_search, mcp_servers, skills.config, etc.name is the spawn identifier and source of truth.description + developer_instructions define behavior and usage boundaries.nickname_candidates is optional and used only for display.nickname_candidates requirements:
global → ~/.codex/agents/<name>.tomlproject → <project>/.codex/agents/<name>.toml{"agent_type":"<name>","message":"<task>"}
# 1) Write a standalone custom-agent file
/home/willr/Applications/skills/skills/role-creator/scripts/write_role_config.sh \
--output ~/.codex/agents/reviewer.toml \
--role-name reviewer \
--description "PR reviewer focused on correctness, security, and risk." \
--model gpt-5.4 \
--reasoning high \
--developer-instructions "Review code like an owner. Lead with concrete findings and residual risks."
# Optional: include nickname candidates for display
/home/willr/Applications/skills/skills/role-creator/scripts/write_role_config.sh \
--output ~/.codex/agents/reviewer.toml \
--role-name reviewer \
--description "PR reviewer focused on correctness, security, and risk." \
--model gpt-5.4 \
--reasoning high \
--developer-instructions "Review code like an owner. Lead with concrete findings and residual risks." \
--nickname-candidates "Atlas,Delta,Echo" \
--sandbox-mode read-only \
--web-search disabled
unknown agent_type, verify the active scope and confirm the file exists at the expected path.tomlq or tomlq -C.https://developers.openai.com/codex/subagentshttps://developers.openai.com/codex/subagents#display-nicknamestemplates/