Token导航 LogoToken导航

Agent Skill · 开发

dataset-curator(数据集管理员)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

dataset-curator 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 21,446。

总安装 188周安装 8GitHub Stars 15下载 66核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:dataset-curator(数据集管理员)
来源仓库:https://github.com/nickcrew/claude-ctx-plugin
仓库路径:skills/dataset-curator
安装命令:
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill dataset-curator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill dataset-curator

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

dataset-curator 用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备,适合在数据清洗、汇总和分析等场景中提升效率。适用于数据科学家、分析师和开发者在处理结构化数据时的日常任务。支持字段清洗、异常检测、统计口径生成和结果可视化说明等功能。

安装命令为 npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill dataset-curator。使用时需确认数据来源、字段含义和时间范围,避免将样本当作全量事实;涉及敏感数据时应注意脱敏边界。

来源仓库内路径:skills/dataset-curator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill dataset-cur…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

dataset-curator 怎么安装?

在终端执行 npx skills add https://github.com/nickcrew/claude-ctx-plugin --skill dataset-curator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

dataset-curator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

dataset-curator 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

dataset-curator 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

dataset-curator 用的人多吗?

公开数据是累计安装 188 次,近一周安装 8 次,下载 66 次,GitHub 15 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

dataset-curator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
dataset-curator

数据集管理员 · 本页

18815需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Dataset Curator

Overview

This skill covers the full lifecycle of dataset creation and curation for machine learning and LLM tasks. It addresses dataset schema design, data collection strategies, quality filtering, deduplication, class imbalance mitigation, stratified train/val/test splits, annotation guideline writing, and dataset card documentation. Good datasets are the foundation of reliable models — this skill helps teams avoid the most common data quality pitfalls that lead to poor generalization, evaluation leakage, and biased models.

When to Use

  • Designing a new dataset schema for a classification, extraction, or generation task
  • Cleaning and deduplicating a raw dataset before model training
  • Planning annotation guidelines for human labelers or LLM-assisted labeling
  • Addressing class imbalance in a training set (oversampling, undersampling, weighting)
  • Creating stratified train/val/test splits without leakage between splits
  • Writing a dataset card (model card for data) for reproducibility and documentation
  • Auditing an existing dataset for quality, coverage, and potential biases
  • Combining multiple data sources into a single unified dataset

When NOT to Use

  • Training or fine-tuning a model (use model training skills)
  • Running SQL or analytical queries on a production database (use data analysis skills)
  • Building real-time data pipelines or streaming ETL (use data engineering skills)
  • Designing evaluation suites for deployed LLMs (use eval-designer skill)
  • Web scraping or data collection from APIs (use data collection skills)

Quick Reference

TaskApproach
Define dataset schemaList fields, types, required vs optional, allowed values, and examples
Remove duplicatesHash-based exact dedup + MinHash/LSH for near-duplicate detection
Fix class imbalanceOversample minority (SMOTE) or undersample majority; adjust loss weights
Create train/val/test splitsStratified split by label; ensure no overlap of entities across splits
Document the datasetWrite a dataset card with provenance, schema, statistics, and limitations
Validate annotation qualityCompute inter-annotator agreement (Cohen's kappa or Krippendorff's alpha)
Handle missing valuesDecide per-field: impute, drop row, or add "unknown" category
Detect label noiseUse confident learning (cleanlab) or cross-validation outlier detection

