---
name: dobby-add
description: "Add a new task to the Dobby queue — interactive task creation with project, description, priority, and target. Use when user wants to queue work for Dobby agents."
---

# Dobby Add Task

Interactively create and queue a new task in Dobby.

## Prerequisites

Verify the Dobby MCP server is connected by checking that `mcp__dobby__dobby_add_task` is available. If not, tell the user:

> The Dobby MCP server is not connected. Make sure the Dobby daemon is running and the MCP server is configured in your Claude Code settings.

## Steps

1. **Parse arguments**: If the user provided arguments after `/dobby-add`, extract project name and description from them. For example: `/dobby-add myproject Fix the login bug` means project="myproject", description="Fix the login bug".

2. **Gather missing info**: If project or description weren't provided, ask the user. Call `mcp__dobby__dobby_projects` to list available projects and present them as options.

3. **Optional fields**: Ask if they want to set:
   - **Priority**: low, normal (default), high, urgent
   - **Target**: spoke name for remote execution (leave empty for local)
   - **Exit criteria**: specific success conditions

   If the user says "just do it" or similar, skip optional fields and use defaults.

4. **Submit**: Call `mcp__dobby__dobby_add_task` with the collected parameters.

5. **Confirm**: Show the created task ID and status.

## Output Format

After successful creation:

```
Task queued: **t-XXXXXXXX-XXXX**
- Project: project-name
- Priority: normal
- Description: The task description...

Track with: /dobby-status
```
