|
| 1 | +--- |
| 2 | +name: resume-augint |
| 3 | +description: Resume work from a previous Intent by Augment agent conversation that was interrupted (e.g., token limit, crash). Reads the prior agent's context and continues seamlessly. Only works in Intent by Augment workspaces. |
| 4 | +--- |
| 5 | + |
| 6 | +# /resume-augint - Continue Interrupted Work (Intent by Augment) |
| 7 | + |
| 8 | +Pick up where a previous agent left off — no redundant questions, no re-investigation. |
| 9 | + |
| 10 | +## Usage |
| 11 | + |
| 12 | +``` |
| 13 | +/resume-augint <agent-id-or-path> |
| 14 | +``` |
| 15 | + |
| 16 | +**Accepted formats:** |
| 17 | + |
| 18 | +- Full agent ID: `agent-4bd8012e-f5f5-4d5a-b202-b03b31e61d06` |
| 19 | +- Workspace path: `.workspace/agents/agent-4bd8012e-....json` |
| 20 | +- Short ID prefix: `4bd8012e` (matches against known agents) |
| 21 | +- Agent name: `Coordinator 2` (fuzzy match against agent list) |
| 22 | + |
| 23 | +## Instructions |
| 24 | + |
| 25 | +### 1. Resolve the Agent |
| 26 | + |
| 27 | +- Use `list_agents(includeCompleted=true)` to find the agent |
| 28 | +- Match by ID, ID prefix, or name (case-insensitive) |
| 29 | +- If ambiguous, list matches and ask user to pick — this is the ONLY question allowed |
| 30 | + |
| 31 | +### 2. Gather Full Context (do ALL of these in parallel) |
| 32 | + |
| 33 | +- `get_agent_summary(agentId)` — quick overview of what the agent did |
| 34 | +- `read_agent_conversation(agentId)` — full conversation history with tool calls |
| 35 | +- If the agent has a task note: `read_note(taskNoteId)` — task details and acceptance criteria |
| 36 | +- `read_note("spec")` — current workspace spec and task checklist |
| 37 | +- `list_note_tasks("spec")` — current task completion status |
| 38 | +- `git status` and `git branch` — current repo state |
| 39 | + |
| 40 | +### 3. Build a Situation Report (internal, do NOT print verbose details) |
| 41 | + |
| 42 | +Synthesize from the gathered context: |
| 43 | + |
| 44 | +- **Original goal**: What was the agent trying to accomplish? |
| 45 | +- **Completed work**: What tasks/steps were finished? |
| 46 | +- **In-progress work**: What was the agent doing when it stopped? |
| 47 | +- **Failed/blocked items**: What errored or couldn't proceed? |
| 48 | +- **Current state**: Branch, uncommitted changes, task note statuses |
| 49 | +- **Remaining work**: What still needs to be done? |
| 50 | + |
| 51 | +### 4. Present a Brief Summary and Continue |
| 52 | + |
| 53 | +Print a SHORT summary (5-10 lines max): |
| 54 | + |
| 55 | +```markdown |
| 56 | +## Resuming: [Agent Name] |
| 57 | + |
| 58 | +**Goal:** [one-line description] |
| 59 | +**Done:** [completed items] |
| 60 | +**Stopped at:** [what was in progress when interrupted] |
| 61 | +**Remaining:** [what still needs to be done] |
| 62 | +**Current branch:** [branch] | **Uncommitted changes:** [yes/no] |
| 63 | + |
| 64 | +Continuing with [next action]... |
| 65 | +``` |
| 66 | + |
| 67 | +Then **immediately start working** on the next incomplete item. Do NOT ask for permission to continue — the user invoked `/resume` precisely because they want you to pick up and go. |
| 68 | + |
| 69 | +### 5. Execution Rules |
| 70 | + |
| 71 | +- **Do NOT re-do completed work** — trust the previous agent's results unless evidence of failure |
| 72 | +- **Do NOT re-ask questions** the previous agent already answered or investigated |
| 73 | +- **Do NOT change approach** unless the previous approach clearly failed — continue the same strategy |
| 74 | +- **DO verify** the current state matches expectations (e.g., branches exist, files are as expected) |
| 75 | +- **DO check** if delegated sub-agents completed or failed, and handle accordingly |
| 76 | +- **DO update** task statuses in the spec as you complete items |
| 77 | + |
| 78 | +## Anti-Patterns |
| 79 | + |
| 80 | +- Asking "What would you like me to do?" — the previous conversation already established this |
| 81 | +- Re-running investigation steps that the previous agent already completed |
| 82 | +- Printing the entire previous conversation back to the user |
| 83 | +- Changing the plan without evidence that the original plan was wrong |
| 84 | +- Ignoring failed delegated agents — check their status and retry or handle manually |
0 commit comments