Skip to main content

pilot-dataset

Exchange structured datasets with schema negotiation and metadata over Pilot Protocol. Use this skill when: 1. You need to share CSV, JSON, or Parquet datasets with schema information 2. You want to negotiate data formats and transformations before transfer 3. You need to maintain dataset lineage and provenance metadata Do NOT use this skill when: - You need to transfer unstructured files (use pilot-share instead) - You need real-time data streaming (use pilot-stream-data instead) - You need ML model files (use pilot-model-share instead)

来源信息

仓库
TeoSlayer/pilot-skills
最近来源活动
2026年4月20日 17:42
检测到的 SKILL.md 语言
英语
星标
8
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
pilot-dataset
description
Exchange structured datasets with schema negotiation and metadata over Pilot Protocol. Use this skill when: 1. You need to share CSV, JSON, or Parquet datasets with schema information 2. You want to negotiate data formats and transformations before transfer 3. You need to maintain dataset lineage and provenance metadata Do NOT use this skill when: - You need to transfer unstructured files (use pilot-share instead) - You need real-time data streaming (use pilot-stream-data instead) - You need ML model files (use pilot-model-share instead)
tags
["pilot-protocol","datasets","data-exchange","schema"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start).
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":"[Truncated]"},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]
# pilot-dataset Structured dataset exchange with schema negotiation, format conversion, and provenance tracking. ## Commands ### Publish Dataset Availability ```bash pilotctl --json publish "$PEER" datasets --data '{"type":"dataset_available","name":"sales_data","format":"csv","rows":1000}' ``` ### Request Dataset ```bash pilotctl --json send-message "$DEST" --data '{"type":"dataset_request","name":"sales_data","preferred_format":"json"}' ``` ### Send Dataset with Metadata ```bash pilotctl --json send-message "$DEST" --data '{"type":"dataset_metadata","name":"sales_data","schema":{"columns":["date","amount"]}}' pilotctl --json send-file "$DEST" "$DATASET_FILE" ``` ### Validate Schema ```bash EXPECTED="date,amount,customer_id" ACTUAL=$(head -1 "$DATASET_FILE") [ "$ACTUAL" = "$EXPECTED" ] && echo "Schema validated" ``` ## Workflow Example ```bash #!/bin/bash # Dataset exchange PEER="agent-b" publish_dataset() { local file="$1" local name="${2:-$(basename $file .csv)}" local rows=$(wc -l < "$file") pilotctl --json publish "$PEER" datasets \ --data "{\"type\":\"dataset_available\",\"name\":\"$name\",\"format\":\"csv\",\"rows\":$rows}" } request_dataset() { local name="$1" local publisher="$2" pilotctl --json send-message "$publisher" \ --data "{\"type\":\"dataset_request\",\"name\":\"$name\",\"preferred_format\":\"csv\"}" sleep 2 pilotctl --json received } publish_dataset "data.csv" "my-dataset" ``` ## Dependencies Requires pilot-protocol, pilotctl, jq, and optionally python3 for format conversion.
在 GitHub 查看