Instructions

  1. Define the task and schema — Before collecting any data, write the schema: every field name, data type, allowed values, and whether it is required. For classification datasets, enumerate all valid labels and their definitions. Ambiguous schemas cause inconsistent annotations and training failures.
  2. Establish collection strategy — Determine the data source: human-annotated, LLM-generated, web-scraped, synthetic, or a combination. Document collection date, source URLs, licenses, and any sampling decisions. Ensure the collection covers the full input distribution the model will encounter in production.
  3. Write annotation guidelines — Create a guideline document for labelers that defines every label, provides positive and negative examples for each, and includes decision rules for edge cases. Pilot the guidelines with 2–3 annotators on a sample of 50 items and iterate before full annotation begins.
  4. Run quality filtering — Remove items that are too short, too long, contain encoding errors, are in the wrong language, or fail domain-specific quality checks. Log how many items were removed at each filter step and why. Preserve a raw snapshot before filtering.
  5. Deduplicate the dataset — Apply exact deduplication first (hash the text or key fields). Then apply near-duplicate detection using MinHash + LSH (e.g., datasketch library) or sentence embedding cosine similarity. Aim to remove items with >80% overlap. Keep the highest-quality copy when deduplicating.
  6. Assess and address class imbalance — Compute class distribution. If any class has less than 5% of the majority class count, consider: (a) collecting more data for minority classes, (b) oversampling with augmentation, (c) applying class weights in the loss function, or (d) using stratified sampling. Document the chosen approach and its rationale.
  7. Create stratified splits — Split data into train/val/test sets preserving class distribution in each split. Use an 80/10/10 or 70/15/15 ratio as a starting point. For datasets with identifiable entities (users, documents, companies), ensure the same entity never appears in multiple splits to prevent leakage. Test set must remain untouched until final evaluation.
  8. Measure annotation quality — For human-labeled data, compute inter-annotator agreement on a sample (at least 10% of the dataset labeled by 2+ annotators). Cohen's kappa > 0.7 is acceptable; < 0.6 indicates guideline issues. Resolve disagreements through adjudication, not random selection.
  9. Audit for biases and coverage gaps — Analyze the dataset across demographic attributes, time periods, domains, and edge cases. Identify over-represented and under-represented slices. Document known limitations in the dataset card. If possible, compare distribution to real production data.
  10. Write the dataset card — Document: dataset name, version, task, schema, collection methodology, source licenses, size (rows and tokens), class distribution, split sizes, known limitations and biases, and citation. Use the Hugging Face dataset card format for compatibility with the ecosystem.

Examples

Example 1: Text Classification Dataset Design for Customer Intent Detection

Input: A support team wants to train a model to classify customer emails into 8 intent categories: billing, refund, technical-issue, account-access, product-question, cancellation, complaint, and other.

Output:

Schema definition:

{
  "id": "string (UUID)",
  "text": "string (customer email body, min 10 chars, max 2000 chars)",
  "label": "enum: [billing, refund, technical-issue, account-access, product-question, cancellation, complaint, other]",
  "confidence": "float 0.0–1.0 (annotator confidence)",
  "annotator_id": "string",
  "annotation_date": "ISO 8601 date",
  "source": "enum: [zendesk, email-archive, synthetic]"
}

Collection plan:

  • Export 5,000 historical support tickets from Zendesk (past 12 months)
  • Strip PII: replace names with [NAME], emails with [EMAIL], account numbers with [ACCT]
  • Target distribution: at least 300 examples per class (aim for balanced; use augmentation for rare classes)

Annotation guidelines excerpt:

Label: "refund"
Definition: Customer is requesting money back for a purchase.
Positive examples:
  - "I'd like a refund for my order from last week"
  - "Please return the charge to my credit card"
Negative examples (do NOT label as refund):
  - "I want to exchange my item" → label as product-question
  - "Why was I charged twice?" → label as billing
Edge case: "I want to cancel and get my money back" → label as cancellation (intent is to cancel)

Deduplication approach:

from datasketch import MinHash, MinHashLSH

def get_minhash(text, num_perm=128):
    m = MinHash(num_perm=num_perm)
    for word in text.lower().split():
        m.update(word.encode('utf8'))
    return m

lsh = MinHashLSH(threshold=0.8, num_perm=128)
# Add items and query for near-duplicates; keep only one per cluster

Split strategy:

Total: 5,200 items (after dedup and filtering)
Train: 4,160 (80%) — stratified by label
Val:   520  (10%) — stratified by label
Test:  520  (10%) — stratified by label; set aside immediately, not used for development

Example 2: Image Dataset Curation Plan for Defect Detection

