home / skills / openclaw / skills / doing-tasks

This skill guides you through planning and executing tasks, tracking progress, handling blockers, and coordinating actions across agents.

npx playbooks add skill openclaw/skills --skill doing-tasks

Review the files below or copy the command above to add this skill to your agents.

Files (1)
SKILL.md
3.3 KB
---
name: doing-tasks
description: "Use when executing any task. Work through plans systematically, tracking progress, handling blockers, and coordinating with other skills. The central execution skill."
---

# Doing Tasks - Execution Core

## The Rule

**If a task exists, you MUST use the appropriate skill before acting.**

```
User message received
    ↓
Might any skill apply? → YES (even 1% chance) → Invoke skill
    ↓                                    ↓
    NO ← definitely not                  Announce: "Using [skill]"
    ↓                                    ↓
Respond                              Follow skill exactly
```

## Skill Priority

When multiple skills could apply:

1. **Process skills first** (brainstorming, debugging) - determine HOW
2. **Planning skills second** (write-plan) - create roadmap
3. **Execution skills third** (doing-tasks, dispatch-multiple-agents) - do the work
4. **Verification skills last** (verify-task) - confirm completion

## The Workflow

### Standard Project Flow:

```
brainstorming → write-plan → doing-tasks → verify-task
     ↑                              ↓
     └────── refinement ←───────────┘
```

### With Parallel Execution:

```
brainstorming → write-plan → dispatch-multiple-agents → verify-task
                                   ↓
                            doing-tasks (per subagent)
```

## Red Flags - STOP and Check Skills

| Thought | Reality |
|---------|---------|
| "This is just a simple question" | Questions are tasks. Check for skills. |
| "I need more context first" | Skill check comes BEFORE clarifying. |
| "Let me explore first" | Skills tell you HOW to explore. |
| "I can check files quickly" | Check for skills first. |
| "I remember this skill" | Skills evolve. Read current version. |
| "This doesn't need a formal skill" | If a skill exists, use it. |
| "I'll just do this one thing first" | Check BEFORE doing anything. |

## Execution Discipline

### Do:
- Check for skills BEFORE any action
- Follow the plan exactly
- Mark tasks complete as you finish
- Report blockers immediately
- Ask for clarification when unclear

### Don't:
- Skip skills because "it's simple"
- Add unplanned scope without approval
- Work silently for long periods
- Guess when unclear
- Let blockers sit unreported

## Integration with Clawlist

For long-running or infinite tasks:

```
doing-tasks → update ongoing-tasks.md → schedule next run
```

The doing-tasks skill executes, then updates the task tracking file for heartbeat monitoring.

## Sub-Skills Reference

- **brainstorming** - Before any creative work
- **write-plan** - After design, before execution
- **dispatch-multiple-agents** - For parallel independent tasks
- **verify-task** - After completion

## Example

**User:** "Build me a todo app"

**Correct flow:**
1. "Using brainstorming skill to clarify requirements"
2. Brainstorm: Ask questions, explore approaches
3. "Using write-plan skill to create implementation plan"
4. Write-plan: Create checkpoints and tasks
5. "Using doing-tasks skill to execute"
6. Execute: Work through plan
7. "Using verify-task skill to confirm completion"
8. Verify: Check against plan, get user approval

**Incorrect:**
- Jumping straight to coding without brainstorming
- Starting work without a plan
- Skipping verification

Overview

This skill is the central execution engine for carrying out tasks against an approved plan. It coordinates progress, enforces discipline around skill use, and tracks status and blockers until work is complete. Use it whenever actual work needs to be performed following planning and process steps.

How this skill works

Before taking any action, the skill checks for and invokes any higher-priority skills that apply (process and planning). It then executes the agreed plan step-by-step, marks subtasks complete, logs progress to task tracking (e.g., ongoing-tasks.md), and reports blockers immediately. On completion it hands control to verification skills to confirm results with the requester.

When to use it

  • When you have a concrete plan from the write-plan skill and need execution.
  • For single-agent execution of planned checkpoints and deliverables.
  • To run per-subagent tasks after dispatch-multiple-agents spawns parallel work.
  • For long-running tasks that require heartbeat updates to ongoing-tasks.md.
  • Whenever a user requests work that is more than a quick clarification or single-step answer.

Best practices

  • Always run a skill discovery check before acting; if any applicable skill exists, invoke it.
  • Follow the plan exactly unless scope change is approved; never add unplanned work.
  • Break work into clear checkpoints and mark each as complete when done.
  • Report blockers immediately and request clarifying input rather than guessing.
  • Update the task tracking file after each run for heartbeat and monitoring.

Example use cases

  • Executing an implementation plan for a todo app after brainstorming and planning are complete.
  • Processing a multi-step data migration where each step is a tracked checkpoint.
  • Running a per-agent task after dispatch-multiple-agents splits a project into parallel subagents.
  • Handling a multi-day content production workflow and updating ongoing-tasks.md each run.
  • Carrying out a well-defined QA checklist and then invoking verification to confirm results.

FAQ

What if I discover new requirements while executing?

Stop and report the discovery as a blocker. Don’t add scope. Request clarification or a plan update before continuing.

When should I use dispatch-multiple-agents instead?

Use dispatch-multiple-agents when work can be done in parallel by independent subagents. doing-tasks runs each subagent’s execution if assigned to a single agent.