intelligent-query SKILL.md skillB
intelligent-query from infometa/workbuddyskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add infometa/workbuddyskills/intelligent-query@git:20261004.0dd7831Pins git:20261004.0dd7831 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- infometa/workbuddyskills
- Path
connectors/databuddy/skills/intelligent-query/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261004.0dd7831, committed Oct 4, 2026
- Size
- 16,421 bytes
- Repository stars
- 368
- License
- none declared
用户只是询问一些简单的数据查询的问题时使用该SKILL, 如果涉及到较为复杂的、综合类型的问题时不要使用该Skill。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 智能问数(intelligent-query)
## 当前环境
- **工作空间 文件夹**(workspace_folder):可以在SystemMessage中找到 或者 在整个上下文中最近一次的user对话中找到,<user_info>标签内有定义“Workspace Folder”的值, 如果找不到就取默认值`~/.wedata`
## 定位
**取数 + 渲染**。收到路由后只做两件事:① 调用 `wedatacli query-data`;② 按契约把 CLI 原文机械拼成 Markdown。
> **🚨 看板排斥(P0 强制)**:用户消息中出现「看板 / 创建看板 / 搭看板 / 大盘 / 驾驶舱 / 监控视图 / KPI 看板」等关键词时,**必须路由到 `intelligent-kanban`,禁止进入本 skill**。本 skill 只返回 CSV/表格/趋势图,不生成看板 HTML。即使用户同时提到了表名(如"创建一个看板 olist_orders_dataset"),也必须路由到 `intelligent-kanban`。
---
## Step 1 · 取数(wedatacli query-data)
服务端自动完成混合召回 + 路由决策 + Semantic/NL2SQL 双路并行 + 结果选择,且支持在 SQL/SemQL 中一次性完成过滤、派生列、排序、TopN、单位换算,**用户原话透传即可,无需拆分**。
```json
{
"command": "wedatacli query-data \"<用户原始问题>\" --no-progress --draw",
"timeout": 300000
}
```
> - `timeout: 300000` **必须设置**(默认 120s 对复杂查询不够);如需机器解析加 `--output json`。
> - `--draw` **必须传**:让 CLI 在成功后返回长时效 COS 链接与顶层 draw_spec body(被 `<!--WEDATA_DRAW_SPEC_BEGIN-->` / `<!--WEDATA_DRAW_SPEC_END-->` 包围;body 具体形态为 `` ```draw_spec `` fenced JSON 或 `<script>+<div class="wedata-chart">` HTML 片段,由 CLI 侧部署配置决定)。
> - 若 `workspace_folder` 值存在,`command` 命令末尾还需要追加 CLI 参数:`--workspace_folder <workspace_folder>`。
**⚠️ 问题传递与时间规则(P0)**:
…Read the whole file at its exact version.
How to install
mdr add infometa/workbuddyskills/intelligent-query@sha256:9ab8763e0e2dd52dThe line at the top of this page pins the label git:20261004.0dd7831, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_gz6q66atnrya3rhp)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 4, 2026.
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (16421 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
infometa/workbuddyskills · 368 stars · license none declared · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_gz6q66atnrya3rhp GET https://markdownregistry.com/api/v1/resolve?ref=infometa/workbuddyskills/intelligent-query GET https://markdownregistry.com/api/v1/blob/9ab8763e0e2dd52dafa360940a28b8311a642445c1001491c92816c4d35d2b00
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.