
delegation
by jiamingkong
A minimalist python implementation of CLI coding agents, using interleaved thinking (think with tools) and dynamic skill loading. The whole core mechanism implemented in two Python files.
SKILL.md
name: delegation description: Agent delegation and orchestration capabilities to split tasks and run them in parallel. allowed-tools:
- list_available_skills
- delegate_task
- check_task_status
Delegation & Orchestration Skill
This skill allows the main agent to act as an orchestrator, dispatching sub-tasks to independent sub-agents. This is useful for parallelizing work or isolating complex sub-problems.
Tools
list_available_skills
View which skills (servers) can be assigned to sub-agents.
- returns: A list of available skills.
delegate_task
Spawns a new autonomous sub-agent process to handle a specific task. The sub-agent runs asynchronously.
task_description: Clear instructions for the sub-agent.skills_needed: List of skill names the sub-agent requires (e.g.,["web_fetch", "office_reader"]).- returns: A
task_idfor tracking.
check_task_status
Retrieves the status (RUNNING/COMPLETED) and the final output of a delegated task.
task_id: The ID returned bydelegate_task.- returns: Status message and result content if finished.
Usage Pattern
- Analyze the user's complex request.
- Break down the request into sub-tasks.
- List skills to see what's available for sub-agents.
- Delegate each sub-task using
delegate_task. - Monitor progress using
check_task_status. - Integrate the results from sub-agents into a final answer.
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon