Prompt library · Maintenance

Clean up failed services

A prompt for Claude, ChatGPT or Cursor with AskYourStack connected to your server.

Best for

A server with many failed services, often left behind by sites removed from Virtualmin, Plesk or cPanel.

What you get

Leftovers removed in one approved plan, broken services fixed, and no failed units left.

The prompt

Using AskYourStack, clean up the failed services on <server>. Follow the failed-services playbook (get_playbook): find which failed units were left behind by sites that no longer exist and which belong to live sites, show me the list with the evidence, fix the broken ones, and remove the leftovers in one plan I approve. Leave anything you are not sure about.

How to use it

  1. Connect your server to AskYourStack with the one-line install, and add your AskYourStack MCP address to your AI client (Claude, ChatGPT, Cursor or Claude Code).
  2. Paste the prompt and fill in the parts in angle brackets.
  3. Your AI looks at the server first, explains its plan, and asks for your approval before anything destructive. How approvals work.
Start free

Free connects one server read-only. Starter lets your AI make changes, with approvals, snapshots and rollback.

Connect your server

More prompts