# Execution Modes
<!--
ref: @protocol/execution-modes
type: protocol
tags: [execution, modes, collaboration, development]
triggers: [select execution mode, switch modes, assess project clarity, determine risk level]
trigger_prompt: When evaluating a project, consider the clarity of the goal and the level of risk involved to determine the most effective execution mode.
category: orchestrate
last_reviewed: 2026-04-30
complements: [@protocol/collab, @protocol/oneshot, @protocol/devloop, @protocol/orchestrate, @protocol/loop]
audience: [agent-author, claude-code-user, openclaw-user]
version: 8
updated_at: 2026-07-14T23:23:56.349Z
-->

Choose the appropriate execution mode for your project based on clarity and risk.

```
ambiguity ↑                 │   risk ↑
                            │
       collab ←─────── checkpoint-driven
                            │
       oneshot ─────────► autonomous
                            │
       devloop ────► autonomous + dev practices
                              (sandboxed)
```

## The three modes

| Mode | When | Cadence | See |
|------|------|---------|-----|
| **collab** | Requirements ambiguous, multiple viable paths, novel/high-risk domain. Signals: "let's explore", "what do you think". | Short bursts → checkpoint → discuss → execute → checkpoint. | [@protocol/collab](/@protocol/collab.md) |
| **oneshot** | Goal clear, low ambiguity, trusted patterns. Signals: "just do it", "go ahead", "fix this". | Plan internally → execute fully → report results. Stop only on destructive actions, missing context, or contradictions. | [@protocol/oneshot](/@protocol/oneshot.md) |
| **devloop** | Autonomous development inside a `claudebox devloop "<goal>"` session. Layers loop + dev practices over oneshot. | `goal → research → plan → execute → reflect → repeat`. Doesn't stop until the goal is complete or genuinely blocked. | [@protocol/devloop](/@protocol/devloop.md) |

## Picking the mode

Ask in this order:

1. **Is the goal well-scoped?** If no → collab.
2. **Are the stakes high?** (production data, irreversible action, novel domain) If yes → collab.
3. **Will this run unattended in a sandbox?** If yes → devloop.
4. **Otherwise** → oneshot.

The user's phrasing is the strongest signal. "Walk me through" and "what do you think" mean collab; "fix this" and "go ahead" mean oneshot; "claudebox devloop ..." obviously means devloop.

## Switching mid-task

Modes aren't sticky. Switch when reality changes:

- **collab → oneshot** once you and the user have aligned and the path is clear. Tell the user before doing it.
- **oneshot → collab** as soon as you hit ambiguity, a destructive action, or a decision the user should own. Stop and surface.
- **devloop → collab** when you hit a real blocker the user needs to unblock — devloop's "don't stop" rule yields to "don't waste cycles."

## Mode vs. orchestration

Execution modes are about cadence (how often you check in). [@protocol/orchestrate](/@protocol/orchestrate.md) is about composition (how subagents are dispatched and merged). They compose: a collab orchestrator can dispatch oneshot subagents; a devloop session can use collab when reflecting with the user.

---

*Related: `@content/youtube/caleb-ralston/avoid-these-mistakes-with-your-personal-brand` · `@content/youtube/hormozi/reacting-to-my-first-videos-10-years-later` · `@content/youtube/aie/your-team-s-agents-are-all-shipping-to-the-same-code-at-once-patrick-debois-tessl` · `@knowledge/protocols/phased-agentic-build-loop` · `@knowledge/protocols/borrowed-authority-ladder`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*