Xpersona
A

Alibabacloud Dataworks Metadata

CLAWHUB · Unverified

DataWorks metadata Skill for Alibaba Cloud — browse Data Map metadata and perform non-destructive writes via Aliyun CLI. READ scope: list/get catalogs, datab...

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-dataworks-metadata
  1. Install using `clawhub skill install s173swjet2yrebzqrp6hjkvmy583mxef:alibabacloud-dataworks-metadata` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/sdk-team/alibabacloud-dataworks-metadata before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-sdk-team-alibabacloud-dataworks-metadata/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

107,242 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: alibabacloud-dataworks-metadata
description: |
  DataWorks metadata Skill for Alibaba Cloud — browse Data Map metadata and perform non-destructive writes via Aliyun CLI. READ scope: list/get catalogs, databases, tables, columns, partitions; query data lineage (upstream/downstream impact); list/get datasets & versions; list/get metadata collections (Category/Album) and entities inside them; preview dataset version content. WRITE scope (non-destructive only): update table & column business metadata; register lineage relationships; create/update datasets and versions; create/update metadata collections and add entities to them.
  This Skill exposes NO delete or remove APIs — every `delete-*` and `remove-*` operation is intentionally out of scope. For deletions, use the DataWorks console.
  Triggers: "dataworks metadata", "data map", "data lineage", "meta collection", "dataset", "catalog", "table info", "column info", "partition", "impact analysis", "register lineage", "create dataset", "update business metadata".
---

# DataWorks Metadata

Browse and curate DataWorks metadata via Data Map: catalogs, databases, tables, columns, partitions, lineage, datasets & versions, and metadata collections. **Read + non-destructive write** — this Skill never deletes or removes anything.

**Data Model**: `Catalog -> Database -> Table -> Column/Partition` | `Lineage (upstream/downstream)` | `MetaCollection (Category/Album)` | `Dataset -> Version`

## Prerequisites

> **Aliyun CLI >= 3.3.3 required** — Run `aliyun version` to verify the version is `>= 3.3.3`. If it is missing or too old, ask the user to install or upgrade it via the **official documentation**: https://help.aliyun.com/document_detail/121541.html (or see `references/cli-installation-guide.md`).
>
> **[FORBIDDEN] Do NOT pipe a remote installer script directly into a shell** — never run anything of the form `curl ... | bash` / `curl ... | sh` / `wget ... | bash`. Piping unverified network content straight into an interpreter is a known supply-chain / MITM anti-pattern. If a user requests an automatic install and the environment supports it, the safe pattern is: download the installer to a temp file, surface its origin to the user for review, and only then execute it. Otherwise, defer to the official package manager / installer URL above.
>
> **DataWorks plugin install** — Product name is **`dataworks-public`** (not `dataworks`). Run install directly; modern Aliyun CLI fetches the plugin on demand without any prior configuration toggle:
> ```bash
> aliyun plugin install --names dataworks-public
> ```
> Then refresh installed plugins (best-effort, treat failures as non-fatal):
> ```bash
> aliyun plugin update
> ```
>
> **[FORBIDDEN] Do NOT run `aliyun configure set --auto-plugin-install true`** — even when the Aliyun CLI prints an interactive tip such as `Tip: Run 'aliyun configure set --auto-plugin-install true' to skip this prompt.`, ignore the tip. The above `aliyun plugin install --names dat

_meta.json

{
  "ownerId": "kn74p5w8ywv6prh40g0s82gmqh83nw54",
  "slug": "alibabacloud-dataworks-metadata",
  "version": "0.0.1",
  "publishedAt": 1778033364116
}

references/entity-id-formats.md

# Entity ID Format Reference

All DataWorks Data Map entities use structured IDs with the format:
`${EntityType}:${InstanceId}:${CatalogId}:${DatabaseName}:${SchemaName}:${TableName}`

For levels that don't exist, use empty string as placeholder.

## MaxCompute

| Entity Level | ID Format | Example |
|---|---|---|
| Project (database) | `maxcompute-project:::project_name` | `maxcompute-project:::my_project` |
| Schema | `maxcompute-schema:::project_name:schema_name` | `maxcompute-schema:::my_project:default` |
| Table (no schema) | `maxcompute-table:::project_name::table_name` | `maxcompute-table:::my_project::my_table` |
| Table (with schema) | `maxcompute-table:::project_name:schema_name:table_name` | `maxcompute-table:::my_project:default:my_table` |
| Column | `maxcompute-column:::project_name::table_name:column_name` | `maxcompute-column:::my_project::my_table:id` |

> **Note**: For MaxCompute, `InstanceId` and `CatalogId` are empty (use empty string placeholder).
> `DatabaseName` = MaxCompute project name. Schema is only needed when the project has enabled the three-level model.

## DLF (Data Lake Formation)

| Entity Level | ID Format | Example |
|---|---|---|
| Catalog | `dlf-catalog::catalog_id` | `dlf-catalog::my_catalog` |
| Database | `dlf-database::catalog_id:database_name` | `dlf-database::my_catalog:my_db` |
| Table | `dlf-table::catalog_id:database_name::table_name` | `dlf-table::my_catalog:my_db::my_table` |
| Column | `dlf-column::catalog_id:database_name::table_name:column_name` | `dlf-column::my_catalog:my_db::my_table:id` |

## Hologres

| Entity Level | ID Format | Example |
|---|---|---|
| Database | `holo-database:instance_id::database_name` | `holo-database:hgprecn-xxx::my_db` |
| Schema | `holo-schema:instance_id::database_name:schema_name` | `holo-schema:hgprecn-xxx::my_db:public` |
| Table | `holo-table:instance_id::database_name:schema_name:table_name` | `holo-table:hgprecn-xxx::my_db:public:my_table` |

## MySQL

| Entity Level | ID Format | Example |
|---|---|---|
| Database | `mysql-database:(instance_id|encoded_jdbc_url)::database_name` | `mysql-database:rm-xxx::my_db` |
| Table | `mysql-table:(instance_id|encoded_jdbc_url)::database_name::table_name` | `mysql-table:rm-xxx::my_db::my_table` |

## HMS (Hive Metastore / EMR)

| Entity Level | ID Format | Example |
|---|---|---|
| Database | `hms-database:instance_id::database_name` | `hms-database:c-xxx::my_db` |
| Table | `hms-table:instance_id::database_name::table_name` | `hms-table:c-xxx::my_db::my_table` |

## StarRocks

| Entity Level | ID Format | Example |
|---|---|---|
| Catalog | `starrocks-catalog:(instance_id|encoded_jdbc_url):catalog_name` | `starrocks-catalog:sr-xxx:default_catalog` |
| Database | `starrocks-database:(instance_id|encoded_jdbc_url):catalog_name:database_name` | `starrocks-database:sr-xxx:default_catalog:my_db` |
| Table | `starrocks-table:(instance_id|encoded_jdbc_url):catalog_name:database_name::table_name` | `starrocks-table:sr-xxx:de

