convex-delete-deployments

SKILL.md

Convex Delete Deployments

Use this skill to list and bulk-delete Convex deployments via the Convex management API.

Workflow

  1. Run dry-run first.
  2. Review candidates.
  3. Re-run with --apply after confirmation.

Command

python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
  --team <team-slug> \
  --project <project-slug>

Default behavior is safe:

  • Dry-run only unless --apply is passed.
  • Targets only preview deployments unless --type is provided.
  • Never deletes dev or prod unless explicitly allowed.

Common Usage

Delete all preview deployments (recommended flow):

python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
  --team <team-slug> \
  --project <project-slug>

python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
  --team <team-slug> \
  --project <project-slug> \
  --apply

Delete only specific names:

python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
  --team <team-slug> \
  --project <project-slug> \
  --name foo-preview-1 \
  --name foo-preview-2 \
  --apply --yes

Regex filter and exclusions:

python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
  --team <team-slug> \
  --project <project-slug> \
  --match '^feature-' \
  --exclude feature-keep-me

Safety Rules

  • Keep --type preview as default for routine cleanup.
  • Use --include-dev only when intentionally rotating dev deployments.
  • Use --include-prod only for explicit teardown workflows.
  • Always inspect dry-run output before --apply --yes.

Inputs

Token resolution order:

  1. --token
  2. CONVEX_ACCESS_TOKEN
  3. ~/.convex/config.json (accessToken)

Team/project resolution order:

  1. --team / --project
  2. CONVEX_TEAM / CONVEX_PROJECT
Weekly Installs
10
First Seen
Feb 19, 2026
Installed on
amp10
github-copilot10
codex10
kimi-cli10
gemini-cli10
opencode10