Install
$ agentstack add skill-cogni-ai-ou-cogni-ai-agent-skills-astro-cli ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Astro CLI Skill
When to Use This Skill
- When initializing, configuring, or validating Astro/Airflow projects.
- When managing local Airflow environments (Docker or Standalone mode).
- When interacting with Astronomer cloud deployments, workspaces, and deployments.
- When calling the Airflow REST API via the
astro api airflowwrapper. - When troubleshooting production deployments by viewing logs or managing environment variables.
When Not to Use
- When writing generic Apache Airflow DAGs not specific to Astronomer CLI operations.
Prerequisites
- Astro CLI (
astro) must be installed. - Docker must be running (for standard local development).
uvmust be installed (for Standalone local development).
Core Process
- Use
astro loginto authenticate before attempting cloud API or deployment commands. - For local development, use
astro dev startto launch Airflow. - Use
astro api airflowfor authenticated API requests to both local and cloud environments.
Step-by-Step Workflows
Project Setup & Configuration
- Initialize project:
astro dev init - Validate DAGs locally:
astro dev parse - Export connections/variables:
astro dev object export --connections --variables - Import connections/variables:
astro dev object import --connections --variables --file
Managing Local Environment
- Start (Docker):
astro dev start - Start (Standalone):
astro dev start --standalone - Stop/Kill:
astro dev stop/astro dev kill(kill removes volumes/venv) - View local logs:
astro dev logs --scheduler(or--webserver,--workers) - Run Airflow CLI:
astro dev run dags list - Check proxy status:
astro dev proxy status(for multi-project routing)
Astro CLI Commands for Local Dev
- Get tab completions:
astro completion(script to get tab completions for Astro CLI cmds) - Get registry info:
astro api registry(Get info from the Airflow registry API) - Run bash in scheduler:
astro dev bash(Enter the scheduler container to run bash cmds) - Remove all containers:
astro dev kill(Remove all containers incl metab, connections) - Get stream/logs:
astro dev logs(Get logs -s / -d / -t / -a, -f for a stream) - Check import errors:
astro dev parse(Check for import errors) - Run tests in container:
astro dev pytest(Run tests in /tests in a container) - Run Airflow CLI command:
astro dev run(Run any Airflow CLI command!) - Force reparsing of DAGs:
astro dev run dags reserialize(Force reparsing of all Dags incl new ones) - Start locally with cloud connections:
astro dev start --deployment-id [deployment-id](For Astro customers start locally with the same AF connections as your deployment)
Cloud Deployment Management
- Switch workspace:
astro workspace switch - List/Inspect deployments:
astro deployment list/astro deployment inspect - Create deployment:
astro deployment create --label --executor celery - Deploy code (Full):
astro deploy - Deploy DAGs only:
astro deploy --dags(requiresdag-deploy-enabled) - Manage variables:
astro deployment variable create --deployment-id --key --value --secret
Troubleshooting Cloud Deployments
- View deployment logs:
astro deployment logs --error - Filter logs by component:
astro deployment logs --scheduler(or--workers,--triggerer) - Search logs:
astro deployment logs --keyword "ImportError"
Executing Airflow REST API calls via Astro CLI
The astro api airflow command automatically handles authentication for your current context.
Examples:
- List DAGs:
astro api airflow get_dags - Get DAG details:
astro api airflow get_dag -p dag_id= - Trigger DAG run:
astro api airflow trigger_dag_run -p dag_id= -F conf[key]=value - List task instances:
astro api airflow get_task_instances -p dag_id= -p dag_run_id=~ - Filter with jq:
astro api airflow get_dags -q '.dags[].dag_id'
Common Pitfalls
- Missing Authentication: Forgetting to run
astro loginbefore cloud operations. - Context Mismatch: Running commands in the wrong workspace or against the wrong deployment. Always check
astro workspace listorastro deployment list. - Standalone Version Pinning: Standalone mode requires Airflow 3.x/Runtime 13.x+.
- Interactive Hangs: Avoid running interactive commands like
astro loginin non-interactive environments without appropriate flags.
Related Skills
- astronomer-docs:
Read and navigate Astronomer documentation using llms.txt context.
- apache-airflow-api:
Execute Apache Airflow Stable REST API queries, manage DAGs, backfills, connections, variables, and assets.
References
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Cogni-AI-OU
- Source: Cogni-AI-OU/cogni-ai-agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.