
Analyzing Data
Answers business questions by querying the data warehouse with SQL and caching reusable query strategies.
- skills.sh installs
- 1.5K
- GitHub stars
- 463
- last updated
- Aug 21, 2026
What it does
- Covers the full analysis loop: pattern lookup, concept lookup, table discovery, query execution, and caching of results
- Provides
run_sql,run_sql_pandas, andrun_sql_manykernel functions, withrun_sql_manyexecuting independent queries concurrently - Enforces cache-first lookups and records concept-to-table mappings and query outcomes before presenting findings
- Designed for ad-hoc counts, metrics, trends, joins, and lookups that need live warehouse data
Install
$ npx -y skills add astronomer/agents --skill analyzing-data -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Data Analysis
Answer business questions by querying the data warehouse. The kernel auto-starts on first exec call.
All CLI commands below are relative to this skill's directory. Before running any scripts/cli.py command, cd to the directory containing this file.
Workflow
-
Pattern lookup — Check for a cached query strategy:
uv run scripts/cli.py pattern lookup "<user's question>"If a pattern exists, follow its strategy. Record the outcome after executing:
uv run scripts/cli.py pattern record <name> --success # or --failure -
Concept lookup — Find known table mappings:
uv run scripts/cli.py concept lookup <concept> -
Table discovery — If cache misses, search the codebase (
Grep pattern="<concept>" glob="**/*.sql") or queryINFORMATION_SCHEMA. See reference/discovery-warehouse.md. -
Execute query:
uv run scripts/cli.py exec "df = run_sql('SELECT ...')" uv run scripts/cli.py exec "print(df)"
Details
- Repository
- github.com/astronomer/agents
- Categories
- Data Science & Analytics, Databases
- First seen
- Apr 16, 2026
More from astronomer/agents
All 24- Authoring Dags1.3K
- Debugging Dags1.3K
- Testing Dags1.2K
- Migrating Airflow 2 To 31.2K
- Setting Up Astro Project1.1K
- Tracing Upstream Lineage1.1K
- Profiling Tables1.1K
- Tracing Downstream Lineage1.1K
- Checking Freshness1K
- Annotating Task Lineage1K
- Cosmos Dbt Core1K
- Airflow Hitl992
- Creating Openlineage Extractors972
- Cosmos Dbt Fusion936
- Warehouse Init853
- Deploying Airflow835
- Troubleshooting Astro Deployments669
- Airflow Plugins635
- Managing Astro Deployments606
- Blueprint599
- Init176
- Managing Astro Local Env1.8K
- Airflow1.5K
Similar to Analyzing Data
More Data Science & Analytics
analyzeSkillanthropics/knowledge-work-plugins5.9K installsAnswers data questions at three depths, from quick lookups to full analyses and formal stakeholder reports.
sql-proSkillsickn33/agentic-awesome-skills367 installsExpert SQL guidance for query tuning, data modeling, and cloud and hybrid OLTP/OLAP databases.
write-querySkillanthropics/knowledge-work-plugins3.1K installsPractical SQL writing guide that structures multi-CTE queries, dialect-specific syntax, and partition-aware performance tuning.
snowflake-developmentPluginalirezarezvani/claude-skills30.3K starsSnowflake SQL, data pipelines (Dynamic Tables, Streams+Tasks), Cortex AI functions, Snowpark Python, and dbt integration. Includes query helper script, referenc
sql-optimization-patternsSkillsickn33/agentic-awesome-skills334 installsDiagnose slow SQL with query plans, verifying every index or rewrite against representative data first.