# Oneshot <!-- ref: @protocol/oneshot tags: [autonomous execution, task execution, agent mode, efficiency] triggers: [execute task, clear goal, trust agent, low ambiguity] trigger_prompt: When the user has a well-defined task that requires quick execution without the need for constant oversight or validation. version: 8 updated_at: 2026-07-14T23:24:03.947Z --> Execute tasks autonomously with minimal oversight and no checkpoints. Autonomous execution mode. The agent researches, plans, and executes without checkpoints. Report results when done. ## When to Use - Goal is clear and well-scoped - Low ambiguity -- known patterns, established codebase conventions - User trusts the agent to make reasonable decisions - Signals: "just do it", "quickly", "go ahead", "fix this" ## Execution Steps 1. **Research scope** -- read relevant code, check protocols, understand constraints 2. **Self-evaluate** -- consider 2-3 approaches, pick the best one based on project conventions 3. **Plan** -- outline steps mentally (no need to present them) 4. **Execute** -- implement the full solution including tests if applicable 5. **Report** -- concise summary of what was done, files changed, and any decisions made ## Blocking Criteria Stop and escalate to the user if: - **Destructive action** -- deleting data, dropping tables, force-pushing - **Ambiguous requirements** -- two equally valid interpretations with different outcomes - **Missing access** -- credentials, permissions, or services unavailable - **Scope creep** -- the fix requires changes far beyond the original ask - **Conflicting conventions** -- codebase has contradictory patterns and no clear winner When blocked, switch to `@protocol/collab` mode for the blocking decision only, then resume oneshot. ## Anti-Patterns - Do not ask for confirmation on routine decisions (naming, formatting, standard patterns) - Do not present options when one is clearly better - Do not stop to explain your plan -- just execute and report --- *Related: `@protocol/efficiency-measurement` · `@protocol/optimizer-install` · `@protocol/optimize-burn` · `@protocol/orchestrate` · `@knowledge/frameworks/agents-constrained-in-space-and-time`* --- *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).*