Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

scenario-delete-restore

БесплатноБез исполняемых скриптовНе проверен

Use when deleting Scenario assets, models, or collections through MCP, or undoing a deletion: restoring images, videos, or LoRAs deleted by mistake, finding…

scenario-labsот scenario-labs★ 4 422 звезды на GitHub

Об этом скилле

Scenario Delete and Restore

Overview

A deleted asset or model stays recoverable for 30 days, on the Max plan and above (Max, Team, legacy Premium, Enterprise). Below Max, the server refuses to list or restore deleted items, so a delete is final from the agent's side.

  • A restore brings the item back, not reliably its filing: tags and collection membership are documented as lost, yet some tags survive. Read the restored rows before re-tagging.
  • Collections have no restore tool. A deleted collection is rebuilt by hand or not at all.
  • Recovery is per project: the deleted listings cover the project in scope only.
  • The tools below marked read, write, or delete are catalog-only. teams_list, models_list, and asset_display are direct: called as is, scope at top level, never through an executor. scenario_tools_search returns a catalog tool's schema and lane; the matching executor runs it with {name, parameters}, scope ids inside parameters (see the scenario skill).
  • Deleting a whole project is irreversible and belongs to scenario-team-admin.

If a sibling skill named here is missing from your available skills, load it with skill_get (Scenario MCP) or ask the user to install it (https://github.com/scenario-labs/skills#install); unattended, proceed from tool schemas and flag the gap.

Quick reference

Step Tool Lane Notes
Find deleted assets assets_list with deleted: true read Most recently deleted first, each with deletedAt
Restore assets asset_restore write 1 to 100 asset_ids; returns restored and skipped
Find deleted models models_list, filters: {"status": "deleted"} direct Your own models only; never with privacy: "public"
Restore a model model_restore write One model_id per call
Delete assets asset_delete delete Returns deleted; split sets past 100 ids
Delete a model model_delete delete One model_id per call
Delete a collection collection_delete delete No restore tool exists
Re-file asset_add_tags, collection_add_assets write model_add_tags, collection_add_models for a model
Check the plan teams_list direct The team row's plan decides whether a delete is undone

Restoring

  • Find. assets_list with deleted: true takes no filters: the server refuses the pair. Match the user's words client-side against deletedAt, kind, prompt, description, and modelId, paging with page_token (limit up to 100). The list is newest deletion first, so stop paging once deletedAt is older than the user's window. prompt comes in three forms:
    • An asset id (asset_...): the prompt is a live text asset. Read it on assets_get_bulk, whose record carries the full prompt text, and match that.
    • Text, cut at 120 characters. A deleted asset's own record is unreadable (asset_get returns 404), so a row in the window whose cut text shows no match is ambiguous, not a miss.
    • Absent, on an upload, which keeps no file name either: match its description, an automatic caption.
  • Models. status: "deleted" is a key inside filters on models_list. Combined with privacy: "public" the server refuses it: deleted models are always the team's own.
  • Confirm the set. Show the candidates (id, deletedAt, prompt or name) when the match is not exact. Unattended, restore only items the task's description matches unambiguously, and list the rest as unresolved.
  • Read skipped. Each entry carries asset_id and a reason:
    • not-found: a wrong id, or an asset of another project;
    • not-deleted: already live, nothing to do;
    • expired: past the retention window. Nothing recovers it: tell the user.
  • Models come back as they were. model_restore returns the model to its prior status. An interrupted training returns as training-canceled, so it needs a new training run. The server refuses a model that is not deleted or was deleted over 30 days ago: report which.
  • Plan refusal. A restore or deleted listing refused with a plan message is not retryable. Report that restoring needs Max or above; upgrading is the user's call (unattended: report and stop).
  • Re-file. Re-apply the tags and collections the user still needs. Before re-tagging, read the re
Полный SKILL.md на GitHub

Установить scenario-delete-restore в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.md

FAQ

Что делает скилл scenario-delete-restore?

Use when deleting Scenario assets, models, or collections through MCP, or undoing a deletion: restoring images, videos, or LoRAs deleted by mistake, finding something a user says they deleted, listing what was deleted recently, or cleaning up a project before a bulk delete. Keywords: delete, undelete, restore, recover, undo, trash, bin, recently deleted, 30 days, deleted model, deleted asset, cleanup.

Как установить скилл scenario-delete-restore?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл scenario-delete-restore запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить scenario-delete-restore с