用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aliyun/maxcompute-semantic --skill build命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | build |
| description | Use when the user explicitly asks to build, refresh, onboard, or maintain a MaxCompute semantic package. |
Use this only for explicit build / refresh / onboarding / maintenance tasks. Do not load this workflow while answering a data question.
mcs -f json doctor only if setup is unclear.mcs build with the user-requested profile/schema/table overrides.mcs skill get enrich for the full review workflow.mcs package propose --from-suggestions
mcs -f json status --tables
Look at has_ai_context and columns_with_description per table.role / dim_type / agg / id_type in the same YAML. Then propose:
mcs package propose --from-stdin <<'EOF'
tables:
- table: results
ai_context: "Each row is one driver's race result in a single Grand Prix."
columns:
points: {role: measure, agg: SUM, description: "Points scored in this single race (0-50 scale)."}
position: {role: dimension, dim_type: ordinal, description: "Finishing position in this race (1=winner)."}
- table: driverstandings
ai_context: "Each row is one driver's cumulative championship standing after a race."
columns:
points: {role: measure, agg: SUM, description: "Cumulative season championship points after this race."}
position: {role: dimension, dim_type: ordinal, description: "Championship standing rank after this race (1=leader)."}
EOF
mcs package list-proposals
mcs package show-proposal <id>
mcs package apply <id>
mcs package reject <id> --reason "..."
mcs -f json status --tables
Every table should have has_ai_context: true. Tables with
shared-name columns should have columns_with_description > 0.results = per-race outcome vs driverstandings = cumulative
championship rank). Without it the query agent falls back to
column-name heuristics which fail when tables share column names.results.points = "race points" vs driverstandings.points =
"season points"). Table-level ai_context says what a row is;
column-level description says what this column means in this table.Write both from your domain knowledge — what entity each row represents, what each column means in context. This is general semantic metadata.
mcs build is a persistent semantic-package maintenance operation. It
can take minutes and should never be used as a fallback for a query flow.
See references/build.md for flags and maintenance details.