Registry / cas-bigdatalab

cas-bigdatalab/piflow/random-sampler

JSONL 随机采样工具。读取 JSONL 数据集,按抽样数量或抽样比例无放回抽取样本,输出保留原字段结构的采样结果。 当用户提到随机采样、按数量抽样、按比例抽样、JSONL 抽样筛查等需求时使用此skill。 即使用户没有明确说出"random_sampler",只要任务涉及对 JSONL 记录做无放回随机抽取,就应该使用此skill。 不负责分层采样、领域均衡采样、表格采样或其他格式转换。

Agent skill · version 0.0.0-master.1794520985.gad8d010 · from cas-bigdatalab/piflow

Install

npx yarkr-cli add skill:cas-bigdatalab/piflow/random-sampler

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:cas-bigdatalab/piflow/random-sampler
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:cas-bigdatalab/piflow/random-sampler

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:cas-bigdatalab/piflow/random-sampler

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.