Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

task-decomposer任务分解器

Agent Skill

task-decomposer 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

231,719

周安装

9,852

GitHub Stars

10

下载量

81,180
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:task-decomposer(任务分解器)
来源仓库:https://github.com/10e9928a/task-decomposer
安装命令:
openclaw skills install task-decomposer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install task-decomposer

简介

将复杂的用户请求分解为可执行的子任务,识别所需的功能,在 skills.sh 中搜索现有技能,并在不存在解决方案时创建新技能。当用户提交复杂的多步骤请求、想要自动化工作流程或需要帮助将大型任务分解为可管理的部分时,应该使用此技能。

SKILL.md

name
task-decomposer
description
Decomposes complex user requests into executable subtasks, identifies required capabilities, searches for existing skills at skills.sh, and creates new skills when no solution exists. This skill should be used when the user submits a complex multi-step request, wants to automate workflows, or needs help breaking down large tasks into manageable pieces.

Task Decomposer & Skill Generator

This skill helps decompose complex user requests into executable subtasks, identify required capabilities for each task, search for existing skills from the open skills ecosystem, and automatically create new skills when no existing solution is available.

Core Workflow

User Request → Task Decomposition → Capability Identification → Skill Search → Gap Analysis → Skill Creation → Execution Plan

Phase 1: Task Analysis & Decomposition

When receiving a user request, follow these steps:

Step 1: Understand User Intent

Analyze the request to identify:

  • Core objective: What is the end goal?
  • Domains involved: What areas of expertise are needed?
  • Trigger mechanism: One-time, scheduled, or event-driven?

Example analysis:

User Input: "Help me get email summaries every morning and send them to Slack"

Analysis:
- Core objective: Automated email digest delivery to Slack
- Domains: Email access, content summarization, messaging
- Trigger: Scheduled (daily morning)

Step 2: Decompose into Atomic Tasks

Break down the complex task into minimal executable units:

Task Decomposition:
  - task_id: 1
    name: "Access and retrieve email list"
    type: "data_retrieval"
    input: "Email credentials/session"
    output: "List of emails with metadata"
    dependencies: []
    
  - task_id: 2
    name: "Extract key information from emails"
    type: "data_extraction"
    input: "Email list"
    output: "Structured email data"
    dependencies: [1]
    
  - task_id: 3
    name: "Generate email summary"
    type: "content_generation"
    input: "Structured email data"
    output: "Formatted summary text"
    dependencies: [2]
    
  - task_id: 4
    name: "Send message to Slack"
    type: "message_delivery"
    input: "Summary text, Slack webhook/token"
    output: "Delivery confirmation"
    dependencies: [3]
    
  - task_id: 5
    name: "Configure scheduled execution"
    type: "scheduling"
    input: "Workflow script, schedule config"
    output: "Active scheduled job"
    dependencies: [4]

Phase 2: Capability Identification

Map each subtask to a capability type from the universal capability taxonomy.

Universal Capability Types

CapabilityDescriptionSearch Keywords
browser_automationWeb navigation, interaction, scrapingbrowser, selenium, puppeteer, playwright, scrape
web_searchInternet search and information retrievalsearch, google, bing, duckduckgo
api_integrationThird-party API communicationapi, rest, graphql, webhook, {service-name}
data_extractionParse and extract structured dataparse, extract, scrape, ocr, pdf
data_transformationConvert, clean, transform datatransform, convert, format, clean, etl
content_generationCreate text, images, or other contentgenerate, write, create, summarize, translate
file_operationsRead, write, manipulate filesfile, read, write, csv, excel, json, pdf
message_deliverySend notifications or messagesnotify, send, email, slack, discord, telegram
schedulingTime-based task executionschedule, cron, timer, daily, weekly
authenticationIdentity and access managementauth, oauth, login, token, credentials
database_operationsDatabase CRUD operationsdatabase, sql, mongodb, query, store
code_executionRun scripts or programsexecute, run, script, shell, python
version_controlGit and code repository operationsgit, github, gitlab, commit, pr, review
testingAutomated testing and QAtest, jest, pytest, e2e, unit
deploymentApplication deployment and CI/CDdeploy, docker, kubernetes, ci-cd, release
monitoringSystem and application monitoringmonitor, alert, log, metrics, health

Capability Identification Process

