Command Palette

Search for a command to run...

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

finding-data-lake-assets

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

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…

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

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

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.

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

Полный SKILL.md на GitHub

Установить finding-data-lake-assets в Claude Code и Claude Desktop

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

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

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

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

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

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

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

references/search-strategy.md

FAQ

Что делает скилл finding-data-lake-assets?

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

Как установить скилл finding-data-lake-assets?

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

Скилл finding-data-lake-assets запускает скрипты?

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

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

Сравнить finding-data-lake-assets с