← 返回
未分类 中文

OpenClaw Subagent Toolset

Provides predefined constrained tool subsets for spawning sub-agents tailored to task types like Explore, Plan, Verification, Coding, and Secretary.
提供预定义的受限工具子集,用于根据任务类型(如探索、计划、验证、编程、秘书)生成子代理。
hanxiao-bot
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 312
下载
💾 0
安装
1
版本
#latest

概述

Subagent Toolset - Constrained Subagent Tool Sets

Purpose

When spawning a sub-agent, select the appropriate tool subset based on task type and add it to the task prompt to constrain its behavior.

Tool Subsets

Explore

For information gathering, code reading, file analysis.

  • read_file: Read file contents
  • glob_search: Path pattern search
  • grep_search: Content search
  • WebFetch: Fetch web page content
  • WebSearch: Web search
  • Skill: Invoke other skills
  • StructuredOutput: Structured output

Forbidden: exec, sessions_spawn, edit, write

Plan

For task breakdown, planning, scheme design.

  • read_file: Read files
  • glob_search: Path search
  • grep_search: Content search
  • WebFetch: Fetch reference material
  • TodoWrite: Write task list
  • SendUserMessage: Send messages
  • StructuredOutput: Structured output

Forbidden: exec, sessions_spawn, edit, write

Verification

For testing, verification, result confirmation.

  • bash: Execute commands (read-only verification commands only)
  • read_file: Read files
  • glob_search: Path search
  • grep_search: Content search
  • WebFetch: Fetch reference material
  • TodoWrite: Record results
  • StructuredOutput: Structured output
  • PowerShell: Windows commands

Forbidden: sessions_spawn, edit (dangerous write operations)

Coding

For code writing, debugging, fixing.

  • read_file: Read files
  • write_file: Write files
  • edit_file: Edit files
  • glob_search: Path search
  • grep_search: Content search
  • bash: Execute commands for verification
  • TodoWrite: Task tracking
  • StructuredOutput: Structured output
  • WebFetch: Fetch reference material

Full tool access (high privilege)

Secretary

For document organization, summarization, report generation.

  • read_file: Read files
  • glob_search: Path search
  • TodoWrite: Write task list
  • SendUserMessage: Send messages
  • StructuredOutput: Structured output

Forbidden: exec, sessions_spawn, edit, write, glob_search, grep_search

Usage

When spawning a sub-agent, read the corresponding tool subset from this skill and prepend it to the task prompt:

You are an Explore-type sub-agent.
You may only use the following tools: read_file, glob_search, grep_search, WebFetch, WebSearch, Skill
Forbidden: exec, sessions_spawn, edit, write

[Your task follows...]

Notes

  • Tool subsets are soft constraints (LLM compliance), not hard restrictions
  • For dangerous operations (file deletion, config modification), explicit prohibition is required
  • High-privilege tasks (Coding type) should be used with caution

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 12:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

OpenClaw Hook Examples

hanxiao-bot
为 OpenClaw 提供示例钩子,用于拦截、修改、阻止工具调用,切换模型,记录操作以及处理子代理事件。
★ 0 📥 429

Auto Skill Trigger

hanxiao-bot
自动技能触发 - 使用关键词评分匹配技能与任务
★ 0 📥 427

OpenClaw Compact Summary

hanxiao-bot
生成结构化的 Markdown 摘要,涵盖对话记忆刷新的关键统计、工具、用户请求、任务、文件及时间线详情。
★ 0 📥 439