role-creator — for Claude Code role-creator, mvp-repo, community, for Claude Code, ide skills, config_file, model_reasoning_effort, developer_instructions, global, project

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need non-negotiable inputs. 本地化技能摘要: # Role Creator Overview Use this skill when the user wants to create, update, or troubleshoot custom subagent roles backed by [agents.<role ] and a role config file. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Non-Negotiable Inputs
Step 1 must always be input collection. Before running any write/install/validate command, collect
model reasoning effort
developer instructions
install scope (global or project)

# 核心主题

kutluG kutluG
[0]
[0]
更新于: 4/7/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for teams, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
55
Canonical Locale
en
Detected Body Locale
en

适用场景: Ideal for AI agents that need non-negotiable inputs. 本地化技能摘要: # Role Creator Overview Use this skill when the user wants to create, update, or troubleshoot custom subagent roles backed by [agents.<role ] and a role config file. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: role-creator helps agents non-negotiable inputs. Role Creator Overview Use this skill when the user wants to create, update, or troubleshoot custom subagent roles backed by [agents.<role ] and a role config file.

适用 Agent 类型

适用场景: Ideal for AI agents that need non-negotiable inputs.

赋予的主要能力 · role-creator

适用任务: Applying Non-Negotiable Inputs
适用任务: Applying Step 1 must always be input collection. Before running any write/install/validate command, collect
适用任务: Applying model reasoning effort

! 使用限制与门槛

  • 限制说明: Step 1 must always be input collection. Before running any write/install/validate command, collect and confirm:
  • 限制说明: Do not infer missing required values.
  • 限制说明: Do not set sandbox flags unless explicitly requested.

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

role-creator 是什么?

适用场景: Ideal for AI agents that need non-negotiable inputs. 本地化技能摘要: # Role Creator Overview Use this skill when the user wants to create, update, or troubleshoot custom subagent roles backed by [agents.<role ] and a role config file. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 role-creator?

运行命令:npx killer-skills add kutluG/mvp-repo/role-creator。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

role-creator 适用于哪些场景?

典型场景包括:适用任务: Applying Non-Negotiable Inputs、适用任务: Applying Step 1 must always be input collection. Before running any write/install/validate command, collect、适用任务: Applying model reasoning effort。

role-creator 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

role-creator 有哪些限制?

限制说明: Step 1 must always be input collection. Before running any write/install/validate command, collect and confirm:;限制说明: Do not infer missing required values.;限制说明: Do not set sandbox flags unless explicitly requested.。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add kutluG/mvp-repo/role-creator。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    role-creator 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

role-creator

安装 role-creator,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Role Creator

Overview

Use this skill when the user wants to create, update, or troubleshoot custom subagent roles backed by [agents.<role>] and a role config_file.

This skill installs the role into ~/.codex/config.toml (or a user-selected project config), writes the role-specific config file, and validates key support against codex-rs/core/config.schema.json.

Default behavior is strict-minimal: configure only model, model_reasoning_effort, and developer_instructions unless the user explicitly asks for additional parameters.

Default location is ~/.codex/config.toml however, if the user asks for a project scoped role, the role will be installed in the project's .codex/config.toml. Can also be installed to subfolders in a repo.

Non-Negotiable Inputs

Step 1 must always be input collection. Before running any write/install/validate command, collect and confirm:

  • model
  • model_reasoning_effort
  • developer_instructions
  • install scope (global or project)
  • role_name
  • description
  • role_config_file (absolute path preferred)

Ask concise questions:

  1. Which model should this role use? (recommend: gpt-5.3-codex)
  2. What reasoning effort should it use? (recommend: medium; options medium|high|xhigh)
  3. What should the role's developer instructions prioritize? (goal, boundaries, success criteria)
  4. Do you want this installed globally (~/.codex/config.toml) or in a project (.codex/config.toml)?
  5. Do you want any sandboxing, web_search, MCP, or other restrictions?
  6. What role name and description should be shown in spawn_agent?

Execution gate:

  • Do not infer missing required values.
  • Do not start Step 2 (writing files) until all required inputs above are explicitly provided or explicitly accepted as defaults by the user.

Default Policy For Optional Parameters

  • Do not set sandbox flags unless explicitly requested.
  • Do not set web_search unless explicitly requested.
  • Do not set MCP flags/entries unless explicitly requested.
  • Do not add any other optional config_file keys unless explicitly requested.
  • If user intent is ambiguous, ask a short clarification question before adding optional keys.

Knowledge vs Application Rule

The role creator must know the full configuration surface area, but must only apply keys the user asked for.

  • Required behavior:
  • Explain available optional categories when helpful.
  • Provide specific examples/templates when user asks what is possible.
  • Keep generated config minimal by default.
  • Add optional keys only with explicit user request.
  • If user says "keep defaults/inherit", omit optional keys rather than setting explicit values.

Role Config Surface Area (What Can Be Customized)

