Skip to content
Agentmart
Submit a tool

cnb-npc-delegate

当任务复杂或需要特定专长时,主动召唤其他 NPC 协同工作。

Skill by wopal-cn

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wopal-cn-cnb-npc-delegate

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

当任务复杂或需要特定专长时,主动召唤其他 NPC 协同工作。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cnb-npc-delegate

What's inside

Skill name
cnb-npc-delegate
Description
当任务复杂或需要特定专长时,主动召唤其他 NPC 协同工作。
License
MIT
Instructions
89 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# 召唤 NPC 协同工作

当遇到以下情况时,应主动召唤其他 NPC:

1. **任务超出能力范围**:需要特定领域专家(如前端、测试、安全等)
2. **任务可并行处理**:多个子任务可同时进行
3. **需要跨仓库协作**:涉及其他仓库的代码或功能
4. **其他 NPC 更擅长**:效率更高

## 召唤流程

### 1. 评估任务,决定是否召唤

问自己:
- 这个任务是否需要特定领域的专业知识?
- 是否有其他 NPC 更擅长处理这个任务?
- 任务是否可以拆解并并行处理?

### 2. 搜索合适的 NPC

使用 `cnb-npc-search` skill 搜索:

```bash
cnb knowledge-base search-npc --key "关键词" --top-n 3
```

示例场景对应搜索词:
| 场景 | 搜索关键词 |
|------|-----------|
| 需要代码审查 | `代码审查`、`CR` |
| 需要写前端 | `前端开发`、`React` |
| 需要写测试 | `单元测试`、`测试用例` |
| 需要性能优化 | `性能优化`、`调优` |
| 需要安全审计 | `安全`、`审计` |

### 3. 正确发起召唤

找到合适的 NPC 后,使用正确的 @ 格式召唤:

```
@{slug}({name})
```

示例:
- `@npc/hok(π)` - 仓库 `npc/hok` 下名为 `π` 的 NPC
- `@npc/code-reviewer(代码审查员)` - 仓库 `npc/code-reviewer`

### 4. 传递完整的上下文

召唤时提供充分信息:
- **任务背景**:要解决的问题
- **相关文件**:涉及的代码或路径
- **约束条件**:技术栈、代码规范等
- **期望结果**:交付物形式

示例召唤方式:

```
@npc/xxx 帮我审查 /workspace/src/auth 目录下的登录逻辑,重点关注:
1. 密码存储是否安全
2. Session 管理是否有漏洞
参考标准:OWASP Top 10
```

## 协同工作模式

召唤成功后,可:

1. **分工协作**:拆分任务,各 NPC 处理一部分
2. **串联审核**:一个 NPC 完成后,另一个继续优化
3. **并行处理**:多个 NPC 同时处理独立任务

## 何时主动建议召唤

作为 AI,以下情况应主动建议用户召唤其他 NPC:

- 需求明显超出当前 NPC 能力
- 任务涉及多个专业领域
- 任务耗时长,可拆解并行

## 注意事项

- 召唤前先了解目标 NPC 的能力范围(通过 slogan 判断)
- 尽量一次召唤到位,避免反复补充上下文
- 模糊需求先自行分析,再决定是否召唤
- 始终把控整体任务,即使分配了子任务
- 评论中如果只提及 npc 不召唤,应该去掉 `@` 符号,或使用反引号包裹 `@npc`

From wopal-cn/wopal-space-ontology, MIT.

More from wopal-cn/wopal-space-ontology

Signals

Stars
3
Forks
1
Open issues
0
Last commit (this folder)
Sep 15, 2026 (1 month ago)
Last release
Oct 24, 2026 (5 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from wopal-cn

Cite this page

cnb-npc-delegate skill. Agent Mart. https://agentmart.dev/skills/wopal-cn-cnb-npc-delegate (last updated 2026-10-24)