Skip to content

Tricentis/mcp-skills / Tosca/Cloud/CLI/claude/skills/tosca-delete-workspace

tosca-delete-workspace

Verified

Delete a workspace in Tosca Cloud

FileKindSize
SKILL.mdskill md1.4 KB
---
name: tosca-delete-workspace
description: Delete a workspace in Tosca Cloud
user-invocable: true
allowed-tools: Bash(toscactl *)
argument-hint: "<name_or_id>"
---

# Delete a Workspace

Delete a workspace in Tosca Cloud. This is a destructive, irreversible action.

Always use `--json --silent` on every `toscactl` command.

## Steps

1. **Parse arguments.** Extract from `$ARGUMENTS`:
   - Workspace name or ID (required)

2. **Look up the workspace** to confirm it exists and show the user what will be deleted.
   ```
   toscactl workspaces view "<name_or_id>" --json --silent
   ```
   Parse the JSON response to extract the workspace name and ID. Show these details to the user.

3. **Confirm with the user.** Warn that this action is irreversible and ask for explicit confirmation before proceeding. Do NOT proceed without the user saying yes.

4. **Delete the workspace.**
   ```
   toscactl workspaces delete "<name_or_id>" --dangerously-skip-confirmation --json --silent
   ```

5. **Report result.** Confirm the workspace was deleted. If it was the active workspace, suggest selecting a new one with `toscactl workspaces set`.

## Error Handling

- If the workspace is not found, suggest listing workspaces with `/tosca-find`.
- If deletion fails with an authorization error, check auth with `toscactl config --json --silent` and suggest re-authenticating with `/tosca-setup`.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall