Skip to main content
ClaudeWave
ES, Spanish
Skill36k estrellas del repoactualizado 5d ago

omp-roles

Instalar en Claude Code
Copiar
git clone --depth 1 https://github.com/agentscope-ai/QwenPaw /tmp/omp-roles && cp -r /tmp/omp-roles/plugins/bundle/omp_workflows/skills/omp-roles ~/.claude/skills/omp-roles
Después abre una sesión nueva de Claude Code; el skill carga automáticamente.

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

```text
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.
alicloud_cliSkill

阿里云 CLI 中文文档镜像检索与命令辅助:先走章节索引,再下钻正文页面,给出命令前必须有本地文档证据。

browserSkill

用异步 Python 调用 QwenPaw 内置 Browser SDK 驱动真实浏览器。完整参考在下方;上下文压缩后请重新加载此 browser skill。

browser_cdpSkill

当用户明确希望连接到已运行的 Chrome 浏览器、扫描本地 CDP 端口、显式指定 `cdp_port`,或让多个 agent / 工具共享同一个浏览器时,使用本 skill。browser 默认不开放调试端口;仅当用户明确希望其他本地工具附加时才显式传入 `cdp_port`。

browser_visibleSkill

当用户需要控制 browser 的浏览器启动方式时,使用本 skill。browser 默认由 Playwright 直接管理、不开放调试端口(需让其他本地工具附加时显式传 `cdp_port`);`headed` 控制是否显示窗口,`private_mode` 保留用于兼容、不再改变默认行为,`browser_args` 传入额外的 Chromium 启动参数,`executable_path` 指定自定义浏览器可执行文件路径。

channel_messageSkill

当需要主动向用户、会话或频道单向发送消息时,使用本 skill。通常仅在用户明确要求向某个 channel / 会话发送消息,或需要主动通知时使用。先用 qwenpaw chats list 查询 session,再用 qwenpaw channels send 推送消息。

chat_with_agentSkill

当你需要咨询其他 agent、寻求帮助,或用户明确要求某个 agent 参与时,使用本 skill。

computer_useSkill

Use computer_use for live Windows or macOS GUI work that structured tools cannot complete. Discover an approved app and window, act from fresh observations, and verify every requested result.

cronSkill

仅在需要未来定时执行或周期执行任务时,使用本 skill。使用 qwenpaw cron list/create/get/state/update/pause/resume/delete/run 管理任务,并始终显式传入 --agent-id。