delegate-task
Skill này làm gì
Skill này hướng dẫn AI agent cách gửi một nhiệm vụ cho OpenSpace, một worker bên ngoài kết nối qua MCP. Nó dành cho những người cần công việc lập trình, DevOps hoặc nghiên cứu vượt quá khả năng công cụ của agent.
Khi nào nên dùng
- ✓Khi nhiệm vụ cần công cụ hoặc khả năng mà agent không có quyền truy cập.
- ✓Khi agent đã thử một nhiệm vụ và làm sai, và có thể tồn tại một skill đã được thử nghiệm cho việc đó.
- ✓Khi một nhiệm vụ nhiều bước phức tạp sẽ được hưởng lợi từ thư viện skill và điều phối.
Liên kết skill
https://github.com/HKUDS/AgentPilot/blob/main/openspace/legacy/v1/openspace/host_skills/delegate-task/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi cần kiểm tra các container Docker của mình và khởi động lại an toàn container dùng nhiều bộ nhớ nhất. Hãy giao nhiệm vụ này cho OpenSpace.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent gọi công cụ execute_task với mô tả đơn giản về công việc. OpenSpace tìm trong các skill của nó, chạy nhiệm vụ và có thể cải thiện skill. Sau đó agent kiểm tra phản hồi xem có skill nào đã được cải tiến không.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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_taskmay take minutes — this is expected for multi-step tasks.- If
execute_tasktimes out, first check the host's MCP timeout settings. Changing fromstdioto HTTP (sseorstreamable-http) does not remove host-side per-call time limits. upload_skillrequires a cloud API key; if it fails, th
Câu hỏi thường gặp
Phạm vi tìm kiếm có tác dụng gì?
Nó quyết định OpenSpace chỉ tìm skill cục bộ hay cả cộng đồng trên cloud; mặc định là tìm cả hai.
Tôi có thể giới hạn thời gian làm việc không?
Có, cài đặt số lần lặp tối đa giới hạn số bước của agent, mặc định là 20.
Các skill mới có tự động được tải lên không?
Skill nói agent quyết định có tải lên một skill đã cải tiến hay không, nên điều này không tự động.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 7.8k
- Vị trí xếp hạng
- #13036
- Giấy phép
- MIT
- Cập nhật
- 1/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agentpilot
7.8kGiúp agent của bạn cải thiện dự án từng bước bằng cách chuẩn bị tác vụ và chạy vòng lặp AgentPilot, gồm đề xuất, kiểm thử và chấm điểm thay đổi.
openspace
7.8kGiúp agent của bạn thiết lập OpenSpace, công cụ lưu và lấy lại skill của agent, rồi kết nối nó với ứng dụng AI của bạn qua MCP.
rsi-arena
7.8kGiúp agent của bạn thiết lập và chạy các bài kiểm thử benchmark AI chuẩn, như AIME và Terminal-Bench, để so sánh các phương pháp cải tiến khác nhau.
experiment-guide
7.8kGiúp agent của bạn lên kế hoạch các thí nghiệm nhỏ, đọc kết quả và ghi lại phát hiện khi tìm cách cải thiện một chương trình.
Skill tương tự
mcporter
394kGiúp agent của bạn liệt kê, gọi và kiểm tra các máy chủ MCP cùng công cụ của chúng qua HTTP hoặc stdio, và quản lý cài đặt đăng nhập.
fastmcp
260kGiúp bạn xây dựng, kiểm thử và triển khai một máy chủ MCP bằng Python, cấp cho trợ lý AI quyền truy cập API, cơ sở dữ liệu hoặc file của bạn dưới dạng công cụ.
mcp-oauth-remote-gateway
260kHướng dẫn bạn đăng nhập OAuth cho máy chủ MCP từ xa khi Hermes chạy trên máy chủ, nơi đăng nhập bằng trình duyệt thông thường không thể truy cập được.