npx skills add ...
npx skills add astronomer/agents --skill managing-astro-deployments
Manage Astronomer production deployments with Astro CLI. Use when the user wants to authenticate, switch workspaces, create/update/delete deployments, or deploy code to production.
npx skills add astronomer/agents --skill managing-astro-deployments
This skill helps you manage production Astronomer deployments using the Astro CLI.
For local development, see the managing-astro-local-env skill. For production troubleshooting, see the troubleshooting-astro-deployments skill.
All deployment operations require authentication:
Authentication tokens are stored locally for subsequent commands. Run this before any deployment operations.
Deployments are organized into workspaces:
Workspace context is maintained between sessions. Most deployment commands operate within the current workspace context.
inspect ShowsDestructive: This cannot be undone. All DAGs, task history, and metadata will be lost.
Deploy both DAGs and Docker image (required when dependencies change):
Use when:
requirements.txt, packages.txt, Dockerfile)Deploy only DAG files, skip Docker image rebuild:
Use when:
dags/ directory)Requires: --dag-deploy-enabled flag set on deployment (see Update Deployments)
Deploy only Docker image, skip DAG sync:
Use when:
Bypass safety checks and deploy:
Caution: Skips validation that could prevent broken deployments.
Manage API tokens for programmatic access to deployments:
Roles:
DEPLOYMENT_ADMIN: Full access to deploymentNote: Token value is only shown at creation time. Store it securely.
--dags flag for fast iteration (seconds vs minutes)deployment inspect to verify deployment health before deployinginspect also accepts --deployment-name--dag-deploy-enabled once per deployment for fast deploysastro workspace list (shows asterisk for current)