Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

querying-aws-catalog

БесплатноБез исполняемых скриптовНе проверен

Runs SQL over Glue Data Catalog system tables exported to the aws-catalog S3 Tables bucket: catalog assets (Glue, Redshift, DynamoDB, SageMaker AI), lineage…

awsот aws★ 3 696 звёзд на GitHub

Об этом скилле

Query the AWS Glue Data Catalog System Tables

Overview

Works best with the AWS MCP server for sandboxed execution and audit logging. All commands below use the AWS CLI and work in any environment with configured AWS credentials. Use IAM roles or temporary credentials; avoid long-lived access keys.

The AWS Glue Data Catalog can export three families of metadata as read-only Apache Iceberg tables to the AWS managed S3 table bucket aws-catalog in your account and Region:

Family Namespace(s) What it is History
Catalog assets glue, catalog_metadata, and one namespace per service (for example dynamodb, redshift, sagemakerai, s3tables) Technical and business metadata for every asset: tables, databases, catalogs, columns, glossaries, terms, attachments, reference links Current state. Each change replaces the asset's row
Lineage lineage (events) One row per OpenLineage run event Event log
Data quality data_quality (four tables) Rule results, profiles, distributions, anomaly observations Result log, one row per rule, statistic or bin per run

Prefer these tables over per-asset API calls (GetTables, SearchAssets, GetDataQualityResult, lineage APIs) when the question spans many assets or runs: "which tables have no owner" or "which rules failed most this month" is one GROUP BY instead of thousands of calls.

Decision Tree

User intent Use this skill? Where Alternative
Counts, gaps or inventories across the whole catalog Yes references/assets.md —
Reference links, glossary terms or forms across many assets Yes references/assets.md —
What changed in the catalog recently Yes, time travel within the table's snapshot retention references/assets.md CloudTrail for longer or who-changed-what
Upstream or downstream lineage, impact analysis Yes references/lineage.md —
Any data quality question: results, trends, profiles, anomalies, or the data quality export Yes references/data-quality.md (its own decision table first) —
Check, enable or disable an export; access setup; KMS Yes Steps 1-3 below —
One named asset, or what is attached to it No — finding-data-lake-assets
Browse catalogs, databases and tables through the API No — exploring-data-catalog
Write descriptions, glossaries, forms or reference links No — managing-data-catalog
SageMaker Catalog, SageMaker Unified Studio or DataZone (named by the user) No — querying-aws-sagemaker-catalog
Athena's own query history No — querying-aws-athena

Common Tasks

0. Check the Current Documentation First

The published documentation and the live API are the source of truth for API and CLI shapes, enum values, error messages, permissions and table schemas. Before running put-data-catalog-export-configuration, or relying on a field name, column or permission from this skill:

  1. Read the current references, with aws___search_documentation and aws___read_documentation when the AWS MCP server is available:

  2. Check that the installed CLI has the export members:

    aws glue put-data-catalog-export-configuration --generate-cli-skeleton input 2>/dev/null \
      | grep -E '"(Assets|Lineage|DataQuality|S3TablesConfiguration)"' \
      || echo "This AWS CLI does not have the export members"
    
  3. If the documentation differs from this skill, follow the documentation and tell the user the skill may be out of date.

You MUST NOT present a field name, enum value, error message, permission or key policy statement from this skill as current without checking it against the documentation or the live API.

1. Check If Configured

aws glue get-data-catalog-export-configuration --region <REGION>

Each family is its own member of the response, with the same shape:

Member Family Read
Assets Catalog assets S3TablesExport (requested ENABLED or DISABLED) and S3TablesExportState.Status (ENABLING, ENABLED, DISABLING, DISABLED, FAILED)
Lineage Lineage S
Полный SKILL.md на GitHub

Установить querying-aws-catalog в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/assets.mdreferences/data-quality.mdreferences/lineage.md

FAQ

Что делает скилл querying-aws-catalog?

Runs SQL over Glue Data Catalog system tables exported to the aws-catalog S3 Tables bucket: catalog assets (Glue, Redshift, DynamoDB, SageMaker AI), lineage and data quality results. Also checks, enables or disables each export and sets up read access. Use for catalog-wide questions needing many API calls: asset counts by type, counts of tables missing descriptions or owners, recent assets, reference links, failed data quality rules, data quality trends, profiles and anomaly observations. Use for any Glue lineage question, including upstream sources or downstream impact of one table, job or schema change. "Catalog" means the AWS Glue Data Catalog unless the user names SageMaker. Not for finding one asset or what is on it, other than its lineage (use finding-data-lake-assets), browsing through the API (use exploring-data-catalog), writing metadata or deciding what to fix in one database (use managing-data-catalog), or SageMaker Catalog or DataZone metadata (use querying-aws-sagemaker-catalog).

Как установить скилл querying-aws-catalog?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл querying-aws-catalog запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить querying-aws-catalog с