Input: A manufacturing team wants to train a binary classifier to detect product defects from camera images. They have 10,000 raw images, but only ~400 are defective.

Output:

Schema definition:

image_id:    string (factory_line + timestamp)
image_path:  string (relative path to image file)
label:       enum: [defective, non-defective]
defect_type: enum: [scratch, dent, discoloration, missing-component, none] (sub-type for defective)
image_width: int (pixels)
image_height: int (pixels)
capture_date: ISO 8601 date
production_line: string
annotated_by: string (annotator ID or "automated")

Quality filtering rules:

  • Remove images where the product is not centered (bounding box check)
  • Remove blurry images (Laplacian variance < 100 threshold)
  • Remove images with wrong resolution (must be 1280×960 ± 10%)
  • Remove duplicates from the same second on the same camera (likely duplicate frames)

Class imbalance strategy:

Original: 9,600 non-defective, 400 defective (24:1 imbalance)

Option 1 — Data augmentation for minority class:
  Apply: horizontal flip, ±15° rotation, brightness ±20%, add Gaussian noise
  Target: 2,000 defective images (5× augmentation)
  Result: 9,600 non-defective, 2,000 defective (4.8:1 ratio) — more manageable

Option 2 — Class weighting (simpler, use if augmentation is not feasible):
  class_weight = {0: 1.0, 1: 24.0}  # inverse frequency weighting
  Apply in model training loss function

Recommendation: Use both — augment to 2,000 AND apply 4.8:1 class weight

Dataset card excerpt:

Dataset Name: Manufacturing Defect Detection v1.2
Task: Binary image classification (defective / non-defective)
Size: 11,600 images (9,600 non-defective, 2,000 defective after augmentation)
Source: Factory line cameras, Line A and Line B, 2024-01 to 2024-06
License: Internal use only (proprietary)
Known Limitations:
  - Only covers Lines A and B; Line C has different lighting conditions
  - Defective samples over-represent scratches (60% of defects)
  - No samples from night shift (different ambient light)
Split: Train 80% / Val 10% / Test 10% (stratified by label and production line)

Best Practices

  • Always freeze the test set before any experimentation — never iterate on test set performance
  • Document the data collection date and source version — datasets drift over time
  • Use UUIDs for item IDs, not sequential integers — they are stable across merges and re-runs
  • Store the raw data alongside the processed data — you will need to reprocess with new filters
  • Measure and report inter-annotator agreement before training — low agreement means low ceiling
  • For NLP tasks, ensure your tokenizer sees the dataset's actual vocabulary before finalizing splits
  • Use a random seed and record it — reproducibility is critical for debugging dataset issues
  • When using LLM-generated labels, always validate a sample with human reviewers

Common Mistakes

  • Mixing entities across splits (e.g., same user in train and test) — causes evaluation leakage
  • Forgetting to normalize text before deduplication (lowercasing, whitespace) — misses duplicates
  • Applying augmentation before splitting — augmented versions of train items may leak into test
  • Treating "50% accuracy" as a failure without checking if the majority class is 50% of data
  • Using accuracy as the only metric for imbalanced datasets — use F1, precision-recall curves
  • Labeling with only one annotator and assuming perfect quality — always do agreement checks
  • Not versioning the dataset — future model iterations can't be compared fairly

Tips & Tricks

  • Use cleanlab to automatically detect likely mislabeled examples in existing datasets
  • For text deduplication at scale, MinHash LSH is far faster than pairwise cosine similarity
  • Hugging Face datasets library handles streaming, caching, and map operations efficiently for large datasets
  • Add a data_source field to every item — it's invaluable when debugging distribution shift
  • Always visualize your dataset: class distribution histograms, length distributions, temporal trends
  • When augmenting, ensure augmented items are marked with an augmented: true flag for traceability
  • For annotation, use Label Studio or Prodigy for efficient tooling with built-in agreement metrics

Related Skills

平台分布

Codex

35.3%
按下载量换算23

Claude

30.4%
按下载量换算20

Cursor

17.61%
按下载量换算12

Gemini CLI

9.09%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills