wise-workflow-removelisted
Install: claude install-skill e1024kb/wise-claude
# /wise-workflow-remove — delete a user workflow
## Why this skill exists
`/wise-workflow-create` writes a YAML to `${CLAUDE_PLUGIN_DATA}/workflows/definitions/`.
This skill is the matching removal path. Bundled workflows are
immutable from the plugin's perspective (they live in the read-only
plugin install directory) — this skill refuses to delete them rather
than silently failing or producing confusing errors.
## Arguments
Read `$ARGUMENTS`. The first whitespace-separated token is the
`name` — the kebab-case workflow name (required). Matches the
filename without the `.yaml` extension. When `$ARGUMENTS` is empty,
stop with a clear error pointing at `/wise-workflow-list` to discover
available workflows.
## Procedure
### 1. Parse and validate
Read `name` from `$ARGUMENTS`. Reject anything that doesn't match
`^[a-z][a-z0-9]*(-[a-z0-9]+)*$` — the same kebab-case shape
`/wise-workflow-create` enforces; anything else is not a filename we
would have written.
### 2. Refuse bundled
Check both layouts under the bundled root — a bundled workflow in
either form is off-limits:
```bash
test -f "${CLAUDE_PLUGIN_ROOT}/workflows/${name}/workflow.yaml" \
|| test -f "${CLAUDE_PLUGIN_ROOT}/workflows/${name}.yaml"
```
If either exits 0, the target is a bundled workflow. Stop with:
```
Refusing to delete bundled workflow <name>.
Bundled workflows ship with the wise plugin and are replaced by a
reinstall. If you want to override this workflow locally, create a
user version with the