
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-codeInstalls 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- Airflow1.5K
- Analyzing Data1.4K
- Authoring Dags1.3K
- Debugging Dags1.2K
- Testing Dags1.2K
- Migrating Airflow 2 To 31.1K
- Setting Up Astro Project1.1K
- Tracing Upstream Lineage1.1K
- Profiling Tables1.1K
- Tracing Downstream Lineage1.1K
- Checking Freshness1K
- Annotating Task Lineage1K
- Cosmos Dbt Core990
- Airflow Hitl980
- Creating Openlineage Extractors960
- Cosmos Dbt Fusion925
- Warehouse Init841
- Deploying Airflow817
- Troubleshooting Astro Deployments655
- Airflow Plugins622
- Managing Astro Deployments595
- Blueprint584
- Init176