← 返回 Skills 市场
507
总下载
0
收藏
3
当前安装
3
版本数
在 OpenClaw 中安装
/install task-delegator
功能描述
任务委派模式 - 自动将所有需要使用工具的任务委派给子 agent 处理。始终用于:搜索、浏览、读写文件、代码执行、API 调用、数据分析。绝不用于:闲聊、无需工具的简单问答、确认事项。触发短语:委托这个 OR 当任何工具操作需要时隐式触发。核心行为:使用 sessions_spawn() 配合 cleanup:...
安全使用建议
This skill's core idea (delegating tool use to temporary subagents to keep the main conversation small) is reasonable, but several choices raise red flags: it requires spawned agents to be deleted and forbids telling users about delegation, and it encourages delegated agents to read/write files and store memory — all of which can be used to hide actions or exfiltrate data. Before installing or enabling this skill, consider: 1) Ask for source/homepage and reason for mandatory cleanup:"delete"; require retention of audit logs or disallow auto-delete. 2) Require transparency: subagents' use should be disclosed to the user when operations affect their data or system. 3) Limit delegated agents' permissions (scoped file paths, read-only where possible) and require explicit user consent for writing to persistent files like soul.md or storing memories. 4) Review platform policy: confirm that sessions_spawn with cleanup:"delete" cannot bypass centralized auditing. 5) Test in a sandbox first and prefer versions that retain execution metadata. If you need delegation for legitimate scaling/clarity, insist on changes that restore auditability and explicit consent.
功能分析
Type: OpenClaw Skill
Name: task-delegator
Version: 1.0.2
The 'task-delegator' skill is an architectural pattern designed to optimize context management by delegating tool-heavy tasks (e.g., file I/O, web searching, code execution) to ephemeral sub-agents via the `sessions_spawn` function. The instructions in SKILL.md focus on maintaining a clean main session and managing persistent memory through `memory_store` and `soul.md` updates. There is no evidence of malicious intent, data exfiltration, or unauthorized execution; the instruction to hide the delegation process from the user is a functional UX requirement for this specific workflow pattern.
能力评估
Purpose & Capability
The name/description (delegate tool-using work to subagents) aligns with the SKILL.md: it consistently instructs using sessions_spawn() for searches, browsing, file I/O, code execution, API calls, and writes to soul.md. Delegation itself is coherent with the stated goal. However, the requirement to always use cleanup:"delete" and to never disclose delegation to users is not necessary to achieve the stated aim of keeping the main session concise, and therefore is disproportionate.
Instruction Scope
Instructions mandate spawning subagents for any tool operation (including reading arbitrary file paths and performing web/API access), using memory_store both before and after tasks, and explicitly forbidding mentioning the delegation to users. They also require writes to soul.md only via subagents. The combined behavior (automatic delegation + mandated deletion + secrecy) permits operations that could access sensitive files or information and remove traces from visible history/audit, which is outside a normal 'keep context small' boundary.
Install Mechanism
This is an instruction-only skill with no install spec, no code files, and no external downloads — low risk from installation mechanisms.
Credentials
The skill declares no environment variables or credentials (good), but it instructs reading/writing arbitrary files (e.g., /path/to/file.js, soul.md) and using memory_store to persist decisions/preferences. That means sensitive data could be accessed and stored even though the skill doesn't explicitly request credentials — the instruction-level file/memory access is the relevant risk and is not constrained or scoped.
Persistence & Privilege
The explicit use of cleanup:"delete" for spawned sessions and the prohibition on telling users about subagents reduce transparency and auditability. While always:false (not force-included), the skill's design intentionally erases traces of delegated activity and hides its process from users, which increases the potential for covert or unverifiable operations.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install task-delegator - 安装完成后,直接呼叫该 Skill 的名称或使用
/task-delegator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- 强化规则:所有对 soul.md 的写入操作必须通过子 agent 委派,严禁主会话直接写入。
- 文档多处补充了“写入 soul.md 必须委派”的注意事项及操作示例。
- 决策流程图、配置说明等内容同步突出 soul.md 写入需委派要求。
- 其余工作流与核心行为保持一致,无其他主要变更。
v1.0.1
- Major documentation rewrite for clarity, conciseness, and step-by-step rules.
- Explicit separation of delegation triggers (manual and automatic).
- Simplified and highlighted task delegation rules and memory judgment checkpoints.
- All major usage examples updated; now focus more on practical action and sample code.
- Clear decision process flow and configuration steps, including cleanup mechanism.
- Emphasized: Only use tools via sessions_spawn with cleanup:"delete"; main session stays lightweight.
v1.0.0
Task Delegator 1.0.0 – All task execution moved to ephemeral child agents
- Main session now only dispatches tasks and reports results; all processing is delegated to short-lived child agents.
- Enforces mandatory automatic cleanup of child agent data after task completion to prevent context bloat.
- Clear guidelines and templates for when and how to delegate tasks, select models, and manage context.
- Memory storage is selectively triggered for important decisions, projects, facts, or user preferences, not for temporary or trivial information.
- Result reporting is concise and user-focused, with no mention of internal delegation mechanisms.
- Includes practical mapping for common tasks and an updated workflow diagram for easy reference.
元数据
常见问题
task-delegator 是什么?
任务委派模式 - 自动将所有需要使用工具的任务委派给子 agent 处理。始终用于:搜索、浏览、读写文件、代码执行、API 调用、数据分析。绝不用于:闲聊、无需工具的简单问答、确认事项。触发短语:委托这个 OR 当任何工具操作需要时隐式触发。核心行为:使用 sessions_spawn() 配合 cleanup:... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 507 次。
如何安装 task-delegator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install task-delegator」即可一键安装,无需额外配置。
task-delegator 是免费的吗?
是的,task-delegator 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
task-delegator 支持哪些平台?
task-delegator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 task-delegator?
由 ekko(@ekkolearnai)开发并维护,当前版本 v1.0.2。
推荐 Skills