Choose a goal or rubric
Use a goal when you have one measurable objective and want Deep Agents Code to draft acceptance criteria before it starts. A goal has a lifecycle: once accepted it stays active across turns until you pause it, the agent marks it completed or blocked, or you clear it. You can also amend an active goal without restarting the work. Use a rubric when you already know the criteria you want the agent graded against. A rubric can apply to the next turn only or persist across future turns. Common patterns:- One objective, agent drafts criteria: Use
/goal <objective>. - Persistent criteria for every turn: Use
/rubric set <criteria>. - Criteria stored in a file: Use
/rubric file <path>. - One-turn quality gate: Use
/rubric next <criteria>.
Use a goal
Use/goal when you know the outcome you want, but want Deep Agents Code to propose the acceptance criteria before work begins. Goals are useful for open-ended work: the agent turns an objective into a concrete definition of done, then iterates until those criteria are satisfied.
/goal show to inspect the current goal, and /goal clear to remove it.
Amend, pause, and resume a goal
Steer an ongoing goal without cancelling the current task and replaying work:/goal amend <feedback>proposes coordinated updates to the objective and criteria. The amendment goes through the same inline review (accept, edit, revise, or cancel) before finalizing./goal pausesaves the goal without letting it drive work or grading, so intervening prompts run without it./goal resumereactivates the saved goal and continues from the existing conversation.
Completion and grading
Each follow-up turn is graded against the goal’s acceptance criteria until the work is done.- When a goal’s completion is approved, Deep Agents Code clears the goal
Goal command reference
Goal command reference
/goal <objective>: Draft acceptance criteria from a plain-language objective and review them before work begins./goal amend <feedback>: Propose coordinated updates to the objective and criteria for review./goal pause: Save the goal without letting it drive work or grading./goal resume: Reactivate a paused goal and continue from the existing conversation./goal show: Inspect the current goal, its status, and its criteria./goal clear: Remove the active goal./goal model [provider:model|clear]: Set or clear the model that grades the goal./goal max-iterations <N|clear>: Set or clear the maximum grading iterations for the goal.
Use a rubric
Use/rubric when you already know the acceptance criteria and want them to act as a quality gate for the agent’s work.
Rubric command reference
Rubric command reference
/rubric show: Inspect the active rubric./rubric clear: Remove the active rubric./rubric model <provider:model>: Set the model that grades rubric results.
Use rubrics in non-interactive mode
Use rubrics in non-interactive mode
Non-interactive runs cannot pause for goal review. Use You can also set the grader model and maximum grading iterations:
--rubric for tasks where criteria are already known:See also
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

