astronomer avatar

Managing Astro Local Env

You're running Astro CLI locally and need to start, stop, or debug your Airflow environment. This handles both Docker mode (the default containers setup) and the newer standalone mode that runs Airflow 3 directly in a venv without Docker. The standout feature is the built-in Airflow API querying with `astro api airflow`, which lets you list DAGs, trigger runs, check task states, and filter results with jq without leaving your terminal. Also covers the reverse proxy for running multiple projects simultaneously and the usual troubleshooting moves when containers won't start or your venv gets corrupted. Pairs with the authoring and testing skills once your environment is actually running.

skills.sh installs
1.6K
GitHub stars
459
last updated
Aug 21, 2026

Install

$ npx -y skills add astronomer/agents --skill managing-astro-local-env --agent claude-code

Installs into .claude/skills of the current project.

Files

Astro Local Environment

This skill helps you manage your local Airflow environment using the Astro CLI.

Two modes: Docker (default, uses containers) and Standalone (Docker-free, uses a local venv — requires Airflow 3 + uv).

To set up a new project, see the setting-up-astro-project skill. When Airflow is running, use MCP tools from authoring-dags and testing-dags skills.


Start / Stop / Restart (Docker)

# Start local Airflow (webserver at http://localhost:8080)
astro dev start

# Stop containers (preserves data)
astro dev stop

# Kill and remove volumes (clean slate)
astro dev kill

# Restart all containers
astro dev restart

# Restart specific component
astro dev restart --scheduler
astro dev restart --webserver

Default credentials: admin / admin

Restart after modifying: requirements.txt, packages.txt, Dockerfile

Standalone mode? See the next section.


Standalone Mode

Docker-free local development. Runs Airflow directly on your machine in a .venv/ managed by uv.

Requirements: Airflow 3 (runtime 3.x), uv on PATH. Not supported on Windows.

Sponsors

Details

Repository
github.com/astronomer/agents
Categories
Frontend Development, Backend & APIs, DevOps & CI/CD, Debugging, CLI & Terminal
First seen
Apr 16, 2026

More from astronomer/agents

All 24
1adobe avatargenerate-import-htmladobe/skillsUse this when the page-import pipeline needs to produce structured HTML from authoring analysis for AEM Edge Delivery Services. Covers building section structur1.6Kskills.sh installs
2adobe avatarue-component-modeladobe/skillsCreate or edit the Universal Editor component configuration (component-definition.json, component-models.json, component-filters.json) for AEM Edge Delivery Ser1.6Kskills.sh installs
3forcedotcom avatardeploying-ui-bundleforcedotcom/afv-librarydeploying ui bundle1.5Kskills.sh installs
4forcedotcom avatargenerating-ui-bundle-featuresforcedotcom/afv-librarygenerating ui bundle features1.5Kskills.sh installs
5forcedotcom avatarusing-ui-bundle-salesforce-dataforcedotcom/afv-libraryusing ui bundle salesforce data1.5Kskills.sh installs
6pproenca avatarexpo-react-native-performancepproenca/dot-skillsExpo React Native performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring Expo React Native code to ensure optima1.5Kskills.sh installs