
Profiling Tables
astronomer/agentsOfficial
Deep data profile of a named table covering metadata, column statistics, cardinality, and quality scoring.
- skills.sh installs
- 1.1K
- GitHub stars
- 463
- last updated
- Aug 21, 2026
What it does
- Covers basic metadata, size, column-level statistics, cardinality, sample rows, and a data quality assessment
- Includes type-specific SQL for numeric, string, and date/timestamp columns, plus completeness, uniqueness, freshness, validity, and consistency checks
- Produces a structured report with a schema table, key statistics, quality scores, potential issues, and recommended queries
- Designed for analysts who need to understand an unfamiliar table, and requires a table name to run
Install
$ npx -y skills add astronomer/agents --skill profiling-tables -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Data Profile
Generate a comprehensive profile of a table that a new team member could use to understand the data.
Step 1: Basic Metadata
Query column metadata:
SELECT COLUMN_NAME, DATA_TYPE, COMMENT
FROM <database>.INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = '<schema>' AND TABLE_NAME = '<table>'
ORDER BY ORDINAL_POSITION
If the table name isn't fully qualified, search INFORMATION_SCHEMA.TABLES to locate it first.
Step 2: Size and Shape
Run via run_sql:
SELECT
COUNT(*) as total_rows,
COUNT(*) / 1000000.0 as millions_of_rows
FROM <table>
Step 3: Column-Level Statistics
For each column, gather appropriate statistics based on data type:
Numeric Columns
SELECT
MIN(column_name) as min_val,
MAX(column_name) as max_val,
AVG(column_name) as avg_val,
STDDEV(column_name) as std_dev,
PERCENTILE_CONT(0.5) WITHIN GROUP (ORDER BY column_name) as median,
SUM(CASE WHEN column_name IS NULL THEN 1 ELSE 0 END) as null_count,
COUNT(DISTINCT column_name) as distinct_count
FROM <table>
Details
- Repository
- github.com/astronomer/agents
- Categories
- Databases, Data Science & Analytics
- First seen
- Apr 16, 2026
More from astronomer/agents
All 24- 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
- Analyzing Data1.5K
- Authoring Dags1.3K
- Debugging Dags1.3K
- Testing Dags1.2K
- Migrating Airflow 2 To 31.2K
- Setting Up Astro Project1.1K
- Tracing Upstream Lineage1.1K
Similar to Profiling Tables
More Databases
explore-dataSkillanthropics/knowledge-work-plugins6.1K installsThorough data profiling that classifies columns, flags quality issues, and recommends follow-up analyses before deeper work begins.
checking-freshnessSkillastronomer/agents1K installsQuick data freshness check that reports how recently a table was updated and whether it is stale.
analyzing-dataSkillastronomer/agents1.5K installsAnswers business questions by querying the data warehouse with SQL and caching reusable query strategies.
data-quality-auditorSkillalirezarezvani/claude-skills647 installsAudits datasets for completeness, validity, and outliers, then delivers a scored remediation plan for analysis or training.
MetabaseMCP servermetabase50.5K starsQuery and explore a Metabase instance's databases, dashboards, and saved questions.