Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
astronomer avatar

Analyzing Data

  • 1.2k installs
  • 412 repo stars
  • Updated July 27, 2026
  • astronomer/agents

analyzing-data is an agent skill for queries data warehouse and answers business questions about data. handles questions requiring database/warehouse queries including "who uses x", "how many y", "show me z",.

About

The analyzing-data skill is designed for queries data warehouse and answers business questions about data. Handles questions requiring database/warehouse queries including "who uses X", "how many Y", "show me Z",. Data Analysis Answer business questions by querying the data warehouse. All CLI commands below are relative to this skill's directory. Invoke when the user asks about analyzing data or related SKILL.md workflows.

  • Queries data warehouse and answers business questions about data. Handles questions requiring database/warehouse queries
  • User asks about analyzing data or related SKILL.md workflows.
  • Developers using analyzing data workflows documented in SKILL.md.

Analyzing Data by the numbers

  • 1,231 all-time installs (skills.sh)
  • +19 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #327 of 1,896 Design & UI/UX skills by installs in the Skillselion catalog
  • Security screen: HIGH risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

analyzing-data capabilities & compatibility

Capabilities
queries data warehouse and answers business ques · user asks about analyzing data or related skill. · developers using analyzing data workflows docume
Use cases
frontend
From the docs

What analyzing-data says it does

Queries data warehouse and answers business questions about data. Handles questions requiring database/warehouse queries including "who uses X", "how many Y", "show me Z", "find cu
SKILL.md
Queries data warehouse and answers business questions about data. Handles questions requiring database/warehouse queries including "who uses X", "how many Y", "
SKILL.md
npx skills add https://github.com/astronomer/agents --skill analyzing-data

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1.2k
repo stars412
Security audit2 / 3 scanners passed
Last updatedJuly 27, 2026
Repositoryastronomer/agents

How do I queries data warehouse and answers business questions about data. handles questions requiring database/warehouse queries including "who uses x", "how many y", "show me z",?

Queries data warehouse and answers business questions about data. Handles questions requiring database/warehouse queries including "who uses X", "how many Y", "show me Z",.

Who is it for?

Developers using analyzing data workflows documented in SKILL.md.

Skip if: Skip when the task falls outside analyzing-data scope or needs a different stack.

When should I use this skill?

User asks about analyzing data or related SKILL.md workflows.

What you get

Completed analyzing-data workflow with documented commands, files, and expected deliverables.

  • metric answers
  • query results

Files

SKILL.mdMarkdownGitHub ↗

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

1. 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

2. Concept lookup — Find known table mappings:

   uv run scripts/cli.py concept lookup <concept>

3. Table discovery — If cache misses, search the codebase (Grep pattern="<concept>" glob="**/*.sql") or query INFORMATION_SCHEMA. See reference/discovery-warehouse.md.

4. Execute query:

   uv run scripts/cli.py exec "df = run_sql('SELECT ...')"
   uv run scripts/cli.py exec "print(df)"

5. Cache learnings — Always cache before presenting results:

   # Cache concept → table mapping
   uv run scripts/cli.py concept learn <concept> <TABLE> -k <KEY_COL>
   # Cache query strategy (if discovery was needed)
   uv run scripts/cli.py pattern learn <name> -q "question" -s "step" -t "TABLE" -g "gotcha"

6. Present findings to user.

Kernel Functions

FunctionReturns
run_sql(query, limit=100)Polars DataFrame
run_sql_pandas(query, limit=100)Pandas DataFrame

pl (Polars) and pd (Pandas) are pre-imported.

CLI Reference

Kernel

uv run scripts/cli.py warehouse list      # List warehouses
uv run scripts/cli.py start [-w name]     # Start kernel (with optional warehouse)
uv run scripts/cli.py exec "..."          # Execute Python code
uv run scripts/cli.py status              # Kernel status
uv run scripts/cli.py restart             # Restart kernel
uv run scripts/cli.py stop                # Stop kernel
uv run scripts/cli.py install <pkg>       # Install package

Concept Cache

uv run scripts/cli.py concept lookup <name>                     # Look up
uv run scripts/cli.py concept learn <name> <TABLE> -k <KEY_COL> # Learn
uv run scripts/cli.py concept list                               # List all
uv run scripts/cli.py concept import -p /path/to/warehouse.md   # Bulk import

Pattern Cache

uv run scripts/cli.py pattern lookup "question"                                      # Look up
uv run scripts/cli.py pattern learn <name> -q "..." -s "..." -t "TABLE" -g "gotcha"  # Learn
uv run scripts/cli.py pattern record <name> --success                                # Record outcome
uv run scripts/cli.py pattern list                                                   # List all
uv run scripts/cli.py pattern delete <name>                                          # Delete

Table Schema Cache

uv run scripts/cli.py table lookup <TABLE>            # Look up schema
uv run scripts/cli.py table cache <TABLE> -c '[...]'  # Cache schema
uv run scripts/cli.py table list                       # List cached
uv run scripts/cli.py table delete <TABLE>             # Delete

Cache Management

uv run scripts/cli.py cache status                # Stats
uv run scripts/cli.py cache clear [--stale-only]  # Clear

References

  • reference/discovery-warehouse.md — Large table handling, warehouse exploration, INFORMATION_SCHEMA queries
  • reference/common-patterns.md — SQL templates for trends, comparisons, top-N, distributions, cohorts

Related skills

FAQ

What does analyzing-data do?

Queries data warehouse and answers business questions about data. Handles questions requiring database/warehouse queries including "who uses X", "how many Y", "show me Z",.

When should I use analyzing-data?

User asks about analyzing data or related SKILL.md workflows.

Is analyzing-data safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.