byted-bytehouse-data-quality-inspector
ByteHouse 数据质量检查工具。当用户提供集群连接信息、数据库名和表名,需要检查排序键、主键和分区键所使用的列的空值、零值情况,是否存在异常分布,以及排序键、主键的重复情况时,使用此技能。适用于 "数据质量检查"、"排序键 / 主键 / 分区键分析"、"空值分析"、"零值分析"、"重复键检查"、"Top…
Skill by bytedanceOfficial
Chalk Labs
Need help deploying byted-bytehouse-data-quality-inspector?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/bytedance-byted-bytehouse-data-quality-inspector
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/byted-bytehouse-data-quality-inspector
What's inside
- Skill name
byted-bytehouse-data-quality-inspector- Description
- ByteHouse 数据质量检查工具。当用户提供集群连接信息、数据库名和表名,需要检查排序键、主键和分区键所使用的列的空值、零值情况,是否存在异常分布,以及排序键、主键的重复情况时,使用此技能。适用于 "数据质量检查"、"排序键 / 主键 / 分区键分析"、"空值分析"、"零值分析"、"重复键检查"、"Top 分布" 等诉求。
- License
- Apache-2.0
- Instructions
- 133 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- export_config.sh · scripts/
- inspector.py · scripts/
SKILL.md (first lines)
# ByteHouse 数据质量检查工具
## 描述
本 Skill 用于对 ByteHouse 表的关键键列(分区键、排序键、主键)进行快速数据质量分析,识别空值、零值、异常分布以及重复键等常见质量问题。
**当以下情况时使用此 Skill:**
1. 用户需要检查 ByteHouse 中某个表的数据质量。
2. 用户需要分析表的排序键、主键或分区键的空值、零值情况。
3. 用户想了解键列的数据分布情况(Top N 值及占比)。
4. 用户需要检查排序键 / 主键组合是否存在重复记录。
5. 用户提到 "数据质量"、"空值检查"、"零值检查"、"主键重复"、"排序键重复"、"分区键异常" 等关键词。
## 前置条件
- Python 3.8+
- `clickhouse-connect` 库(未安装时执行 `pip install clickhouse-connect`)
- `jq`(`export_config.sh` 依赖,用于解析 JSON 配置。安装方式:`brew install jq` 或 `sudo apt install jq`)
- 有效的 ByteHouse 连接信息(保存于 `~/.bytehouse_config.json`)
## 📁 文件说明
- **SKILL.md** — 本文件,技能主文档。
- **scripts/inspector.py** — 数据质量检查主程序。
- **scripts/export_config.sh** — 从 `~/.bytehouse_config.json` 加载配置到环境变量(依赖 `jq`)。
## 配置说明
配置保存在 `~/.bytehouse_config.json`。如果该文件存在且非空,直接使用文件中的配置;如果不存在,则向用户索要 ByteHouse 连接信息(可以把 [ByteHouse 连接信息获取指引](https://www.volcengine.com/docs/6517/1121919?lang=zh) 一并发给用户),拿到后写入 JSON 文件,避免重复询问。当用户切换 ByteHouse 集群时,一并更新该文件。
```json
{
"BYTEHOUSE_HOST": "<ByteHouse-host>",
"BYTEHOUSE_PASSWORD": "<ByteHouse-password>"
}
```
- `BYTEHOUSE_HOST`(主机地址)与 `BYTEHOUSE_PASSWORD`(密码)**必须由用户提供**。
加载配置:
```bash
source scripts/export_config.sh
```
## 🧭 智能体使用指引
1. **确认配置**:`source scripts/export_config.sh`,确保 `BYTEHOUSE_HOST` 与 `BYTEHOUSE_PASSWORD` 已就绪。
2. **确认目标表**:向用户确认要检查的库名(`--database`)和表名(`--table`)。多张表可以循环调用脚本。
3. **执行检查**:`python3 scripts/inspector.py --database <库名> --table <表名>`。
4. **解读结果**:脚本会分别输出「空值/零值/分布」和「主键/排序键重复情况」两大部分。若用户没有明确关注点,重点关注空值占比 > 1%、零值占比 > 5%、Top1 占比 > 20%、重复键行数占比 > 0.5% 等异常。
5. **禁止越权操作**:本 Skill 只做**只读**的统计查询,**不要**触发 DELETE / OPTIMIZE / DROP 等 DML/DDL 操作。修复数据应由用户在评估后单独操作。
## 🎯 功能特性
1. **自动识别键列**
- 从 `system.columns` 自动获取表的分区键、排序键和主键列。
2. **空值与零值检查**
- 统计键列的 Null 值数量和占比。
- 数值类型统计 0 值数量和占比;字符串类型统计空字符串数量和占比。
3. **异常分布分析**
- 统计键列出现频率最高的 Top 5 值及占比。
4. **重复情况检查**
- 分别针对主键组合、排序键组合,统计存在重复的唯一键组数以及涉及的总行数。
## 🚀 快速开始
```bash
# 加载配置
source scripts/export_config.sh
# 检查单张表
python3 scripts/inspector.py --database default --table my_table
```
## 💡 常用姿势
- **批量检查多张表**:
```bash
for tbl in orders order_items users; do
python3 scripts/inspector.py --database default --table "$tbl"
done
```
- **和资产分析结合**:先用 `byted-bytehouse-data-asset-analyzer` 输出的目录挑出重点表,再逐表跑本 Skill。
## 示例输出摘要
```text
=== 表 default.my_table 数据质量分析报告 ===
总行数: 1000000
分区键: date
排序键: user_id, event_time
主键: user_id
=============================================
1. 关键列空值、零值及分布情况分析:
---------------------------------------------
▶ 列 [user_id] (类型: String):
- 空值 (Null) 数量: 0 (占比: 0.00%)
- 空字符串 ('') 数量: 15 (占比: 0.00%)
- 数据分布 (Top 5):
* user_123: 500 行 (占比: 0.05%)
...
2. 键重复情况分析:
---------------------------------------------
▶ 主键 [user_id] 重复情况:
- 存在重复的唯一键组合数: 850
- 涉及的重复行数: 15000 (占比: 1.50%)
```
## 注意事项From bytedance/agentkit-samples, Apache-2.0.
More from bytedance/agentkit-samples
- 0.805score
byted-sms-sender
volcengine-sms-teamOfficial
火山引擎国内短信服务(Volcengine SMS)。支持短信服务开通,资质、签名和模板的申请与查询,运营商报备查询,引流链接及号码录入,单条、群发和定时发送,以及发送记录、回执、统计查询与失败排查。
SkillAFreshness: A★ 473Claude Code +9 - 0.709score
byted-vms-configure
leixin.alex@bytedance.comOfficial
火山云通信「通用配置」Skill (通用层).
SkillCFreshness: C★ 473Claude Code +9 - 0.709score
byted-ark-evolve
volcengine/modelarkOfficial
Agent self-evolution system.
SkillCFreshness: C★ 473Claude Code +9 - 0.709score
byted-ark-seedance-guide
volcengine/supportOfficial
火山方舟 Seedance 模型使用指导技能。用户询问 Seedance/seedance2.0/doubao-seedance-2-0/doubao-seedance-2-0-fast/seedance2.0-mini等seedance系列模型的火山方舟接入、API…
SkillCFreshness: C★ 473Claude Code +9 - 0.705score
byted-ark-seedance-pe
volcengine/supportOfficial
针对用户提供的seedance原始视频提示词进行分析和优化,重新生成适合 Seedance 视频生成的标准提示词。当存在以下情况时使用:(1) 用户提供了原始的视频提示词,要求分析/优化;(2) 需要对不规范、无结构的提示词描述进行重构和标准化;(3) 生成适合 AI 视频生成模型的专业结构化提示词。
SkillCFreshness: C★ 473Claude Code +9 - 0.705score
byted-vms-voice-notify
leixin.alex@bytedance.comOfficial
火山云通信语音通知 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-aicall
leixin.alex@bytedance.comOfficial
火山云通信智能外呼 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-number-pool
leixin.alex@bytedance.comOfficial
火山云通信通用能力层 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-secret-number
leixin.alex@bytedance.comOfficial
火山云通信隐私号 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.702score
byted-vms-cdr-record
leixin.alex@bytedance.comOfficial
火山云通信话单 / 录音查询 Skill.
SkillCFreshness: C★ 473Claude Code +9 - 0.698score
byted-volc-cdn-manage
ByteDanceOfficial
通过火山引擎 CLI 管理 CDN 域名。支持新增域名和刷新预热, 使用时会先检查并安装 CLI(如需要)。
SkillCFreshness: C★ 473Claude Code +9 - 0.690score
byted-ark-trainer
volcengine/modelarkOfficial
基于ark_sdk的大模型训练任务自动化工具。帮助用户通过自然语言创建并提交方舟模型训练任务,支持用户自备数据的SFT训练、RFT+GRPO和直接GRPO策略,并引导用户完成训练、状态跟踪与评估闭环。使用场景:当用户需要进行大模型SFT监督微调、RLHF训练、GRPO训练、RFT训练,或需要自动化训练流程时触发。
SkillCFreshness: C★ 473Claude Code +9
Signals
- Stars
- 473
- Forks
- 101
- Open issues
- 14
- Last commit (this folder)
- Jul 21, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/bytedance/agentkit-samples
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from bytedance
- 0.674score
byted-supabase
bytedanceOfficial
火山引擎 Supabase .
SkillAFreshness: A★ 473Claude Code +9 - 0.674score
byted-mem0-memory-management
bytedanceOfficial
管理火山引擎记忆库 Mem0 的记忆项目与长期记忆。当用户需要查询 Mem0 项目、提取策略、连接地址或已有 API Key 信息,以及添加、列举、读取、搜索、更新、删除记忆和查询异步任务时使用。控制面仅支持读操作;不用于自建开源 mem0 的部署配置、内部 MemoryBase 运维或日志查询。
SkillAFreshness: A★ 473Claude Code +9 - 0.668score
MCP Server Commands
bytedance
An MCP server to run arbitrary commands
ConnectorAFreshness: ARemoteLocal★ 39.4K↓ 199/wkClaude Code +5 - 0.668score
agentkit-hybrid-cloud-demo
bytedanceOfficial
Deploy, update, validate, and troubleshoot the AgentKit hybrid-cloud customer-service demo in this directory.
SkillAFreshness: A★ 473Claude Code +9 - 0.665score
byted-vedb-mysql
bytedanceOfficial
火山引擎云数据库 VeDB MySQL 版(简称vedbm)管理技能。当用户需要创建 VEDB 实例、查询 VEDB 实例列表、查看实例详情、管理数据库账号、获取实例连接地址(Endpoints)、或对实例规格进行升级/降级时使用此技能。包含特定关键词:火山引擎云数据库、VEDBM、VeDB MySQL。
SkillAFreshness: A★ 473Claude Code +9 - 0.662score
comic-drama-master
bytedanceOfficial
漫剧制作总导演。接受用户故事创意,依次完成剧本创作、角色设计、分镜图生成、分镜视频生成、视频合成全流程,产物保存到 COMIC_DRAMA_OUTPUT_DIR(默认 ./output),最终交付完整漫剧视频和 TOS 链接。
SkillAFreshness: A★ 473Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get byted-bytehouse-data-quality-inspector running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
byted-bytehouse-data-quality-inspector skill. Agent Mart. https://agentmart.dev/skills/bytedance-byted-bytehouse-data-quality-inspector (last updated 2026-10-24)