
Analyzing Data
This is a data warehouse query assistant that caches what it learns. Instead of rediscovering table schemas and query patterns every time, it maintains concept mappings (like "customer" maps to CUSTOMERS table, key column user_id) and pattern libraries for common question types. The workflow is pattern lookup first, then concept lookup, then table discovery if needed, always followed by caching learnings before presenting results. It runs queries through a persistent kernel with Polars and Pandas support, which is nice for iterative analysis without re-authenticating. The caching layer makes the most sense if you're asking similar questions repeatedly or have a team that hits the same data from different angles. Works best when you actually feed it learnings rather than treating it as a one-shot query tool.
- skills.sh installs
- 1.4K
- GitHub stars
- 459
- last updated
- Aug 21, 2026
Install
$ npx -y skills add astronomer/agents --skill analyzing-data --agent claude-codeInstalls into .claude/skills of the current project.
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)"
Sponsors
Details
- Repository
- github.com/astronomer/agents
- Category
- Databases
- First seen
- Apr 16, 2026
More from astronomer/agents
All 24- 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
- Managing Astro Local Env1.6K
- Airflow1.5K