Individual skill
smart-ask-data
问数端到端编排(native CLI 版):从候选 KN 选定知识网络,用 bkn object-type 发现对象类与字段, 由编排层 LLM 生成 SQL,再由 ontology dataview query 执行取数; 最后输出中文结论与口径说明。 当用户需要指标、统计、趋势、SQL 取数或数据查询时使用。 指标管理(Metric)相关的 CRUD / 搜索 / 校验 / 查询数据 / 试运行由 smart-data-analysis 路由到 ontology-core 的 `metric` 命令组, 本 skill 不承担指标定义管理;若用户要管理 KN 级指标定义,应回到 smart-data-analysis 路由到 `ontology metric` 命令组。
configs/microservice/bff-service/configs/agent-skills/ontology/smart-ask-data/SKILL.md
Source commit bee2737925dae3033d7ca57dfbb7ed9dff983831
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- Yes
- 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.
- ai Repository topic
- llm Repository topic
- mcp Repository topic
- rag Repository topic
- wanwu Repository topic
- workflow Repository topic
- agentic-ai Repository topic
- agentic-framework Repository topic
- ai-agent Repository topic
- ai-agent-development-framework Repository topic
- data Derived category
- data-databases Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,119 bytesconfig.jsonruns · 3,635 bytesreferences/kn-resolve.mdruns · 1,234 bytesreferences/schema-discovery.mdruns · 5,355 bytesreferences/sql-execute.mdruns · 6,725 bytesreferences/tool-examples.mdruns · 3,621 bytes
Read excerpt
# Smart Ask Data(问数)
本 skill 定义 **固定先后顺序** 的问数工具链,完全由 `ontology` **native 子命令**(`bkn` / `dataview` / `ds`)实现。
在数据分析员工体系中,本 skill **必须由** [smart-data-analysis](../smart-data-analysis/SKILL.md) **总入口完成意图、选 KN、生成 SQL 等 LLM 决策后再进入执行**;CLI 实际执行由 [ontology-core](../ontology-core/SKILL.md) 承担。
## 调用方式(统一 ontology 命令;委托 ontology-core 执行)
本 skill 涉及的所有数据/Schema 访问 **必须** 通过 `ontology` native 子命令发起。
**Never** 由本 skill 直接执行 `ontology` CLI;所有 CLI 执行均委托 [ontology-core](../ontology-core/SKILL.md) 完成。调用链固定:
```
smart-data-analysis(顶层意图 + LLM 决策:选 KN、生成 SQL)