managing-astro-local-env

managing-astro-local-env is a skill for Claude Code from astronomer/agents. It costs 63 tokens per session (2,121 once invoked), scanned A, original, Apache-2.0.

A guide for running and troubleshooting a local Apache Airflow setup with the Astro CLI. Airflow is a tool for scheduling and monitoring data workflows; the setup can use Docker containers or a local Python environment.

In plain words
What is it for?
Start or stop Airflow, restart its components, view logs, query its API, and fix environment problems. It does not cover creating a new Astro project.
Why use it?
It removes the guesswork from starting, stopping, restarting, inspecting, and repairing the local Airflow environment.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the astronomer-data plugin — 35 skills, 3 commands shipped together

Good fit Start or stop Airflow, restart its components, view logs, query its API, and fix environment problems. It does not cover creating a new Astro project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/astronomer/agents/managing-astro-local-env
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add astronomer/agents --skill managing-astro-local-env
Clone the repo
git clone --depth 1 https://github.com/astronomer/agents

Made for: Claude Code.

Or install astronomer-data, the plugin that ships this one along with the rest of its 35 skills, 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for managing-astro-local-env

README.md
[![agentmods](https://agentmods.dev/badge/skills/astronomer/agents/managing-astro-local-env/github.svg)](https://agentmods.dev/skills/astronomer/agents/managing-astro-local-env)
Your own site
<a href="https://agentmods.dev/skills/astronomer/agents/managing-astro-local-env"><img src="https://agentmods.dev/badge/skills/astronomer/agents/managing-astro-local-env/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for managing-astro-local-env

Your own site · 80×15
<a href="https://agentmods.dev/skills/astronomer/agents/managing-astro-local-env"><img src="https://agentmods.dev/badge/skills/astronomer/agents/managing-astro-local-env.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,121 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 4 May 2026
  • Snyk pass 4 May 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.02121
Opus 5 $0.00032 $0.01060
Sonnet 5 $0.00013 $0.00424
Haiku 4.5 $0.00006 $0.00212

Measured 10d ago against content hash 1cbfdca7dece, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

managing-astro-local-env scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `--generate` | Output curl command instead of executing |
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/managing-astro-local-env/SKILL.md · 322 lines

How it starts

The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Plain astro dev init already pins a runtime 3.x image, so no version flag is needed. See setting-up-astro-project for project initialization.

Start

# One-time: set standalone as default mode
astro config set dev.mode standalone

# Or use the flag per invocation
astro dev start --standalone
Flag Description
--foreground / -f Stream output in foreground
--port / -p Override webserver port (default: 8080)
--no-proxy Disable reverse proxy

Stop / Kill / Restart

# Stop (preserves .venv)
astro dev stop

# Kill (removes .venv and .astro/standalone/ — clean slate)
astro dev kill

# Restart (preserves .venv for fast restart, use -k to kill first)
astro dev restart

If you used --standalone on start instead of setting the config, pass --standalone on every subsequent command too (stop, kill, restart, bash, run, logs, etc.).

Read the full file on GitHub · 322 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 322 lines · 63 tokens per session scan A 1cbfdca7dece

Subscribe to this mod's changes

managing-astro-local-env is a skill published in the GitHub repository astronomer/agents (439 stars, last pushed 4d ago), licensed Apache-2.0. It adds 63 tokens to every session and 2,121 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.