smart-search-tables

smart-search-tables is a skill for Claude Code from UnicomAI/wanwu. It costs 125 tokens per session (2,306 once invoked), scanned A, original, Apache-2.0.

A search workflow for finding database tables or views and the departments responsible for them. A data catalog is a searchable record of data assets, while a view is a saved database query that presents selected data.

In plain words
What is it for?
Use it when asking where data is stored, which view to use, who owns it, or which department is responsible.
Why use it?
It connects a data asset with its ownership and governance responsibilities instead of returning only a possible table name.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when asking where data is stored, which view to use, who owns it, or which department is responsible.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unicomai/wanwu/smart-search-tables
About the project

Wanwu is an enterprise platform for building AI agents, workflows, retrieval-augmented applications, and managing models in multi-tenant environments. It is designed for developers and enterprise teams delivering AI applications and integrations. The catalogue entries provide skills and agents for using the platform.

UnicomAI/wanwu · 2,461 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add UnicomAI/wanwu --skill smart-search-tables
Clone the repo
git clone --depth 1 https://github.com/UnicomAI/wanwu

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smart-search-tables

README.md
[![agentmods](https://agentmods.dev/badge/skills/unicomai/wanwu/smart-search-tables/github.svg)](https://agentmods.dev/skills/unicomai/wanwu/smart-search-tables)
Your own site
<a href="https://agentmods.dev/skills/unicomai/wanwu/smart-search-tables"><img src="https://agentmods.dev/badge/skills/unicomai/wanwu/smart-search-tables/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for smart-search-tables

Your own site · 80×15
<a href="https://agentmods.dev/skills/unicomai/wanwu/smart-search-tables"><img src="https://agentmods.dev/badge/skills/unicomai/wanwu/smart-search-tables.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,306 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00125 $0.02306
Opus 5 $0.00063 $0.01153
Sonnet 5 $0.00025 $0.00461
Haiku 4.5 $0.00013 $0.00231

Measured 6d ago against content hash 6cc828fa20ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

smart-search-tables scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

configs/microservice/bff-service/configs/agent-skills/ontology/smart-search-tables/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Smart Search Tables(找表 / 找数)

本 skill 定义 固定先后顺序 的找表工具链,完全由 ontology native 子命令 实现:先在元数据型 KN 中检索表/视图实例,再在职责型 KN 中检索相关部门职责。

在数据分析员工体系中,本 skill 必须由 smart-data-analysis 总入口完成意图与 KN 编排后再进入执行;CLI 实际执行由 ontology-core 承担。

调用方式(统一 ontology 命令;委托 ontology-core 执行)

本 skill 涉及的所有数据/元数据检索 必须 通过 ontology native 子命令发起。

Never 由本 skill 直接执行 ontology CLI;所有 CLI 执行均委托 ontology-core 完成。调用链固定:

smart-data-analysis(顶层意图 + KN 编排 + LLM 决策)
  └─ smart-search-tables(本 skill:描述要调的命令形态 + 顺序 + 总结口径)
       └─ ontology-core(实际执行 ontology 命令,返回结果)

子技能依赖

子技能 角色 返回 约束
smart-data-analysis 顶层意图路由与 KN 选定 进入本 skill 的上下文(kn_id / duty_kn_id / accountId / search 词) Never 跳过 smart-data-analysis 直接接管流程
ontology-core smart-search-tables 的 CLI 委托 命令执行结果与回执 Never 跳过 smart-search-tables 直接接管流程

委托给 ontology-core 的命令形态

本 skill 仅 描述 下列命令形态供 ontology-core 执行;本文档与 references 中 不出现 真实执行入口。

ontology --user-id <accountId> <command> [options]

具体 2 个检索步骤对应到 native 子命令:

步骤 native 子命令 用途
1. 元数据 KN 检索 bkn object-type query <kn_id> <ot-id> '<condition-json>' [--limit n] 在元数据型 KN 下用语义/精确条件检索表/视图等实例
2. 职责 KN 检索 bkn object-type query <duty_kn_id> <ot-id> '<condition-json>' [--limit n] 在职责型 KN 下检索相关部门职责实例或概念
—(辅助) bkn object-type list <kn-id> 在不确定 ot-id 时先列出对象类或语义定位
  • --user-id <accountId>必传(顶层选项,写在子命令之前;详见 ontology-core SKILL)。
  • 网关(--base-url / ONTOLOGY_BASE_URL)由 ontology-core 侧承担,本 skill 不出现该参数。
  • 本部署 ontology CLI 无须 token;命令体内 不出现 --token / auth.token / Authorization
  • -bd bd_public:默认即 bd_public,可省。

必读 references(按步骤)

步骤 说明 Reference
1 元数据 KN 实例检索(找表/视图) references/metadata-search.md
2 职责 KN 检索(相关部门职责) references/duty-search.md
端到端顺序示例 references/tool-examples.md

Read the full file on GitHub · 126 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 126 lines · 125 tokens per session scan A 6cc828fa20ad

Subscribe to this mod's changes

smart-search-tables is a skill published in the GitHub repository UnicomAI/wanwu (2,461 stars, last pushed 5d ago), licensed Apache-2.0. It adds 125 tokens to every session and 2,306 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.