Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

exploring-data-catalog

FreeNo executable scriptsNot checked

Inventories and audits what is registered in the AWS Glue Data Catalog, the default catalog in an AWS account: catalogs, databases and tables (including S3…

awsby aws★ 3,696 GitHub stars

About this skill

Structured inventory and cataloging across your AWS data landscape: Glue Data Catalog with S3 Tables, Redshift-federated, and remote Iceberg catalogs.

Overview

Maps data in an AWS account. Starts with catalog landscape (Glue, S3 Tables, federated), then drills into databases and tables. Read-only — no query execution.

Constraints for parameter acquisition:

  • You MUST ask for the target AWS region upfront if not provided
  • You MUST support a single optional argument: search term, catalog name, database name, S3 path, or table name
  • You MUST accept the argument as direct input or a pointer to a file containing the spec
  • You MUST confirm the scope (full landscape vs. targeted deep dive) before making API calls
  • You MUST respect the user's decision to abort at any step

Common Tasks

Pagination: All list and search calls in this workflow may return paginated results. You MUST pass --next-token from the previous response until no more tokens are returned. You MUST NOT assume a single page contains all results.

1. Verify Dependencies

Check for required tools and AWS access before exploring.

Constraints:

  • You MUST verify AWS MCP server tools are available (aws___call_aws, aws___search_documentation) and fall back to AWS CLI if not
  • You MUST confirm credentials are valid: aws sts get-caller-identity
  • If AWS MCP server tools are not available, you MUST say so and that you are using the AWS CLI instead, then continue. You MUST NOT stop to ask permission for this fallback
  • You MUST stop and tell the user only if neither the AWS MCP tools nor the AWS CLI with valid credentials is available

2. Consult Catalog Context (suggested first lookup)

Customers may publish context assets that describe the data landscape (canonical names, domains, ownership) faster than a full enumeration.

These are the asset operations (SearchAssets / GetAsset / ListIterableForms / BatchGetIterableForms) — a distinct metadata-search surface, NOT the legacy glue search-tables. Older AWS CLI and SDK builds do not include them, so check that they are available before using them.

Regions. The Glue business-context and search operations (assets, attachments, reference links, glossaries, forms and SearchAssets) are not available in every AWS Region. If the first asset operation fails because the operation or its endpoint is not available in the Region, tell the user that business context is not available there, skip this step and use the full enumeration (Steps 3-5).

Check availability first.

  1. Availability. Confirm the GetAsset operation exists in the caller's Glue CLI model (redirect output so the CLI pager cannot block a non-interactive agent):

    aws glue get-asset help > /dev/null 2>&1
    # exit 0 = available. exit 2 (with "Invalid choice" in stderr) = not in this CLI (skip).
    # any other non-zero (network/credential error) = inconclusive; treat as unavailable.
    

    If it is not available, skip this step and go to the full enumeration (Steps 3-5).

How this model differs: the asset operations index assets (not databases/tables). Each asset's Id is an ARN, and get-asset / list-iterable-forms key off it via the identifier — there is no --database-name. CLI flags are kebab-case; top-level response fields are PascalCase. NOTE: a *.Content value is itself a JSON STRING with its own camelCase schema (e.g. dataLocation, dataFormat, isPartitionKey) — parse it as embedded JSON. The operations:

Operation Input → Output
search-assets --search-text (+ optional --filter-clause) → Items[] of {Id, AssetName, Type, Namespace, AssetTypeId, UpdatedAt} (search items have NO description — call get-asset for Description/Forms)
get-asset --identifier <Id, an ARN> → one asset's {Description, Forms, IterableForms}; Forms."amazon::Table".Content is JSON {dataLocation, dataFormat, type}; advertises column availability via IterableForms: {"columns": {...}}
list-iterable-forms --asset-identifier <table ARN> --iterable-form-name columns → that table's columns Items[] of {ItemId, ItemName, Description}
batch-get-iterable-forms --asset-identifier <table ARN> --iterable-form-name columns --item-identifiers <id1> <id2> ... (space-separated list) → Items[] of {ItemName, Forms} where Forms.Column.Content is JSON {"type": "...", "isPartitionKey": ...}
aws glue search-assets --search-text '<scope or domain, e.g. sales>' --max-results 10
aws glue get-asset --identifier "arn:aws:glue:<region>:<account>:table/<db>/<table>"

Narrow with --filter-clause to scope the audit (filterable: type, amazon.glue::GlueTable.databaseName, amazon::Table.dataFormat, createdAt):

aws glue search-assets --search-text 'sales' --max-results 10 \
  --filter-clause '{"AttributeFilter": {"Attribute": "amazon.glue::GlueTable.databaseName", "Operator": "equals", "Value":
Full SKILL.md on GitHub

Install exploring-data-catalog in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

references/inventory-checklist.md

FAQ

What does the exploring-data-catalog skill do?

Inventories and audits what is registered in the AWS Glue Data Catalog, the default catalog in an AWS account: catalogs, databases and tables (including S3 Tables, Redshift-federated and remote Iceberg catalogs) and every other asset type it holds, such as Redshift schemas, DynamoDB tables and SageMaker AI models and feature groups. Use for "our catalog" questions that do not name SageMaker. Triggers on: inventory the catalog, catalog overview, data landscape, what data and ML assets do we have, assets beyond Glue tables, walk me through a database, including the descriptions, glossary terms and reference links on its tables, list all tables, audit databases, enumerate catalogs. Do NOT use for: locating one asset or reading what is on it (use finding-data-lake-assets), writing metadata (use managing-data-catalog), running queries (use querying-data-lake), creating tables (use creating-data-lake-table), or SageMaker Catalog, SageMaker Unified Studio or DataZone metadata (use querying-aws-sagemaker-catalog).

How do I install the exploring-data-catalog skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the exploring-data-catalog skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare exploring-data-catalog with