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.
npx skills add datagallery-ai/dataagent --skill dataops-probegit clone --depth 1 https://github.com/datagallery-ai/dataagentWrote 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.
[](https://agentmods.dev/skills/datagallery-ai/dataagent/dataops-probe)<a href="https://agentmods.dev/skills/datagallery-ai/dataagent/dataops-probe"><img src="https://agentmods.dev/badge/skills/datagallery-ai/dataagent/dataops-probe/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.
<a href="https://agentmods.dev/skills/datagallery-ai/dataagent/dataops-probe"><img src="https://agentmods.dev/badge/skills/datagallery-ai/dataagent/dataops-probe.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00216 | $0.01661 |
| Opus 5.5 | $0.00086 | $0.00664 |
| Sonnet 5.5 | $0.00043 | $0.00332 |
| Haiku 4.5 | $0.00022 | $0.00166 |
Grade A, and why
dataops-probe 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
DataOps Probe (Sample-Row Tooling)
When to Run
- 你刚拿到一批候选表,需要在写 DDL/DML 之前确认列名拼写、值域、是否分区表、是否空表。
- 比 schema search/get_table_desc 更进一步:返回真实样本行,不是元数据。
- 单次探查开销小(默认 LIMIT 5、timeout 60s),但不要在同一个 agent loop 里反复探同一张表(数据没变)。
Core Constraints (Must Follow)
columns是必填参数,不允许省略。DataOps 平台禁止SELECT *, 所以工具签名里columns是 required 参数(schema 的required列表包含columns)。少传会被 schema 校验直接拦下;传空列表[]会返回invalid_columns。 调用前必须先通过 metadata_recall/get_table_schema 拿到表的真实列名, 再把要探查的列显式列出来。列名只能是单段标识符,不能写db.tbl.col这种带库表前缀的形式(会被反引号包成`db.tbl.col`而解析失败), 也不能传*。partition_filter只能是pt_d = 'YYYYMMDD'一种形态。小时/分钟分区 (pt_h/pt_i)、dt/p_date等其它列名一律不认 —— 哪怕表是_hm/_im后缀的小时表也只用pt_d探查(探查目的是确认「列名拼写 / 值域 / 是否有数据」,落到某个具体时刻没有意义)。- 绝对不要写
$date/$hour/$minute占位符。DataOps 后端不会替换 这些占位符(它们是 DDL/DML 调度时的模板替换机制,probe 是临时 SELECT 探索, 不走同一套机制),工具层也会白名单拒绝。写了会返回invalid_partition_filter。 - 不要拼日期。工具不做日期计算;你必须把"今天"显式写成 8 位字符串。
- 不要盲目重试。看到非
completed结果时直接读reason/errorLog给用户 解释,或换一张相邻表。
partition_filter 规则
工具层只接受下面这一种整串形式(空格变体允许,但列名固定):
| 形态 | 例 | 适用 |
|---|---|---|
| 仅天 | pt_d = '20261012' |
所有表(含 _hm / _im 后缀的小时/分钟表) |
日期数字必须语义合法(date(...) 二次校验):月份 1-12、日期 1-31。
字符串合法但语义非法(pt_d = '20261301')会被工具拒掉。
缺省时工具自动生成(避免 LLM 漏传导致 DataOps 平台 "partition condition
not found"):日期 = 系统当前日期 - 7 天(默认探查"前一周",数据已稳定落盘;
今天 20261012 → 默认查 20261005),形态恒为 pt_d = 'YYYYMMDD',不按表名
后缀区分。成功返回里会带 auto_partition_filter 字段告诉你实际用了什么。
需要覆盖默认值时显式传 partition_filter:
- 用户明确要"今天"或"前 N 天" → 自己计算 yyyymmdd 后传入。
典型调用
# 天表
dataops_probe_table(
table="dws.user_action_dm",
columns=["user_id", "action_type"],
partition_filter="pt_d = '20261012'",
sample_size=5,
)
# 小时表 / 分钟表 —— 同样只用 pt_d,不要传 pt_h / pt_i
dataops_probe_table(
table="dws.user_action_im",
columns=["user_id", "action_type"],
partition_filter="pt_d = '20261012'",
)
What ships with it
1 file 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.
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.
- 2d ago First seen · 104 lines · 216 tokens per session scan A b402d82be825
dataops-probe is a skill published in the GitHub repository datagallery-ai/dataagent (748 stars, last pushed 3d ago), licensed Apache-2.0. It adds 216 tokens to every session and 1,661 once invoked, about $0.0009 per session on Opus 5.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-11-28.
dataops-probe compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dataops-probedatagallery-ai/dataagent | Skill | 748 | 3d ago | Apache-2.0 | A | 216 | Claude Code, Codex |
| fetch-dataagentscope-ai/QwenPaw-Data | Skill | 208 | 5d ago | Apache-2.0 | A | 286 | Claude Code, Codex |
| cm-skillsagentscope-ai/QwenPaw-Data | Skill | 208 | 5d ago | Apache-2.0 | A | 73 | Claude Code, Codex |
| query-odpsagentscope-ai/QwenPaw-Data | Skill | 208 | 5d ago | Apache-2.0 | A | 111 | Claude Code, Codex |
| sql-analysisrunxhq/runx | Skill | 106 | yesterday | Apache-2.0 | A | 43 | Claude Code, Codex |
| setup-data-workspacedanielrosehill/Claude-Data-Analyst-plugin | Skill | 13 | 27d ago | MIT | A | 73 | Claude Code |
| documentdb-collection-adminKnuckles-Team/documentdb-mcp | Skill | 2 | 4d ago | MIT | A | 78 | Claude Code, Codex |