managing-astro-local-env

astronomer/agents · updated Apr 8, 2026

$npx skills add https://github.com/astronomer/agents --skill managing-astro-local-env
0 commentsdiscussion
summary

Manage local Airflow development environment with Astro CLI commands.

  • Start, stop, restart, and kill local Airflow containers; default credentials are admin/admin with webserver at http://localhost:8080
  • View logs for all components or specific services (scheduler, webserver) with real-time follow option
  • Access container shells and run Airflow CLI commands directly via astro dev bash and astro dev run
  • Troubleshoot common issues including port conflicts, startup failures, package er
skill.md

Astro Local Environment

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

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

# 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


Check Status

astro dev ps

View Logs

# All logs
astro dev logs

# Specific component
astro dev logs --scheduler
astro dev logs --webserver

# Follow in real-time
astro dev logs -f

Access Container Shell

# Bash into scheduler container
astro dev bash

# Run Airflow CLI commands
astro dev run airflow info
astro dev run airflow dags list

Troubleshooting

Issue Solution
Port 8080 in use Stop other containers or edit .astro/config.yaml
Container won't start astro dev kill then astro dev start
Package install failed Check requirements.txt syntax
DAG not appearing Run astro dev parse to check for import errors
Out of disk space docker system prune

Reset Environment

When things are broken:

astro dev kill
astro dev start

Upgrade Airflow

Test compatibility first

astro dev upgrade-test

Change version

  1. Edit Dockerfile:

    FROM quay.io/astronomer/astro-runtime:13.0.0
    
  2. Restart:

    astro dev kill && astro dev start
    

Related Skills

  • setting-up-astro-project: Initialize projects and configure dependencies
  • authoring-dags: Write DAGs (uses MCP tools, requires running Airflow)
  • testing-dags: Test DAGs (uses MCP tools, requires running Airflow)
  • deploying-airflow: Deploy DAGs to production (Astro, Docker Compose, Kubernetes)

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.774 reviews
  • James Chen· Dec 28, 2024

    managing-astro-local-env fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Ira Jackson· Dec 28, 2024

    managing-astro-local-env is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Pratham Ware· Dec 24, 2024

    managing-astro-local-env has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ama Shah· Dec 20, 2024

    I recommend managing-astro-local-env for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Mia Nasser· Dec 20, 2024

    Useful defaults in managing-astro-local-env — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Arjun Martin· Dec 8, 2024

    Solid pick for teams standardizing on skills: managing-astro-local-env is focused, and the summary matches what you get after install.

  • James Khan· Nov 27, 2024

    managing-astro-local-env has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Ishan Srinivasan· Nov 19, 2024

    managing-astro-local-env reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Arya Chawla· Nov 19, 2024

    Registry listing for managing-astro-local-env matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Emma Choi· Nov 19, 2024

    Keeps context tight: managing-astro-local-env is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 74

1 / 8