Skip to content
Skillpedia
Connectors (MCP)7.8k Β· #13036

delegate-task

What it does

This skill tells the AI agent how to send a task to OpenSpace, an outside worker connected through MCP. It is for people who need coding, DevOps or research work done beyond the agent's own tools.

When to use it

  • βœ“When the task needs tools or abilities the agent does not have access to.
  • βœ“When the agent tried a task and got it wrong, and a tested skill may exist for it.
  • βœ“When a complex multi-step task would benefit from a library of skills and orchestration.

Skill link

https://github.com/HKUDS/AgentPilot/blob/main/openspace/legacy/v1/openspace/host_skills/delegate-task/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/HKUDS/AgentPilot/blob/main/openspace/legacy/v1/openspace/host_skills/delegate-task/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œI need my Docker containers checked and the most memory-heavy one restarted safely. Hand this task to OpenSpace.”

5 new skills a week. 1 minute to read.

How it works

The agent calls the execute_task tool with a plain description of the job. OpenSpace searches its skills, runs the task and can improve its skills. The agent then checks the response for any evolved skills.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Delegate Tasks to OpenSpace

OpenSpace is connected as an MCP server. Whether the host uses stdio, sse, or streamable-http, you have the same 4 tools available: execute_task, search_skills, fix_skill, upload_skill.

When to use

  • You lack the capability β€” the task requires tools or capabilities beyond what you can access
  • You tried and failed β€” you produced incorrect results; OpenSpace may have a tested skill for it
  • Complex multi-step task β€” the task involves many steps, tools, or environments that benefit from OpenSpace's skill library and orchestration
  • User explicitly asks β€” user requests delegation to OpenSpace

Tools

execute_task

Delegate a task to OpenSpace. It will search for relevant skills, execute, and auto-evolve skills if needed.

execute_task(task="Monitor Docker containers, find the highest memory one, restart it gracefully", search_scope="all")
Parameter Required Default Description
task yes β€” Task instruction in natural language
search_scope no "all" Local + cloud; falls back to local-only if no API key
max_iterations no 20 Max agent iterations β€” increase for complex tasks, decrease for simple ones

Check response for evolved_skills. If present with upload_ready: true, decide whether to upload (see "When to upload" below).

{
  "status": "success",
  "response": "Task completed successfully",
  "evolved_skills": [
    {
      "skill_dir": "/path/to/skills/new-skill",
      "name": "new-skill",
      "origin": "captured",
      "change_summary": "Captured reusable workflow pattern",
      "upload_ready": true
    }
  ]
}

search_skills

Search for available skills before deciding whether to handle a task yourself or delegate.

search_skills(query="docker container monitoring", source="all")
Parameter Required Default Description
query yes β€” Search query (natural language or keywords)
source no "all" Local + cloud; falls back to local-only if no API key
limit no 20 Max results
auto_import no true Auto-download top cloud skills locally

fix_skill

Manually fix a broken skill.

fix_skill(
  skill_dir="/path/to/skills/weather-api",
  direction="The API endpoint changed from v1 to v2, update all URLs and add the new 'units' parameter"
)
Parameter Required Description
skill_dir yes Path to skill directory (must contain SKILL.md)
direction yes What's broken and how to fix β€” be specific

Response has upload_ready: true β†’ decide whether to upload.

upload_skill

Upload a skill to the cloud community. For evolved/fixed skills, metadata is pre-saved β€” just provide skill_dir and visibility.

upload_skill(
  skill_dir="/path/to/skills/weather-api",
  visibility="public"
)

For new skills (no auto metadata β€” defaults apply, but richer metadata improves discoverability):

upload_skill(
  skill_dir="/path/to/skills/my-new-skill",
  visibility="public",
  origin="imported",
  tags=["weather", "api"],
  created_by="my-bot",
  change_summary="Initial upload of weather API skill"
)
Parameter Required Default Description
skill_dir yes β€” Path to skill directory (must contain SKILL.md)
visibility no "public" "public" or "private"
origin no auto How the skill was created
parent_skill_ids no auto Parent skill IDs
tags no auto Tags
created_by no auto Creator
change_summary no auto What changed

When to upload

Situation Action
Skill was originally from the cloud Upload back as "public" β€” return the improvement to the community
Fix/evolution is generally useful Upload as "public"
Fix/evolution is project-specific Upload as "private", or skip
User says to share Upload with the visibility the user wants

Notes

  • execute_task may take minutes β€” this is expected for multi-step tasks.
  • If execute_task times out, first check the host's MCP timeout settings. Changing from stdio to HTTP (sse or streamable-http) does not remove host-side per-call time limits.
  • upload_skill requires a cloud API key; if it fails, th
FAQ

What does the search scope do?

It sets whether OpenSpace searches only local skills or also the cloud community; the default searches both.

Can I limit how long it works?

Yes, the max iterations setting limits the number of agent steps, with a default of 20.

Are new skills uploaded automatically?

The skill says the agent decides whether to upload an evolved skill, so it is not automatic.

Details

Original description by the author

Delegate tasks to OpenSpace β€” a full-stack autonomous worker for coding, DevOps, web research, and desktop automation, backed by an extensive MCP tool and skill library. Skills auto-improve through use, reducing token consumption over time. A cloud community lets agents share and collectively evolve reusable skills.

repo: HKUDS/AgentPilot

Popularity

GitHub stars
7.8k
Ranking position
#13036
License
MIT
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills