Siteview cleanup

From pipecrew-ai/pipecrew · View interactive version

Siteview cleanup is an AI agent skill from the GitHub repository pipecrew-ai/pipecrew. Kill stale PipeCrew site-view servers. Discovers every running site-view via the same probe as /sites, then kills their PIDs. Supports --keep-port, --keep-run, --keep-latest, and --dry-run to preview before killing. Defaults to --dry-run for safety.

How to use this skill

Skill file

/siteview-cleanup

Kill stale site-view servers. Often you end up with 3–6 servers running after restarting Claude or re-launching the UI during a session; this skill clears them.

Usage

/pipecrew:siteview-cleanup [--keep-port=<N>] [--keep-run=<run-id>] [--keep-latest] [--all] [--dry-run]

Default: --dry-run — prints what WOULD be killed and exits without touching any process. Opt in to actually kill with one of the explicit flags.

Flags:

Instructions

When the user invokes /siteview-cleanup:

  1. Run the cleanup script via Bash, passing through the user's flags verbatim:

```bash

node {plugin_dir}/skills/siteview-cleanup/cleanup.js [user's flags]

```

  1. Relay the output to the user verbatim — it's a pre-formatted report.
  2. If the user didn't specify a kill flag, remind them the default is dry-run and suggest the best flag for their intent:

Safety

Full reference

Flag semantics + exit codes documented in {plugin_dir}/skills/siteview-cleanup/cleanup.js header.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.