Ae Metadata

ThinkingAIAgenticEngine/ae-cli/skills/ae-metadata

作者 ThinkingAIAgenticEnginec18c0d9ae00cefae5c9cba511ed4ac4dfc27f30b无许可证收录于 2026年10月9日更新于 2026年10月9日

AE metadata capability-gateway CLI: list, inspect, create, update, delete and download metadata data tables; bind an existing dimension table to a property or create and bind a CSV dimension table. Local file upload and event/property discovery are separate prerequisite capabilities.

仅含说明Data & Analytics
AI 生成的概览

通过分析能力网关管理 AE 元数据数据表及属性维度表绑定的 CLI 技能。

功能
在 metadata 域下提供十个 ae-cli 命令,用于列出、查看、创建、更新、删除和下载元数据数据表,以及将现有维度表绑定到属性,或创建并绑定 CSV 维度表。文档说明了命令参数、输出信封、错误结构、高风险删除的安全规则,以及每个命令对应的参考文件。产出为表或绑定操作结果、资源标识符,或异步下载的运行与产物状态。
适用场景
当任务涉及 AE 元数据数据表操作或属性维度表绑定时使用。本地文件上传、事件与属性发现、指标增删改查、虚拟元数据、批量元数据、项目配置和埋点方案由其他独立能力处理。
运行要求
需要 ae-cli 工具,以及可访问的 AE 主机和 cli-token 认证头。本地 CSV 流程需要由单独的上传能力获取有效的已上传输入文件标识符和用途。不附带脚本,仅包含说明和参考文档。

ae-metadata

CLI domain metadata routes to the analysis capability gateway (/api/cli/analysis/v1/...), using auth header cli-token.

Use this skill for gateway-backed data-table and property dimension-table operations.

Capability contract

  • Responsibilities: data-table management and dimension-table bindings through the commands below.
  • Inputs: verified project, table/property identifiers and operation-specific parameters; local CSV workflows need a valid uploaded input-file identifier and purpose.
  • Outputs: table/binding operation results, resource identifiers, or download run/artifact status. A submitted asynchronous download is not yet a completed file.
  • Boundaries: local input-file upload, event/property detail and discovery, metric CRUD, virtual metadata, batch metadata, project configuration and tracking plans are separate capabilities.
  • Completion: the requested table or binding result is verified, or pending/blocked work and its remaining requirements are reported.

Cross-skill collaboration

When remaining work is outside this skill's scope, or a necessary prerequisite needs another capability, follow the collaboration protocol [blocked]. Choose from the skills available in this run by capability, preserve verified context, and continue the remaining task. Reuse this protocol if already loaded.

Global AE CLI Rules

ParameterDescription
--format <json|table>Output format. Default JSON.
--jq <expr>jq filter on JSON output.
--host <url>Override active AE host, e.g. ae-cli metadata data-table list --host <url> ....
--validateOptional: fix params only (/validate). Alone while iterating complex qp / payload — then run. Do not stack with --dry-run.
--dry-runOptional: confirm ready to run (/dry-run). Alone for risk/output preview. Do not stack with --validate.

Output and errors:

  • Success: JSON envelope (default). May include optional _notice.host_compat.
  • Failure: { "ok": false, "error": { "type", "message", "hint" } }, non-zero exit.
  • CRITICAL — Host compat (do this first): After each ae-cli run, check stderr and _notice.host_compat. If either is present, open the user reply with a short ⚠️ version warning and quote the npm i -g / npx skills add (or update-cluster) lines verbatim, then present the business result. Soft tip; ok: true can still carry the notice.

Safety:

  • Read-only commands can run directly after IDs/names are verified.
  • Ordinary writes (data-table *-write, property-bindings-update, dimension-table bind/create) execute without --yes. Delete commands are high-risk-write: dry-run first, summarize impact, wait for explicit confirmation, then execute with --yes.
  • Before any command, read the matching references/<name>.md (filename = command with spaces → underscores, e.g. metadata data-table list → metadata_data_table_list.md).
  • Never invent project_id, event/property names, input_file_id, or data_table_id. Reuse verified names or discover a metadata lookup capability; find data table IDs via metadata data-table list.
  • metadata data-table download is an async artifact command: plain invocation submits, --wait waits, and --output <file> waits then streams atomically. Resume with analysis run wait; local interruption never cancels the remote run.

When to Use

Use this skill when the user needs:

  • Metadata data-table list/get/create/update/delete/download
  • For local uploads, first obtain an input-file identifier through an available upload capability with the required purpose, then continue the table operation.
  • Bind an existing data table to a property, or create a CSV dimension table and bind it

For out-of-scope work, discover an available capability using the collaboration protocol.

Command Format

bash
ae-cli metadata <resource> <action> [options]ae-cli metadata property <dimension-table-action> [options]
  • Commands and flags use kebab-case: data-table, dimension-table, --project-id, --data-table-id.
  • Gateway input body fields remain snake_case (project_id, event_name, …); ae-cli maps flags automatically.

PROJECT_ID_GATE

Reuse verified project context in one conversation; otherwise discover a project lookup capability to resolve project_id. Ask the user only when the returned projects leave a real ambiguity.

Commands (10)

User commandCapability idReference
metadata data-table listmetadata.data_table.listmetadata_data_table_list.md [blocked]
metadata data-table getmetadata.data_table.getmetadata_data_table_get.md [blocked]
metadata data-table csv-writemetadata.data_table.csv_writemetadata_data_table_csv_write.md [blocked]
metadata data-table sql-writemetadata.data_table.sql_writemetadata_data_table_sql_write.md [blocked]
metadata data-table csv-deletemetadata.data_table.csv_deletemetadata_data_table_csv_delete.md [blocked]
metadata data-table sql-deletemetadata.data_table.sql_deletemetadata_data_table_sql_delete.md [blocked]
metadata data-table downloadmetadata.data_table.downloadmetadata_data_table_download.md [blocked]
metadata data-table property-bindings-updatemetadata.data_table.property_bindings_updatemetadata_data_table_property_bindings_update.md [blocked]
metadata property bind-existing-dimension-tablemetadata.property.bind_existing_dimension_tablemetadata_property_dimension_table_bind_existing.md [blocked]
metadata property create-and-bind-csv-dimension-tablemetadata.property.create_and_bind_csv_dimension_tablemetadata_property_dimension_table_create_and_bind_csv.md [blocked]

Quick Verification

bash
ae-cli metadata --helpae-cli metadata data-table list --helpae-cli metadata data-table list --project-id 1 --dry-runae-cli analysis input-file purpose list --project-id 1

来源与署名

来源:ThinkingAIAgenticEngine/ae-cli位于skills/ae-metadata提交c18c0d9

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架