For each subtask:

  1. Analyze the task description and requirements
  2. Match to one or more capability types
  3. Generate search keywords for skill discovery

Example:

Task: "Send message to Slack"
Capability: message_delivery
Search Keywords: ["slack", "notification", "message", "webhook"]

Phase 3: Skill Search

Use the Skills CLI to search for existing skills at https://skills.sh/

Search Process

For each capability need, search using relevant keywords:

# Search for skills matching the capability
npx skills find <keyword>

# Examples:
npx skills find slack notification
npx skills find browser automation
npx skills find pdf extract
npx skills find github api

Evaluate Search Results

When results are returned:

Install with npx skills add <owner/repo@skill>

owner/repo@skill-name
└ https://skills.sh/owner/repo/skill-name

Evaluate each result for:

  • Relevance: Does it match the required capability?
  • Completeness: Does it cover all needed functionality?
  • Quality: Is it well-documented and maintained?

Generate Capability Mapping

Capability Mapping:
  - task_id: 1
    capability: browser_automation
    search_query: "browser email automation"
    found_skills:
      - name: "anthropic/claude-skills@browser-use"
        url: "https://skills.sh/anthropic/claude-skills/browser-use"
        match_score: high
    recommendation: "Install browser-use skill"
    
  - task_id: 4
    capability: message_delivery
    search_query: "slack notification"
    found_skills: []
    recommendation: "Create new skill: slack-notification"

Phase 4: Gap Analysis

Identify tasks without matching skills:

Built-in Capabilities (No Skill Needed)

These capabilities are typically handled by the agent's native abilities:

  • content_generation - LLM's native text generation
  • data_transformation - Basic data manipulation via code
  • code_execution - Direct script execution
  • scheduling - System-level cron/scheduler configuration

Skills Required

For capabilities without built-in support, determine:

  1. Skill exists: Install from skills.sh
  2. Skill not found: Create new skill

Phase 5: Skill Creation

When no existing skill matches a required capability, create a new skill.

Skill Creation Process

  1. Define scope: Determine what the skill should do
  2. Design interface: Define inputs, outputs, and usage patterns
  3. Create SKILL.md: Write the skill definition file
  4. Add resources: Include scripts, references, or assets as needed

Skill Template

---
name: {skill-name}
description: {Clear description of what the skill does and when to use it. Written in third person.}
---

# {Skill Title}

