task icon Task

Reset Workspace

Instructions
You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).
2

Present the summary of what will be deleted. Ask user to confirm they want to proceed.

3

If user confirms, proceed to deletion. If user declines, acknowledge cancellation and stop.

5

Confirm deletion complete. Summarize what was removed.

                    You MUST use a todo list to complete these steps in order. Never move on to one step if you haven't completed the previous step. If you have multiple read steps in a row, read them all at once (in parallel).

Add all steps to your todo list now and begin executing.

## Steps

1. [Gather Arguments: List Workspace Contents] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `skillsPath`: skills/sauna
- `documentsPath`: documents
- `excludeSkillId`: skill:workspace.reset.manager

2. [Run Code: List Workspace Contents]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/workspace.reset.list/preview,
    "args": [
      "skillsPath",
      "documentsPath",
      "excludeSkillId"
    ]
  },
  "packages": null
}
```

3. Present the summary of what will be deleted. Ask user to confirm they want to proceed.

4. If user confirms, proceed to deletion. If user declines, acknowledge cancellation and stop.

5. [Gather Arguments: Delete Workspace Contents] The next step has the following requirements for arguments, do not proceed until you have all the required information:
- `skillsPath`: skills/sauna
- `documentsPath`: documents
- `excludeSkillId`: skill:workspace.reset.manager

6. [Run Code: Delete Workspace Contents]: Call `run_script` with:

```json
{
  "file": {
    "path": https://sk.ills.app/code/workspace.reset.delete/preview,
    "args": [
      "skillsPath",
      "documentsPath",
      "excludeSkillId"
    ]
  },
  "packages": null
}
```

7. Confirm deletion complete. Summarize what was removed.