convex-delete-deployments
Convex Delete Deployments
Use this skill to list and bulk-delete Convex deployments via the Convex management API.
Workflow
- Run dry-run first.
- Review candidates.
- Re-run with
--applyafter 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
--applyis passed. - Targets only
previewdeployments unless--typeis provided. - Never deletes
devorprodunless 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 previewas default for routine cleanup. - Use
--include-devonly when intentionally rotating dev deployments. - Use
--include-prodonly for explicit teardown workflows. - Always inspect dry-run output before
--apply --yes.
Inputs
Token resolution order:
--tokenCONVEX_ACCESS_TOKEN~/.convex/config.json(accessToken)
Team/project resolution order:
--team/--projectCONVEX_TEAM/CONVEX_PROJECT
More from anand-testcompare/scripts-prompts-config
openai-image-generation
Generate or edit images with OpenAI's Images API without Python. Use when the user asks to create, generate, modify, or inpaint images and wants a CLI workflow runnable with `sh` or `bun` from any directory via an absolute script path.
19readme-maintainer
Create or update repository README.md files with concise, human-skimmable structure and verified metadata. Use when writing or refreshing README content, adding or correcting badges, documenting stack and deployment/services, and explicitly reporting testing coverage (unit, integration, e2e api, e2e web) plus CI execution status.
13acpx
Use acpx for persistent ACP coding-agent sessions. Prefer sessions ensure + prompt -f + polling. Avoid exec unless a true one-shot is explicitly requested.
4workos-agent-access
Provision and authenticate lower-env WorkOS/AuthKit users for this repo. Use when the agent needs its own reusable dev or preview login, must configure WorkOS redirect/CORS/homepage settings, create or update a password user, attach org memberships, or establish browser auth via agent-browser or a direct sealed session cookie.
2