omp-roles 精选
Use this skill whenever you need the allowed_tools / skills preset for a sub-agent role before calling spawn_subagent. Trigger especially when user mentions: \"role\", \"spawn_subagent\", \"allowed_tools\", or any OMP role name (executor, architect, analyst, critic, security-reviewer, code-reviewer, qa-tester, planner, explore, debugger, verifier). Also use when a /ultrawork, /ralph, /autopilot, /ultraqa, or /team workflow step asks for role tool/skill configuration.
安装方式
cp -r plugins/bundle/omp_workflows/skills/omp-roles ~/.claude/skills/omp-roles把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/agentscope-ai/QwenPaw/02b6a6d088e37192934645cbc0876114bb9e98ae/plugins/bundle/omp_workflows/skills/omp-roles/SKILL.md下载后另存为 ~/.claude/skills/omp-roles/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/agentscope-ai/QwenPaw.git
依赖与权限
- 无需 API Key
- 无需联网
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
OMP Role Tool Configuration
When using spawn_subagent (single or batch mode) to dispatch sub-agents,
set the corresponding allowed_tools and skills parameters based on the
sub-agent's role.
Canonical source of truth in code:
plugins/bundle/omp_workflows/shared/constants.py
(ROLE_ALLOWED_TOOLS, ROLE_SKILLS, TOOL_* names) and
shared/role_prompts.py (ROLE_PROMPTS, build_worker_prompt,
format_spawn_call). Tool strings must match registered ToolRegistry
names — do not invent aliases.
Role Definitions
executor (Code Executor)
- allowed_tools: null (inherits all tools)
- skills: null (inherits all skills)
- Boundary: Implement features, run quality checks. Follow existing patterns.
architect (System Architect)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"write_file", "ast_search", "execute_shell_command"]
- skills: []
- Boundary: Design interfaces and module boundaries, diagnose complex issues. No implementation code.
analyst (Requirements Analyst)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"write_file", "execute_shell_command"]
- skills: []
- Boundary: Extract requirements, identify constraints, define acceptance criteria. No code.
critic (Plan/Design Critic)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"ast_search"]
- skills: []
- Boundary: Review plans and designs, challenge assumptions. No plans, no code.
security-reviewer (Security Reviewer)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"execute_shell_command", "ast_search"]
- skills: []
- Boundary: Identify vulnerabilities, injection vectors, auth weaknesses. No file modifications.
code-reviewer (Code Reviewer)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"execute_shell_command", "ast_search"]
- skills: []
- Boundary: Review code quality, maintainability, convention adherence. No file modifications.
qa-tester (QA Tester)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"execute_shell_command"]
- skills: []
- Boundary: Interactive CLI/service testing — start services and verify behavior.
planner (Strategic Planner)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"write_file", "ast_search"]
- skills: []
- Boundary: Create implementation plans, define task breakdown and dependencies. No implementation code.
explore (Code Explorer)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"ast_search"]
- skills: []
- Boundary: Read-only exploration. Map codebase structure and dependencies.
debugger (Debugging Expert)
- allowed_tools: null (inherits all tools)
- skills: []
- Boundary: Root cause analysis, fix build/test failures. No new features.
verifier (Adversarial Verifier)
- allowed_tools: ["read_file", "grep_search", "glob_search",
"execute_shell_command", "ast_search"]
- skills: []
- Boundary: Verification only — no file modifications. Physical isolation via read-only tool set.
Usage
spawn_subagent(
task="<role identity from ROLE_PROMPTS>\n\n## Task\n<task description>",
allowed_tools=<ROLE_ALLOWED_TOOLS[role] or omit if null>,
skills=<ROLE_SKILLS[role] or omit if null>,
fork=True, # if worktree isolation needed
background=True, # if background execution needed
)
When allowed_tools or skills is null, omit the parameter (uses default None).
For batch mode, pass task="" and put per-item role config in each batch dict.
质量与来源
- 所属仓库
- agentscope-ai/QwenPaw
- 仓库星标
- 3.6 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 02b6a6d088e3
- 内容指纹
- sha256:dd44f2aa377250a
- 文件路径
- plugins/bundle/omp_workflows/skills/omp-roles/SKILL.md