delegate-agent

Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".

227 stars

Best use case

delegate-agent is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".

Teams using delegate-agent should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/delegate-agent/SKILL.md --create-dirs "https://raw.githubusercontent.com/hyperlist/feishu-multi-agent/main/skills/delegate-agent/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/delegate-agent/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How delegate-agent Compares

Feature / Agentdelegate-agentStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Delegate tasks to agents asynchronously. Triggers on "让XX做", "delegate to", "assign to", "派发", "布置任务".

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Delegate to Agent — 异步任务派发

## 核心原则

1. **异步不阻塞** — 派发后立刻回复用户,绝不同步等待
2. **绝不代替功能 Agent 执行** — 包括编码、搜索、分析、验证
3. **Agent 自验** — 验收命令写在 brief 里,Agent 自己跑
4. **失败不接手** — 优化提示词重新派发,不自己做

## 派发流程

```
1. 拆解任务 → 结构化 brief
2. sessions_list(limit=20) → 找到目标 sessionKey
3. sessions_send(sessionKey=..., message=brief, timeoutSeconds=10)
   - 收到回复 → 秒完成
   - 超时 → 正常,Agent 在后台工作
4. 立刻回复用户"已派发给 XX"
5. 心跳时 sessions_history(sessionKey=..., limit=3) 跟进
```

## 任务 Brief 模板

```
## 任务:[一句话描述]

### 背景
[上下文]

### 工作目录
[绝对路径]

### 需求
1. [具体要求]

### 技术约束
- [约束条件]

### 不要修改的文件
[受保护文件列表]

### 验收标准
- [ ] [测试命令 + 预期结果]

### 验证要求
完成后必须:运行验收命令 → 附完整输出 → 标注 ✅/❌
```

## Agent 路由

| 任务类型 | Agent |
|---------|-------|
| 编码/调试/重构 | coder |
| 信息搜索/分析 | scout |
| 交易/数据策略 | trader |
| 日程/提醒/生活 | butler |
| 学习/辅导 | tutor |
| Gateway/配置 | main(自己做) |

## 禁止事项

- ❌ `timeoutSeconds > 30`
- ❌ 等 Agent 完成再回复用户
- ❌ 自己跑命令验证 Agent 的工作
- ❌ Agent 失败后自己接手

## 失败处理

1. `sessions_history` 诊断卡点
2. 拆分任务 / 补充上下文 / 修改 SOUL.md
3. 重新派发
4. 3 次失败 → 汇报用户

Related Skills

Maintenance Skill

227
from hyperlist/feishu-multi-agent

飞书多 Agent 项目维护指南 - 仅供维护 feishu-multi-agent 项目时使用。

feishu-doc-writer

227
from hyperlist/feishu-multi-agent

Feishu document writing skill. Handles known API pitfalls (block ordering, unsupported formats). Activate when writing content into Feishu docs or creating structured documents.

feishu-chat

227
from hyperlist/feishu-multi-agent

飞书群聊管理:创建群、添加/移除成员、修改群信息。需要 exec 权限执行 curl 命令。

Config Update Skill

227
from hyperlist/feishu-multi-agent

OpenClaw 配置安全更新指南。

agent-comm

227
from hyperlist/feishu-multi-agent

跨 Agent 通信。当用户说"问XX"、"让XX做"、"发给XX"、"check agent status"时使用。

project-switcher

227
from hyperlist/feishu-multi-agent

多项目管理和目录切换。用户发送 /repo 时列出项目,选择后切换工作目录。 适用于 coder agent 同时维护多个代码仓库的场景。

git-workflow

227
from hyperlist/feishu-multi-agent

Git 工作流规范。管理分支、commit、PR 的标准流程。 用户发送 /git 或涉及版本控制操作时触发。

code-review

227
from hyperlist/feishu-multi-agent

代码审查技能。用户发送 /review 或要求 review 时触发。 自动检查代码质量、安全问题、架构建议。

feishu-multi-agent

227
from hyperlist/feishu-multi-agent

飞书多 Agent 系统搭建指南。当用户要求创建新的功能 Agent、配置飞书群聊绑定、 搭建多 Agent 协作系统时激活此 skill。 触发词:创建 agent、新建 agent、添加 agent、create agent、多 agent、飞书绑定。

outlook-delegate

3891
from openclaw/skills

Read, search, and manage Outlook emails and calendar via Microsoft Graph API with delegate support. Your AI assistant authenticates as itself but accesses the owner's mailbox/calendar as a delegate. Modified for delegate access from https://clawhub.ai/jotamed/outlook

delegate

170
from Miosa-osa/canopy

Assign work to a specific workspace agent or external runtime. Picks the right adapter (Claude for reasoning, Codex for bulk changes, Gemini for multimodal). Creates tasks with parent chain tracking for full delegation lineage. Triggers on: "delegate", "assign", "hand off", "send to agent"

delegate-access

139
from nirholas/XActions

Add, remove, and manage delegate accounts on X/Twitter. Delegates can post, reply, or like on behalf of your account. Use when users want to grant or revoke access to their account for a team member or manager.