Role config_file is parsed as a full config layer. If a key is omitted, it generally inherits from the parent.

  • Model and reasoning:
  • model
  • model_reasoning_effort
  • model_reasoning_summary
  • model_verbosity
  • personality
  • Core behavior:
  • developer_instructions
  • Sandboxing and permissions:
  • sandbox_mode
  • [sandbox_workspace_write] fields like network_access, writable_roots
  • Web search:
  • web_search (disabled|cached|live)
  • Feature toggles:
  • [features] keys such as memory_tool, shell_tool
  • MCP servers:
  • [mcp_servers.<name>] entries (enabled, required, command, args, env_vars)
  • Apps/connectors:
  • [apps.<name>] entries (enabled)

When user asks for advanced role controls, use concrete examples from:

  • templates/minimal-role-config.toml
  • templates/restricted-role-config.toml
  • templates/full-role-config.toml
  • templates/frontend-architecture-role.toml

Supported Role Declaration Keys

For [agents.<role_name>], only these keys are supported:

  • description
  • config_file

Do not add anything else under [agents.<role_name>].

Workflow

  1. Collect and confirm required inputs (hard gate).
  • Ask for model, reasoning, developer instructions, install scope, role name, description, and role config file path.
  • Confirm whether to use defaults only if user explicitly agrees.
  • Do not write files in this step.
  1. Validate environment and resolved paths.
  • Ensure repo schema exists: codex-rs/core/config.schema.json
  • Resolve config target from scope:
  • global -> ~/.codex/config.toml
  • project -> <project>/.codex/config.toml
  1. Create or update role config file.
  • Use scripts/write_role_config.sh to write required fields.
  • Add optional controls only if the user explicitly requested them.
  • Optional controls supported by script:
  • sandbox_mode + workspace-write settings
  • web_search mode (set to disabled to prevent web search)
  • MCP controls (mcp_clear, mcp_enable, mcp_disable)
  • If user wants options beyond script flags (for example model_reasoning_summary, features, apps, rich MCP server definitions), start from a template under templates/ and edit manually, then run validation.
  • Communicate clearly in output:
  • Configured now: keys that were written
  • Available but not set: relevant optional keys left to inherit
  1. Install role in main config.
  • Use scripts/install_role.sh.
  • This writes/updates:
  • features.multi_agent = true
  • [agents.<role_name>] description/config_file
  • Additive safety:
  • Installer only mutates role-related keys and keeps the rest of config.toml intact.
  • Installer always creates a timestamped backup of the target config.toml before writing.
  • Existing role definitions are not overwritten unless --update-existing is passed.
  1. Validate before reporting success.
  • Use scripts/validate_role.sh.
  • Confirm required role-config fields are present.
  • Confirm role declaration keys are only description/config_file.
  • Confirm top-level role config keys are valid against schema.
  1. Share runnable spawn example.
  • Example:
json
1{"agent_type":"<role_name>","message":"<task>"}

Commands

bash
1# 1) Write role config file (required fields only; default behavior) 2.codex/skills/role-creator/scripts/write_role_config.sh \ 3 --output ~/.codex/agents/researcher.toml \ 4 --role-name researcher \ 5 --model gpt-5.3-codex \ 6 --reasoning medium \ 7 --developer-instructions "Research code and docs only; no edits; return file:line evidence." 8 9# 1b) Optional controls (only when explicitly requested) 10.codex/skills/role-creator/scripts/write_role_config.sh \ 11 --output ~/.codex/agents/researcher.toml \ 12 --role-name researcher \ 13 --model gpt-5.3-codex \ 14 --reasoning medium \ 15 --developer-instructions "Research code and docs only; no edits; return file:line evidence." \ 16 --sandbox-mode workspace-write \ 17 --network-access false \ 18 --writable-roots "/home/willr/Applications/codex1" \ 19 --web-search disabled 20 21# 2) Register role in ~/.codex/config.toml 22.codex/skills/role-creator/scripts/install_role.sh \ 23 --role-name researcher \ 24 --description "Read-only codebase research specialist" \ 25 --role-config-file ~/.codex/agents/researcher.toml 26 27# 2b) Intentionally update an existing role definition 28.codex/skills/role-creator/scripts/install_role.sh \ 29 --role-name researcher \ 30 --description "Updated role description" \ 31 --role-config-file ~/.codex/agents/researcher.toml \ 32 --update-existing 33 34# 3) Validate role config and declaration keys 35.codex/skills/role-creator/scripts/validate_role.sh \ 36 --role-name researcher \ 37 --config ~/.codex/config.toml \ 38 --role-config ~/.codex/agents/researcher.toml \ 39 --schema /home/willr/Applications/codex1/codex-rs/core/config.schema.json

Guardrails

  • If runtime returns unknown agent_type, verify role exists in active config and config_file path exists/readable.
  • If runtime returns agent type is currently not available, inspect role file TOML validity and unsupported keys.
  • Keep instructions role-specific and operational (scope, do/don't, deliverable format).
  • Do not claim success without running validation.

References

  • Role key matrix and runtime behavior: references/role-config-reference.md
  • Reusable templates: templates/

相关技能

寻找 role-creator 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具