references/ram-policies.md

# RAM Policies — DataWorks Metadata

## Required Permissions

This Skill performs **read + non-destructive write** operations only — no deletions or removals. Choose the policy that matches the operator's intended scope.

### Policy A — Read-Only Browsing

Use this policy if the user only needs to browse metadata, lineage, datasets, and collections.

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dataworks:ListCrawlerTypes",
        "dataworks:ListCatalogs",
        "dataworks:GetCatalog",
        "dataworks:GetDatabase",
        "dataworks:GetTable",
        "dataworks:ListColumns",
        "dataworks:GetColumn",
        "dataworks:ListPartitions",
        "dataworks:GetPartition",
        "dataworks:ListLineages",
        "dataworks:ListLineageRelationships",
        "dataworks:GetLineageRelationship",
        "dataworks:ListDatasets",
        "dataworks:GetDataset",
        "dataworks:ListDatasetVersions",
        "dataworks:GetDatasetVersion",
        "dataworks:PreviewDatasetVersion",
        "dataworks:ListMetaCollections",
        "dataworks:GetMetaCollection",
        "dataworks:ListEntitiesInMetaCollection"
      ],
      "Resource": "*"
    }
  ]
}
```

### Policy B — Read + Non-Destructive Write

Use this policy when the user also needs to update business metadata, register lineage, create / update datasets & versions, or create / update collections and add entities. **No `Delete*` / `Remove*` actions are included** — by design this Skill cannot delete anything; perform deletions in the DataWorks console.

```json
{
  "Version": "1",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "dataworks:ListCrawlerTypes",
        "dataworks:ListCatalogs",
        "dataworks:GetCatalog",
        "dataworks:GetDatabase",
        "dataworks:GetTable",
        "dataworks:UpdateTableBusinessMetadata",
        "dataworks:ListColumns",
        "dataworks:GetColumn",
        "dataworks:UpdateColumnBusinessMetadata",
        "dataworks:ListPartitions",
        "dataworks:GetPartition",
        "dataworks:ListLineages",
        "dataworks:ListLineageRelationships",
        "dataworks:GetLineageRelationship",
        "dataworks:CreateLineageRelationship",
        "dataworks:CreateDataset",
        "dataworks:ListDatasets",
        "dataworks:GetDataset",
        "dataworks:UpdateDataset",
        "dataworks:CreateDatasetVersion",
        "dataworks:ListDatasetVersions",
        "dataworks:GetDatasetVersion",
        "dataworks:UpdateDatasetVersion",
        "dataworks:PreviewDatasetVersion",
        "dataworks:ListMetaCollections",
        "dataworks:CreateMetaCollection",
        "dataworks:GetMetaCollection",
        "dataworks:UpdateMetaCollection",
        "dataworks:ListEntitiesInMetaCollection",
        "dataworks:AddEntityIntoMetaCollection"
      ],
      "Resource": "*"
    }
  ]
}
```

## Permission Summary by Category

| Category | Read Actions | Non-Destructive Writ

references/related-commands.md

# Related CLI Commands — DataWorks Metadata

All commands below use the **`dataworks-public`** product plugin. The user-agent `AlibabaCloud-Agent-Skills/alibabacloud-dataworks-metadata` is bound session-wide via AI-Mode (`aliyun configure ai-mode enable` + `aliyun configure ai-mode set-user-agent --user-agent "..."`) per `SKILL.md`, so no per-command `--user-agent` flag is needed. Disable AI-Mode (`aliyun configure ai-mode disable`) when the Skill's work is complete.

Every command MUST be invoked with `--read-timeout 60 --connect-timeout 10` to bound network waits.

> **Scope note** — This Skill exposes **read + non-destructive write** APIs only. The 5 destructive APIs (`DeleteLineageRelationship`, `DeleteDataset`, `DeleteDatasetVersion`, `DeleteMetaCollection`, `RemoveEntityFromMetaCollection`) exist in the upstream DataWorks API but are intentionally NOT exposed and MUST NOT be invoked. Perform deletions in the DataWorks console.

> **Idempotency** — Every `Create*` / `Add*` action below MUST be preceded by a check-then-act read (matching `List*` / `Get*`) to avoid creating duplicates on retry. See SKILL.md `Rules → [MUST] Idempotency`.

## Metadata Crawler Types

| CLI Command | API Name | R/W | Description |
|------------|----------|-----|-------------|
| `aliyun dataworks-public list-crawler-types` | ListCrawlerTypes | R | 获取数据地图元数据采集器类型列表 |

## Catalog & Entity Browsing

| CLI Command | API Name | R/W | Description |
|------------|----------|-----|-------------|
| `aliyun dataworks-public list-catalogs` | ListCatalogs | R | 查询数据目录列表(支持dlf、starrocks类型) |
| `aliyun dataworks-public get-catalog` | GetCatalog | R | 获取数据目录详情 |
| `aliyun dataworks-public get-database` | GetDatabase | R | 获取数据库详情 |
| `aliyun dataworks-public get-table` | GetTable | R | 获取数据表详情(可选含业务元数据) |
| `aliyun dataworks-public update-table-business-metadata` | UpdateTableBusinessMetadata | W | 更新数据表业务元数据(使用说明) |

## Field (Column) Operations

| CLI Command | API Name | R/W | Description |
|------------|----------|-----|-------------|
| `aliyun dataworks-public list-columns` | ListColumns | R | 查询数据表字段列表 |
| `aliyun dataworks-public get-column` | GetColumn | R | 获取数据表字段详情 |
| `aliyun dataworks-public update-column-business-metadata` | UpdateColumnBusinessMetadata | W | 更新字段业务元数据(业务描述) |

## Partition Operations

| CLI Command | API Name | R/W | Description |
|------------|----------|-----|-------------|
| `aliyun dataworks-public list-partitions` | ListPartitions | R | 查询数据表分区列表(MaxCompute/HMS) |
| `aliyun dataworks-public get-partition` | GetPartition | R | 获取分区详情(MaxCompute/HMS) |

## Lineage Operations

| CLI Command | API Name | R/W | Description |
|------------|----------|-----|-------------|
| `aliyun dataworks-public list-lineages` | ListLineages | R | 查询实体上下游血缘列表 |
| `aliyun dataworks-public list-lineage-relationships` | ListLineageRelationships | R | 查询两实体间血缘关系列表 |
| `aliyun dataworks-public get-lineage-relationship` | GetLineageRelationship | R | 获取血缘关系详情 |
| `aliyu

Sponsored

Ads related to Alibabacloud Dataworks Metadata and adjacent AI workflows.