Agent skill
work-on-task
Work on a specific task assigned to you in the agent swarm
Install this agent skill to your Project
npx add-skill https://github.com/desplega-ai/agent-swarm/tree/main/plugin/pi-skills/work-on-task
SKILL.md
Working on a Task
If no taskId is provided, call poll-task to get a new task.
Workflow
-
Get task details: Call
get-task-detailswith the taskId. -
Recall relevant memories: Use
memory-searchwith the task description before starting any work. Past learnings, solutions, and gotchas are indexed here. -
Choose your approach based on the task type:
- Research task → use research
- Development task → use plan creation first, then plan implementation
- Simple/direct task (no plan needed) → implement directly
-
Work on it, calling
store-progressat each meaningful milestone (not just start and end — the lead monitors this). -
Complete the task — see Completion below.
Completion
Call store-progress with:
- Success:
status: "completed"+output: "<what you did and the result>". Output should be specific enough for the lead to assess without re-reading your work. - Failure:
status: "failed"+failureReason: "<what went wrong and what you tried>".
Then reply "DONE" to end the session.
Interruptions
If interrupted by the user, adapt to their instructions. When resuming, call /skill:work-on-task <taskId> again to pick up where you left off.
When to escalate
If you're stuck after genuine effort (not just first failure), use /skill:swarm-chat to ask the lead for help or clarification. Don't spin — escalate.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
implement-issue
Implement a GitHub issue or GitLab issue and create a PR/MR
start-leader
Start the Agent Swarm Leader
investigate-sentry-issue
Investigate and triage a Sentry error issue
user-management
How to manage the user registry — creating users for new Slack/GitHub/GitLab identities, managing aliases, resolving users across platforms. Use when a new human interacts with the swarm or when user identity needs updating.
close-issue
Close a GitHub or GitLab issue with a summary comment
swarm-chat
Effective communication within the agent swarm using internal Slack
Didn't find tool you were looking for?