data-cleaning
使用场景: 用户要求检查并按明确规则清洗 CSV/XLSX,先预览变更再确认执行时。
YouTeacher
@youteacher
Install
$ openclaw skills install @youteacher/data-cleaning数据清洗
Skill 简介
数据清洗 Skill 对 CSV/XLSX 做无损结构检查,保留原始行号、字面值、空白行与公式状态;清洗规则先生成逐项样本和影响数量,只有用户确认冻结预览后才执行并交付私有文件。同一快照与规则可复现,不让模型暗中改数。
平台入口与注册
- 打开 AI Skills 平台,新用户进入 注册页面,已有账号进入 登录页面。
- 登录后进入 产品管理 开通本 Skill,再到 API 密钥管理 创建密钥。
Skill 安装与配置
- 在 API 密钥管理中选择已开通的产品,创建并复制 API 密钥。
- 在 OpenClaw 中安装本 Skill。
- 将复制的密钥配置到本 Skill 的 API 密钥环境变量,然后重启 Gateway:
openclaw config set env.DATA_CLEANING_API_KEY "你的平台APIKey"
openclaw gateway restart
Agent 执行规则
- 依次执行
clean.inspect(检查数据)、clean.preview(预览清洗)、clean.execute(确认执行)。 - 规则必须结构化且明确;遇到含糊日期、公式或类型转换风险时停止并向用户确认,不自行猜测。
- 向用户展示预览的规则、影响量和变更样本;仅在用户明确确认后提交平台返回的
confirmation_token,不得自行构造或修改令牌。 - 结果以平台确定性计算为准;不得重新计算后覆盖行数、单元格数、规则摘要或校验和。
完成标准
- 异步任务轮询至终态,按来源任务链继续;七日后来源失效时重新检查文件。
- 网络结果不确定时复用相同
Idempotency-Key、UUID 和完全相同输入,不创建重复执行。 - 交付
artifacts、审计摘要、实际影响量与未处理风险;私有下载地址只提供给当前用户。
参考资料
按当前任务读取对应资料;无需预读全部文档。
Top skills in this category
Word / DOCX
@ivangdavilaCreate, inspect, and edit Microsoft Word documents and DOCX files with reliable styles, numbering, tracked changes, tables, sections, and compatibility check...
Nano Pdf
@steipeteEdit PDFs with natural-language instructions using the nano-pdf CLI.
Excel / XLSX
@ivangdavilaCreate, inspect, and edit Microsoft Excel workbooks and XLSX files with reliable formulas, dates, types, formatting, recalculation, and template preservation...
Markdown Converter
@steipeteConvert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.
Powerpoint / PPTX
@ivangdavilaCreate, inspect, and edit Microsoft PowerPoint presentations and PPTX decks with reliable layouts, templates, placeholders, notes, charts, and visual QA. Use...