{Brief introduction explaining the skill's purpose.}

## When to Use

{Describe scenarios when this skill should be triggered.}

## Prerequisites

{List any required installations, configurations, or credentials.}

## Usage

{Detailed usage instructions with examples.}

### Basic Usage

{Basic command or code example}


### Advanced Usage

{More complex examples and options.}

## Configuration

{Any configuration options or environment variables.}

## Examples

### Example 1: {Use Case}

{Step-by-step example with code.}

## Troubleshooting

{Common issues and solutions.}

Initialize New Skill

# Create skill using the skills CLI
npx skills init <skill-name>

# Or manually create the structure:
# skill-name/
# ├── SKILL.md (required)
# ├── scripts/ (optional)
# ├── references/ (optional)
# └── assets/ (optional)

Phase 6: Generate Execution Plan

Compile all information into a structured execution plan:

Execution Plan:
  title: "{Task Description}"
  
  prerequisites:
    - "{Prerequisite 1}"
    - "{Prerequisite 2}"
  
  skills_to_install:
    - skill: "owner/repo@skill-name"
      command: "npx skills add owner/repo@skill-name -g -y"
      url: "https://skills.sh/owner/repo/skill-name"
  
  skills_to_create:
    - name: "{new-skill-name}"
      capability: "{capability_type}"
      description: "{What it does}"
  
  execution_steps:
    - step: 1
      task: "{Task name}"
      skill: "{skill-name | built-in}"
      action: "{Specific action to take}"
      
    - step: 2
      task: "{Task name}"
      skill: "{skill-name | built-in}"
      action: "{Specific action to take}"
  
  verification:
    - "{How to verify step 1 succeeded}"
    - "{How to verify step 2 succeeded}"

Task Decomposition Principles

Principle 1: Atomicity

Each subtask should be the minimal executable unit with clear input and output.

Principle 2: Independence

Minimize dependencies between tasks to allow parallel execution where possible.

Principle 3: Verifiability

Each task should have a clear way to verify successful completion.

Principle 4: Reusability

Identify reusable patterns and prefer creating general-purpose skills.

Principle 5: Single Responsibility

Each task should do one thing well.

Output Format

Present the decomposition results in a structured format:

════════════════════════════════════════════════════════════════
📋 TASK DECOMPOSITION REPORT
════════════════════════════════════════════════════════════════

🎯 Original Request:
{User's original request}

────────────────────────────────────────────────────────────────
📊 SUBTASKS
────────────────────────────────────────────────────────────────
┌─────┬────────────────────────┬───────────────────┬───────────┐
│ ID  │ Task                   │ Capability        │ Status    │
├─────┼────────────────────────┼───────────────────┼───────────┤
│ 1   │ {task name}            │ {capability}      │ Found     │
│ 2   │ {task name}            │ {capability}      │ Built-in  │
│ 3   │ {task name}            │ {capability}      │ Create    │
└─────┴────────────────────────┴───────────────────┴───────────┘

────────────────────────────────────────────────────────────────
🔍 SKILL SEARCH RESULTS
────────────────────────────────────────────────────────────────
Task 1: {task name}
  Search: npx skills find {keywords}
  Found: owner/repo@skill-name
  URL: https://skills.sh/owner/repo/skill-name
  
Task 3: {task name}
  Search: npx skills find {keywords}
  Found: No matching skills
  Action: Create new skill

────────────────────────────────────────────────────────────────
🛠️ SKILLS TO CREATE
────────────────────────────────────────────────────────────────
1. {skill-name}
   Capability: {capability_type}
   Description: {what it does}

────────────────────────────────────────────────────────────────
📝 EXECUTION PLAN
────────────────────────────────────────────────────────────────
Prerequisites:
  • {prerequisite 1}
  • {prerequisite 2}

Steps:
  1. {action} using {skill}
  2. {action} using {skill}
  3. {action} using {skill}

════════════════════════════════════════════════════════════════

Examples

Example 1: Workflow Automation

User Request:

Create a workflow that monitors GitHub issues, summarizes new issues, and posts notifications to Discord

Decomposition:

Subtasks:
  1. Monitor GitHub repository for new issues
     Capability: api_integration
     Search: "npx skills find github issues"
     
  2. Extract issue content and metadata
     Capability: data_extraction
     Status: Built-in (code)
     
  3. Generate issue summary
     Capability: content_generation
     Status: Built-in (LLM)
     
  4. Send notification to Discord
     Capability: message_delivery
     Search: "npx skills find discord notification"
     
  5. Configure webhook or polling trigger
     Capability: scheduling
     Status: Built-in (system)

Example 2: Data Pipeline

User Request:

Search for AI research papers, download PDFs, extract key findings, and save to Notion

Decomposition:

Subtasks:
  1. Search for AI research papers
     Capability: web_search
     Search: "npx skills find academic search"
     
  2. Download PDF files
     Capability: browser_automation
     Search: "npx skills find browser download"
     
  3. Extract text from PDFs
     Capability: data_extraction
     Search: "npx skills find pdf extract"
     
  4. Generate summaries of key findings
     Capability: content_generation
     Status: Built-in (LLM)
     
  5. Save to Notion database
     Capability: api_integration
     Search: "npx skills find notion"

Best Practices

  1. Start with skill search: Always check https://skills.sh/ before creating new skills
  2. Use specific search terms: Combine capability keywords with domain terms
  3. Leverage built-in capabilities: Don't create skills for things the agent can do natively
  4. Create reusable skills: Design new skills to be general-purpose when possible
  5. Document thoroughly: New skills should have clear usage instructions
  6. Verify before proceeding: Confirm skill installation before executing tasks
  7. Handle errors gracefully: Include fallback strategies in execution plans

Integration with find-skills

This skill works in conjunction with the find-skills skill for discovering existing solutions:

# Search the skills ecosystem
npx skills find <query>

# Install a discovered skill
npx skills add <owner/repo@skill> -g -y

# Browse all available skills
# Visit: https://skills.sh/

Notes

  • Always search for existing skills before creating new ones
  • Built-in capabilities (LLM, basic code) don't require skills
  • Skill creation requires user confirmation before proceeding
  • Complex workflows may need multiple skills working together

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.6%
按下载量换算62,184

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills