OpenParable
Skip to content
← Back to skills

Work On Task

Productivity
work-on-task

Work On Task is an Agent Skill for productivity published in the desplega-ai/agent-swarm repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Work on a specific task assigned to you in the agent swarm

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/desplega-ai/agent-swarm/blob/HEAD/plugin/pi-skills/work-on-task/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/work-on-task, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Working on a Task

If no taskId is provided, call poll-task to get a new task.

Workflow

  1. Get task details: Call get-task-details with the taskId.

  2. Recall relevant memories: Use memory-search with the task description before starting any work. Past learnings, solutions, and gotchas are indexed here.

  3. 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
  4. Work on it, calling store-progress at each meaningful milestone (not just start and end — the lead monitors this).

  5. 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.