finding-data-lake-assets
FreeNo executable scriptsNot checkedLocates a specific data asset in the AWS Glue Data Catalog, the default catalog in an AWS account, and reports what is on it. Resolves Glue, S3 Tables and…
by aws★ 3,696 GitHub starsAbout this skill
Find Data Lake Assets
Overview
Resolves data lake asset references to concrete catalog entries. Acts as a resolver for other skills and direct user requests. Covers Glue, S3, S3 Tables, and Redshift. Optimized for low token usage — return the answer fast and get out of the way.
Constraints for parameter acquisition:
- You MUST accept a single argument: table name, keyword, column name, or S3 path
- You MUST accept the argument as direct input or a pointer to a file containing the spec
- You MUST ask for the target AWS region if not already set
- You MUST confirm ambiguous input before searching (e.g., "Did you mean table X or bucket Y?")
- You MUST respect the user's decision to abort at any step
Common Tasks
You MUST execute commands using AWS MCP server tools when connected — they provide validation, sandboxed execution, and audit logging. Fall back to AWS CLI only if MCP is unavailable. You MUST explain each step before executing.
1. Verify Dependencies
Check for required tools and AWS access before searching.
Constraints:
- You MUST verify AWS MCP server tools (
aws___call_aws) are available; fall back to AWS CLI if not - You MUST confirm credentials with
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)
The customer may publish reference links in the Glue Data Catalog that map their business language to the real tables — canonical names and aliases, join keys, metrics, usage notes, descriptions — that the raw schema does not carry. When present, this catalog is often enough to answer the request on its own.
These are the asset operations (SearchAssets / GetAsset /
ListIterableForms / BatchGetIterableForms) — a distinct metadata-search surface,
NOT the legacy glue search-tables used in Step 5. 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 Steps 3-7.
Check availability first.
Availability. Confirm the
GetAssetoperation 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 normal search workflow (Steps 3-7).
How this model differs: the asset operations index assets (not databases/tables). Every
asset has an Id that is an ARN, and every lookup after SearchAssets keys off that ARN
via the identifier — there is no --database-name/--table-name. CLI flags are kebab-case
(--search-text, --max-results, --filter-clause); top-level response fields are PascalCase
(Id, AssetName, Forms). NOTE: a *.Content value is itself a JSON STRING with its own
camelCase schema (e.g. dataLocation, dataFormat, isPartitionKey) — parse it as embedded JSON,
do not expect PascalCase inside. The operations you need:
| Operation | Input → Output |
|---|---|
search-assets |
--search-text (+ optional --filter-clause) → Items[] of {Id, AssetName, Type, Namespace, AssetTypeId, UpdatedAt} (NOTE: search items do NOT include a 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} (ItemId = <table-ARN>#<columnName>) |
batch-get-iterable-forms |
--asset-identifier <table ARN> --iterable-form-name columns --item-identifiers <id1> <id2> ... (space-separated) → Items[] of {ItemName, Forms} where Forms.Column.Content is JSON {"type": "...", "isPartitionKey": ...} |
aws glue search-assets --search-text '<user request terms>' --max-results 5
# Id is a full ARN, e.g. arn:aws:glue:us-west-2:123456789012:table/<db>/<table>
aws glue get-asset --identifier "arn:aws:glue:<region>:<account>:table/<db>/<table>"
`search-asset
Install finding-data-lake-assets 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
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the finding-data-lake-assets skill do?
Locates a specific data asset in the AWS Glue Data Catalog, the default catalog in an AWS account, and reports what is on it. Resolves Glue, S3 Tables and Redshift tables, DynamoDB tables, SageMaker AI models and feature groups and other registered assets, by name, topic, column or S3 path, with filters on database, format, asset type or created date. Triggers on: find the table, where is this data located or stored, which reference links are attached to a table, which table has, which table should I use, locate dataset, Redshift table, data lake table, reverse lookup S3 path, which glossary terms or description a table has, which tables are tagged with a glossary term. Do NOT use for: full catalog inventories or audits (use exploring-data-catalog), adding or changing 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 finding-data-lake-assets 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 finding-data-lake-assets skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic