Skip to content

Commit 2a982c8

Browse files
committed
docs: add guidance to break complex goals into sequential sub-tasks
1 parent d0fda6b commit 2a982c8

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

mobilerun/SKILL.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,21 @@ You have **two approaches** -- choose based on the task:
861861
- When direct control isn't producing good results
862862
- **When managing multiple devices** -- always use tasks for multi-device scenarios. Direct control is sequential (one action at a time on one device), so controlling multiple devices by hand is too slow. Submit a task to each device and monitor them in parallel.
863863

864+
**Breaking big goals into sub-tasks:**
865+
If a goal is too complex for a single task (many steps, multiple apps, high chance of failure), break it into smaller sequential sub-tasks:
866+
1. Split the goal into clear, self-contained sub-goals
867+
2. Submit the first sub-task via `POST /tasks`
868+
3. Wait for it to complete, check the result
869+
4. If it succeeded, submit the next sub-task (the device is already in the right state from the previous task)
870+
5. Repeat until done
871+
872+
Example: "Order groceries from the Instacart app" could be:
873+
1. `"Open Instacart and search for 'organic bananas', add the first result to cart"`
874+
2. `"Search for 'whole milk', add the first result to cart"`
875+
3. `"Go to cart and report back the total price -- do not checkout"`
876+
877+
This gives you checkpoints between steps, lets you steer or abort early, and keeps each task focused so the agent is less likely to get lost.
878+
864879
**Combining both approaches:**
865880
You can mix direct control and tasks in the same workflow:
866881
- Use direct control to quickly set something up (open the right app, navigate to a screen), then launch a task for the complex part.

0 commit comments

Comments
 (0)