Individual skill

smart-data-analysis

数据分析员工(Data Analyst Agent)的唯一总入口:凡与数据资产、取数、指标、表/视图、 治理职责、知识网络、统计或分析相关的问题,必须先经本 skill 做编排与路由,再进入找表或问数等子流程。 负责 kn 分域、上下文注入(accountId / date)、多候选 KN 时的 LLM 决策、 问数分支的 SQL 生成;与 smart-search-tables / smart-ask-data / ontology-core 的交接。 当用户提出任何数据类自然语言任务、或需在多条业务 KN 间切换时使用; 所有 ontology CLI 执行均委托 ontology-core 完成,本 skill 不直接执行 CLI。 指标管理(Metric)相关的 CRUD / 搜索 / 校验 / 查询数据 / 试运行也由本 skill 路由到 ontology-core 的 `metric` 命令组。

configs/microservice/bff-service/configs/agent-skills/ontology/smart-data-analysis/SKILL.md

Read pinned source

Source commit bee2737925dae3033d7ca57dfbb7ed9dff983831

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 3, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
2,385
Repository last updated
Nov 6, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Smart Data Analysis(总编排)

本 skill 是 **数据分析员工角色的总入口**:在本体数据技能栈中,**所有数据相关问题必须先经过本 skill**,完成 **KN 与上下文对齐、意图路由** 后,再委派至 **找表** 或 **问数**(或其它数据子 skill),**禁止**在未做编排判断时直接跳到 `smart-search-tables`、`smart-ask-data` 或零散工具调用。

**Never** 由本 skill 直接执行 `ontology` CLI;所有 CLI 调用(包括为选 KN 取候选元数据的 `bkn list/get`,与问数分支的 `bkn object-type get / dataview query --sql` 等)均委托 [ontology-core](../ontology-core/SKILL.md) 执行。

调用链:

```
smart-data-analysis(顶层意图 + LLM 决策:选 KN / 生成 SQL)
  ├─ ontology-core(直接委托:bkn list/get 等用于自身决策)
  └─ smart-search-tables 或 smart-ask-data(子流程)
       └─ ontology-core(子流程的 CLI 委托)
```