Agent skill
review-offered-task
Review a task that has been offered to you and decide whether to accept or reject it
Install this agent skill to your Project
npx add-skill https://github.com/desplega-ai/agent-swarm/tree/main/plugin/pi-skills/review-offered-task
SKILL.md
Review Offered Task
You have been offered a task. Your job is to review it and decide whether to accept or reject it based on your capabilities and current workload.
Workflow
-
Get task details: Call the
get-task-detailstool with the providedtaskIdto understand what the task involves. -
Evaluate the task: Consider:
- Does this task match your capabilities?
- Do you have the necessary context or access to complete it?
- Is the task description clear enough to proceed?
-
Make a decision:
- Accept: If you can complete this task, call
task-actionwithaction: "accept"andtaskId: "<taskId>". Then immediately use/skill:work-on-task <taskId>to start working on it. - Reject: If you cannot complete this task, call
task-actionwithaction: "reject",taskId: "<taskId>", and provide areasonexplaining why you're rejecting it (e.g., "Task requires Python expertise which I don't have", "Task description is too vague").
- Accept: If you can complete this task, call
Example Accept Flow
1. get-task-details taskId="abc-123"
2. [Review the task details]
3. task-action action="accept" taskId="abc-123"
4. /skill:work-on-task abc-123
Example Reject Flow
1. get-task-details taskId="abc-123"
2. [Review the task details]
3. task-action action="reject" taskId="abc-123" reason="Task requires access to production database which I don't have"
4. Reply "DONE" to end the session
Important Notes
- Always provide a clear reason when rejecting a task - this helps the lead agent reassign it appropriately
- If you accept, you must immediately start working on the task using
/skill:work-on-task - If you reject, the task returns to the unassigned pool for reassignment
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?