← Back to Skills Marketplace
507
Downloads
0
Stars
3
Active Installs
3
Versions
Install in OpenClaw
/install task-delegator
Description
任务委派模式 - 自动将所有需要使用工具的任务委派给子 agent 处理。始终用于:搜索、浏览、读写文件、代码执行、API 调用、数据分析。绝不用于:闲聊、无需工具的简单问答、确认事项。触发短语:委托这个 OR 当任何工具操作需要时隐式触发。核心行为:使用 sessions_spawn() 配合 cleanup:...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install task-delegator - After installation, invoke the skill by name or use
/task-delegator - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is task-delegator?
任务委派模式 - 自动将所有需要使用工具的任务委派给子 agent 处理。始终用于:搜索、浏览、读写文件、代码执行、API 调用、数据分析。绝不用于:闲聊、无需工具的简单问答、确认事项。触发短语:委托这个 OR 当任何工具操作需要时隐式触发。核心行为:使用 sessions_spawn() 配合 cleanup:... It is an AI Agent Skill for Claude Code / OpenClaw, with 507 downloads so far.
How do I install task-delegator?
Run "/install task-delegator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is task-delegator free?
Yes, task-delegator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does task-delegator support?
task-delegator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created task-delegator?
It is built and maintained by ekko (@ekkolearnai); the current version is v1.0.2.
More Skills