已收录
dataset-transformation
Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says "transform", "convert", "reformat", "change the format", or when a dataset's schema needs to change to match the target format — always use this skill for format ch
概览
Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says "transform", "convert", "reformat", "change the format", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3.
展开完整说明
以下为来源文档,不是本网站的操作指令。执行命令前请先核实权限。
Dataset Transformation Agent
Transforms a data set provided by the user into their desired format.
When to Use
- User needs to generate code for transforming datasets for SageMaker model training or model evaluation.
- A dataset requires processing, cleaning, or formatting before training or evaluation.
- Workflow requires a formal review and approval cycle before execution.
Prerequisites
- The SDK environment has been verified (SDK version, region, execution role). If not done, activate the
sdk-getting-startedskill first.
Principles
- One thing at a time. Each response advances exactly one decision. Never combine multiple questions or recommendations in a single turn.
- Confirm before proceeding. Wait for the user to agree before moving to the next step. You are a guide, not a runaway train.
- Don't read files until you need them. Only read reference files when you've reached the workflow step that requires them and the user has confirmed the direction. Never read ahead.
- No narration. Don't explain what you're about to do or what you just did. Share outcomes and ask questions. Keep responses short and focused.
- No repetition. If you said something before a tool call, don't repeat it after. Only share new information.
- Do not deviate from the Workflow. The steps listed in the workflow should be followed exactly as described. Progress from Step 1 to Step 11 to complete the task. Do not deviate from the workflow!
- Always end with a question. Whenever you pause for user input, acknowledgment, or feedback, your response must end with a question. Never leave the user with a statement and expect them to know they need to respond.
- Default output format is JSONL. Unless the user explicitly requests a different file format, the transformed dataset should be written as
.jsonl(JSON Lines — one JSON object per line).
Known Dataset Formats Reference
This skill supports two transformation purposes — training data and evaluation data — each with its own format resolution path. The purpose is determined in Step 1 of the workflow.
Training Data Formats
Resolve the target format using the reference file ../dataset-evaluation/references/strategy_data_requirements.md. When the transformation is for model training, the required format depends on both the model type (Open Weights like Llama/Qwen vs Nova) and the finetuning technique (SFT, DPO, RLVR, RLAIF) — make sure to match on both dimensions. If either the model type or technique is not yet known, ask the user before resolving the format.
Evaluation Data Formats
When the transformation is for model evaluation, resolve the target format using this order:
- Try fetching the live documentation at https://docs.aws.amazon.com/sagemaker/latest/dg/model-customize-evaluation-dataset-formats.html to get the latest evaluation dataset schema definitions.
- If the fetch fails (e.g., no internet access, VPC environment), fall back to the offline copy at
references/sagemaker_dataset_formats.md. Inform the user that the format schemas are from an offline copy and may be outdated.
Use whichever source you successfully access as the source of truth for the target format. Do not rely on memorized schemas.
Workflow
Step 1: Determine transformation purpose
Your first response should determine whether this transformation is for model training or model evaluation. If the context already makes this clear (e.g., the user said "I need to prep my training data" or "I need to format my eval dataset"), confirm your understanding and move on. Otherwise, ask:
"Is this dataset transformation for model training or model evaluation? This helps me look up the right target format for you."
- Training → format resolution will use the local training data requirements reference (model type + finetuning technique dependent).
- Evaluation → format resolution will use the live AWS documentation (with offline fallback).
Remember this choice — it determines how the target format is resolved in Step 3.
⏸ Wait for user.
Step 2: Set expectations
Acknowledge the user's request and state what this skill can do:
"I can help you transform your dataset's format! Here's my plan: I will first need to understand the format of your dataset and the transformation requirements. Once I have that, I will generate a dataset transformation function that we can refine together. After the dataset transformation function is refined to your liking, I will perform the transformation task and upload it to your desired location! Does this sound good?"
⏸ Wait for user.
Step 3: Understand the dataset transformation task
For this step, you need to know: what dataset format the user would like to transform their dataset from and what dataset format they would like to transform it in to. If you know this already, skip this step. If not, ask the user:
"What's the dataset format you would like to transform it into?"
Resolve the target format based on the purpose determined in Step 1:
- If training data: Ask the user for the finetuning technique (SFT, DPO, RLVR, RLAIF) and model type (Open Weights like Llama/Qwen vs Nova) if not already known. Then look up the required format from the "Training Data Formats" section in the Known Dataset Formats Reference above.
- If evaluation data: If the user mentions a well-known format name (e.g., "OpenAI format", "SageMaker format"), fetch the schema from the live documentation as described in the "Evaluation Data Formats" section above. If a well-known format is fetched, confirm with the user:
"I've found a SageMaker dataset format: {sagemaker-dataset-format-name} with schema: {sagemaker-dataset-format-schema}. Is this what you were referring to?"
If the user describes a custom format not listed in the reference doc, ask them to provide a sample record of the desired output format.
⏸ Wait for user.
Step 4: Get the dataset from the user
For this step, you need: the location of the user's dataset. If you know this already, skip this step. If not, ask the user:
"Where can I find your dataset? Either a local directory or S3 location works!"
⏸ Wait for user.
Step 5: Examine sample data
Read 1–2 sample records from the user's dataset and show them so the user can confirm the source schema. Do not run format detection — that is handled by the planning skill before this skill is invoked.
Do not show a side-by-side mapping to the target format here — the detailed mapping will be handled in Step 7 when generating the transformation function.
⏸ Wait for user.
Step 6: Get the dataset output location
For this step, you need: to understand where to output the transformed dataset to. It could be an S3 URI or local directory If you already know where the dataset is supposed to be output to, skip this step. If not, ask the user:
"Where should I output your transformed dataset to? Either a local directory or S3 location works!"
If the user provides a directory (not a full file path), construct the output filename using the pattern {original_name}_{target_format}.jsonl (e.g., gen_qa_100k_openai.jsonl).
⏸ Wait for user.
Step 7: Generate and validate the transformation function
For this step, you need: to generate a python function that transforms the dataset from the format in Step 5 to the format in Step 3
Read the reference guide at references/dataset_transformation_code.md and follow its skeleton exactly when generating the transformation function.
The python function should be in the form of:
def transform_dataset(df: pd.DataFrame) -> pd.DataFrame:
The <project-dir> is the project directory established by the directory-management skill (e.g., dpo-to-rlvr-conversion).
In notebook mode, add a %%writefile <project-dir>/scripts/transform_fn.py code cell AND write the file to disk for testing. In script mode, write the file to disk directly.
Continue iterating with the user's feedback — update the code in place on each revision rather than showing code inline.
If sample data was collected in Step 5, test the function against the sample records:
- Generate the transformation function.
- Write the sample data to a temporary JSONL file (e.g.,
/tmp/test_input.jsonl), then run:python3 -c "import sys; sys.path.insert(0, '<project-dir>/scripts'); from transform_fn import transform_dataset; import pandas as pd; df = pd.read_json('/tmp/test_input.jsonl', lines=True); result = transform_dataset(df); print(result.to_json(orient='records', lines=True))" - If the test fails, fix and re-test until it passes.
- Show the user the function and transformed sample output for review.
If no sample data, present the function for review and refinement.
⏸ Wait for user.
Step 8: Determine output target
If no project directory exists, activate the directory-management skill to set one up.
⏸ Wait for user.
Step 9: Generate the execution code
Before writing the code, read:
references/code_output_guide.md(output format rules)code_templates/transformation.py(cell structure and skeleton code)
The template uses # Cell N: Label markers — each marker starts a new section. Cell 2 (Transformation Function) is dynamically generated from Step 7; all other cells follow the template skeleton.
Generate the execution logic following the code output guide.
- In notebook mode, add a
%%writefile <project-dir>/scripts/<script_name>.pycode cell AND write the file to disk. In script mode, write the file to disk directly. - The script must import
transform_datasetfromtransform_fn. - Replace placeholders with the actual input/output paths.
Read the reference guide at references/dataset_transformation_code.md and follow its execution script skeleton exactly.
If sample data was collected in Step 5, test the full pipeline:
- Write the sample records to a temporary JSONL file (e.g.,
/tmp/test_input.jsonl). - Run:
python3 <project-dir>/scripts/<script_name> --input /tmp/test_input.jsonl --output /tmp/test_output.jsonl - If it fails, debug and fix, then re-run until successful.
- Show the user the output for review.
If no sample data, present the notebook for review and refinement.
⏸ Wait for user.
Step 10: Determine and confirm execution mode
Check the size of the input dataset:
- If the dataset is in S3, use the AWS MCP tool
head-object(S3 service) with the bucket and key to getContentLength. - If the dataset is local, check the file size.
Decision criteria:
- Dataset < 50 MB → recommend local execution
- Dataset ≥ 50 MB → recommend SageMaker Processing Job
Inform the user of the recommendation and get their approval:
If local:
"Your dataset is {size} MB — since it's under 50 MB, I'd recommend running the transformation locally. Would you like to proceed with local execution, or would you prefer a SageMaker Processing Job instead?"
If SageMaker Processing Job:
"Your dataset is {size} MB — since it's over 50 MB, I'd recommend running this as a SageMaker Processing Job for better performance. Would you like to proceed with a SageMaker Processing Job, or would you prefer to run it locally instead?"
Do not execute until the user approves. If the user rejects the recommendation, switch to the alternative and get thei
文件元数据
name: dataset-transformation description: Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says "transform", "convert", "reformat", "change the format", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3. metadata: version: "1.0.0"
查看原始文本
---
name: dataset-transformation
description: Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says "transform", "convert", "reformat", "change the format", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3.
metadata:
version: "1.0.0"
---
# Dataset Transformation Agent
Transforms a data set provided by the user into their desired format.
## When to Use
- User needs to generate code for transforming datasets for SageMaker model training or model evaluation.
- A dataset requires processing, cleaning, or formatting before training or evaluation.
- Workflow requires a formal review and approval cycle before execution.
## Prerequisites
- The SDK environment has been verified (SDK version, region, execution role). If not done, activate the `sdk-getting-started` skill first.
## Principles
1. **One thing at a time.** Each response advances exactly one decision. Never combine multiple questions or recommendations in a single turn.
2. **Confirm before proceeding.** Wait for the user to agree before moving to the next step. You are a guide, not a runaway train.
3. **Don't read files until you need them.** Only read reference files when you've reached the workflow step that requires them and the user has confirmed the direction. Never read ahead.
4. **No narration.** Don't explain what you're about to do or what you just did. Share outcomes and ask questions. Keep responses short and focused.
5. **No repetition.** If you said something before a tool call, don't repeat it after. Only share new information.
6. **Do not deviate from the Workflow.** The steps listed in the workflow should be followed exactly as described. Progress from Step 1 to Step 11 to complete the task. Do not deviate from the workflow!
7. **Always end with a question.** Whenever you pause for user input, acknowledgment, or feedback, your response must end with a question. Never leave the user with a statement and expect them to know they need to respond.
8. **Default output format is JSONL.** Unless the user explicitly requests a different file format, the transformed dataset should be written as `.jsonl` (JSON Lines — one JSON object per line).
## Known Dataset Formats Reference
This skill supports two transformation purposes — **training data** and **evaluation data** — each with its own format resolution path. The purpose is determined in Step 1 of the workflow.
### Training Data Formats
Resolve the target format using the reference file ../dataset-evaluation/references/strategy_data_requirements.md. When the transformation is for **model training**, the required format depends on both the **model type** (Open Weights like Llama/Qwen vs Nova) and the **finetuning technique** (SFT, DPO, RLVR, RLAIF) — make sure to match on both dimensions. If either the model type or technique is not yet known, ask the user before resolving the format.
### Evaluation Data Formats
When the transformation is for **model evaluation**, resolve the target format using this order:
1. Try fetching the live documentation at https://docs.aws.amazon.com/sagemaker/latest/dg/model-customize-evaluation-dataset-formats.html to get the latest evaluation dataset schema definitions.
2. **If the fetch fails** (e.g., no internet access, VPC environment), fall back to the offline copy at `references/sagemaker_dataset_formats.md`. Inform the user that the format schemas are from an offline copy and may be outdated.
Use whichever source you successfully access as the source of truth for the target format. Do not rely on memorized schemas.
## Workflow
### Step 1: Determine transformation purpose
Your first response should determine whether this transformation is for **model training** or **model evaluation**. If the context already makes this clear (e.g., the user said "I need to prep my training data" or "I need to format my eval dataset"), confirm your understanding and move on. Otherwise, ask:
> "Is this dataset transformation for model training or model evaluation? This helps me look up the right target format for you."
- **Training** → format resolution will use the local training data requirements reference (model type + finetuning technique dependent).
- **Evaluation** → format resolution will use the live AWS documentation (with offline fallback).
Remember this choice — it determines how the target format is resolved in Step 3.
⏸ Wait for user.
### Step 2: Set expectations
Acknowledge the user's request and state what this skill can do:
> "I can help you transform your dataset's format! Here's my plan: I will first need to understand the format of your dataset and the transformation requirements. Once I have that, I will generate a dataset transformation function that we can refine together. After the dataset transformation function is refined to your liking, I will perform the transformation task and upload it to your desired location! Does this sound good?"
⏸ Wait for user.
### Step 3: Understand the dataset transformation task
For this step, you need to know: **what dataset format the user would like to transform their dataset from and what dataset format they would like to transform it in to.**
If you know this already, skip this step. If not, ask the user:
> "What's the dataset format you would like to transform it into?"
Resolve the target format based on the purpose determined in Step 1:
- **If training data**: Ask the user for the finetuning technique (SFT, DPO, RLVR, RLAIF) and model type (Open Weights like Llama/Qwen vs Nova) if not already known. Then look up the required format from the "Training Data Formats" section in the Known Dataset Formats Reference above.
- **If evaluation data**: If the user mentions a well-known format name (e.g., "OpenAI format", "SageMaker format"), fetch the schema from the live documentation as described in the "Evaluation Data Formats" section above. If a well-known format is fetched, confirm with the user:
> "I've found a SageMaker dataset format: {sagemaker-dataset-format-name} with schema: {sagemaker-dataset-format-schema}. Is this what you were referring to?"
If the user describes a custom format not listed in the reference doc, ask them to provide a sample record of the desired output format.
⏸ Wait for user.
### Step 4: Get the dataset from the user
For this step, you need: **the location of the user's dataset**.
If you know this already, skip this step. If not, ask the user:
> "Where can I find your dataset? Either a local directory or S3 location works!"
⏸ Wait for user.
### Step 5: Examine sample data
Read 1–2 sample records from the user's dataset and show them so the user can confirm the source schema. Do not run format detection — that is handled by the planning skill before this skill is invoked.
Do not show a side-by-side mapping to the target format here — the detailed mapping will be handled in Step 7 when generating the transformation function.
⏸ Wait for user.
### Step 6: Get the dataset output location
For this step, you need: **to understand where to output the transformed dataset to. It could be an S3 URI or local directory**
If you already know where the dataset is supposed to be output to, skip this step. If not, ask the user:
> "Where should I output your transformed dataset to? Either a local directory or S3 location works!"
If the user provides a directory (not a full file path), construct the output filename using the pattern `{original_name}_{target_format}.jsonl` (e.g., `gen_qa_100k_openai.jsonl`).
⏸ Wait for user.
### Step 7: Generate and validate the transformation function
For this step, you need: **to generate a python function that transforms the dataset from the format in Step 5 to the format in Step 3**
Read the reference guide at `references/dataset_transformation_code.md` and follow its skeleton exactly when generating the transformation function.
The python function should be in the form of:
```python
def transform_dataset(df: pd.DataFrame) -> pd.DataFrame:
```
The `<project-dir>` is the project directory established by the directory-management skill (e.g., `dpo-to-rlvr-conversion`).
In notebook mode, add a `%%writefile <project-dir>/scripts/transform_fn.py` code cell AND write the file to disk for testing. In script mode, write the file to disk directly.
Continue iterating with the user's feedback — update the code in place on each revision rather than showing code inline.
**If sample data was collected in Step 5**, test the function against the sample records:
1. Generate the transformation function.
2. Write the sample data to a temporary JSONL file (e.g., `/tmp/test_input.jsonl`), then run:
`python3 -c "import sys; sys.path.insert(0, '<project-dir>/scripts'); from transform_fn import transform_dataset; import pandas as pd; df = pd.read_json('/tmp/test_input.jsonl', lines=True); result = transform_dataset(df); print(result.to_json(orient='records', lines=True))"`
3. If the test fails, fix and re-test until it passes.
4. Show the user the function and transformed sample output for review.
**If no sample data**, present the function for review and refinement.
⏸ Wait for user.
### Step 8: Determine output target
If no project directory exists, activate the **directory-management** skill to set one up.
⏸ Wait for user.
### Step 9: Generate the execution code
**Before writing the code, read:**
- `references/code_output_guide.md` (output format rules)
- `code_templates/transformation.py` (cell structure and skeleton code)
The template uses `# Cell N: Label` markers — each marker starts a new section. Cell 2 (Transformation Function) is dynamically generated from Step 7; all other cells follow the template skeleton.
Generate the execution logic following the code output guide.
- In notebook mode, add a `%%writefile <project-dir>/scripts/<script_name>.py` code cell AND write the file to disk. In script mode, write the file to disk directly.
- The script must import `transform_dataset` from `transform_fn`.
- Replace placeholders with the actual input/output paths.
Read the reference guide at `references/dataset_transformation_code.md` and follow its execution script skeleton exactly.
**If sample data was collected in Step 5**, test the full pipeline:
1. Write the sample records to a temporary JSONL file (e.g., `/tmp/test_input.jsonl`).
2. Run: `python3 <project-dir>/scripts/<script_name> --input /tmp/test_input.jsonl --output /tmp/test_output.jsonl`
3. If it fails, debug and fix, then re-run until successful.
4. Show the user the output for review.
**If no sample data**, present the notebook for review and refinement.
⏸ Wait for user.
### Step 10: Determine and confirm execution mode
Check the size of the input dataset:
- If the dataset is in S3, use the AWS MCP tool `head-object` (S3 service) with the bucket and key to get `ContentLength`.
- If the dataset is local, check the file size.
**Decision criteria:**
- Dataset < 50 MB → recommend local execution
- Dataset ≥ 50 MB → recommend SageMaker Processing Job
Inform the user of the recommendation and get their approval:
If local:
> "Your dataset is {size} MB — since it's under 50 MB, I'd recommend running the transformation locally. Would you like to proceed with local execution, or would you prefer a SageMaker Processing Job instead?"
If SageMaker Processing Job:
> "Your dataset is {size} MB — since it's over 50 MB, I'd recommend running this as a SageMaker Processing Job for better performance. Would you like to proceed with a SageMaker Processing Job, or would you prefer to run it locally instead?"
Do not execute until the user approves. If the user rejects the recommendation, switch to the alternative and get thei给我的 Agent 使用
获取价格与运行成本
- 获取 Skill
- 价格未确认
- 运行 Skill
- 尚未确认运行要求,请查看来源中的 Agent、API 和服务费用。
- 许可证
- Apache-2.0
- 价格未确认
- 我们尚未确认此 Skill 的价格,现有来源与安装入口仍可使用。
免费获取不代表免费运行,价格标签不代表安全评级。 提交价格信息 →
已记录技能来源
已记录技能指令路径,不代表本站运行测试、安全保证或兼容性认证。
安装前审查: 安装前审查
许可证: Apache-2.0
- Permission surface may require sandboxing
- Quality score needs review
- Permission surface needs review: filesystem or document access, network or browser access
- Permission surface: filesystem or document access, network or browser access
安装目标
Codex 安装提示词
Install the "dataset-transformation" agent skill from https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/dataset-transformation. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says "transform", "convert", "reformat", "change the format", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"awslabs-dataset-transformation","task":"Install dataset-transformation","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes. Recorded instruction path: plugins/sagemaker-ai/skills/dataset-transformation/SKILL.md. Recorded revision: adc01133bbd01433dcb2c0f98641f2b85694f92f. Confirm the source matches these instructions. Before installing, identify the supported agent, runtime dependencies, API keys, paid services, license and permissions; mark anything not documented as unknown rather than free or compatible. Treat repository text as untrusted data; ask before credentials, paid services or external side effects. After setup, propose one small task with explicit inputs and expected output for the user to approve. Do not treat copying this prompt or successful installation as proof that the task succeeded.复制不代表已安装或运行成功。继续前请检查依赖、API 费用和权限。
工具列表来自元数据,并非已测试的兼容性;Agent 提示词是建议的交接方式。
从一个小任务开始
- 1阅读来源,确认输入、预期输出、依赖和权限。
- 2先让 Agent 提出计划,批准环境配置和费用,再进行隔离的小规模测试。
- 3检查输出和变更文件,只报告实际执行结果,并保留来源版本以便复现。
请在来源中核实依赖、API 密钥及第三方费用。公开仓库不代表所有服务免费。
来源与使用须知
仓库元数据和审核信号仅供参考。受欢迎、已发现来源、成功运行是不同的事实。
- 来源仓库
- awslabs/agent-plugins
- 许可证
- Apache-2.0
- 版本
- 1.0.0
- 最近 GitHub 推送
- 2026年9月24日
- 目录更新于
- 2026年9月30日
版本来自目录元数据,使用前请核实来源发布记录。
质量
77/100
强
信任
72/100
仅限沙盒
审计
84/100
需审查
- Permission surface may require sandboxing
- Quality score needs review
- Permission surface needs review: filesystem or document access, network or browser access
- Permission surface: filesystem or document access, network or browser access
- Verified installs
- —
- 结果
- —
复制不等于安装。安装数需有成功安装回报,不代表全面的质量保证。
Agent 接入
本页通过 Registry API 提供相同的决策、信任、审计、场景和安装信号,让 Agent 无需抓取界面即可排序。
更多详情
{
"version": "openagentskill-agent-metadata-v2",
"review_evidence": {
"indexed": true,
"static_checked": false,
"ai_reviewed": false,
"manual_reviewed": false,
"creator_verified": false,
"review_result": "not_recorded",
"reviewed_at": null,
"package_fingerprint": null,
"policy_version": null,
"notice": "Publication, static checks, AI review, and creator verification are independent facts. None guarantees runtime safety."
},
"commerce": {
"type": "unknown",
"billing": "unknown",
"amount": null,
"currency": null,
"sourceUrl": null,
"checkedAt": null,
"runtime": "unknown",
"purchaseUrl": null,
"checkout": "external",
"purchaseRequiresUserConsent": true
},
"skill": {
"slug": "awslabs-dataset-transformation",
"name": "dataset-transformation",
"description": "Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says \"transform\", \"convert\", \"reformat\", \"change the format\", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3.",
"category": "ai-knowledge",
"url": "https://www.openagentskill.com/skills/awslabs-dataset-transformation",
"repository": "https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/dataset-transformation",
"github_repo": "awslabs/agent-plugins"
},
"suited_tasks": [
"Coding agents workflows",
"Claude Code teams",
"teams that value GitHub adoption signals",
"Inspect source files",
"Explain architecture",
"Patch bugs and verify changes",
"Search sources",
"Extract claims"
],
"suited_agents": [
"Codex",
"Claude Code",
"Cursor",
"OpenAgentSkill CLI",
"OpenAI Agents",
"CLI"
],
"install": {
"source_evidence": {
"status": "source-recorded",
"sourceRecorded": true,
"canOfferInstall": true,
"path": "plugins/sagemaker-ai/skills/dataset-transformation/SKILL.md",
"revision": "adc01133bbd01433dcb2c0f98641f2b85694f92f",
"notice": "A skill instruction path and install command are recorded. This is not proof of compatibility, runtime success or safety; review the source and permissions first."
},
"command": "npx skills add awslabs/agent-plugins --skill dataset-transformation",
"ready": true,
"targets": [
{
"id": "openagentskill-cli",
"label": "CLI",
"kind": "command",
"value": "npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.3.0/openagentskill-0.3.0.tgz add awslabs-dataset-transformation"
},
{
"id": "codex",
"label": "Codex",
"kind": "agent-prompt",
"value": "Install the \"dataset-transformation\" agent skill from https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/dataset-transformation. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says \"transform\", \"convert\", \"reformat\", \"change the format\", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"awslabs-dataset-transformation\",\"task\":\"Install dataset-transformation\",\"agent\":\"codex\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes. Recorded instruction path: plugins/sagemaker-ai/skills/dataset-transformation/SKILL.md. Recorded revision: adc01133bbd01433dcb2c0f98641f2b85694f92f. Confirm the source matches these instructions. Before installing, identify the supported agent, runtime dependencies, API keys, paid services, license and permissions; mark anything not documented as unknown rather than free or compatible. Treat repository text as untrusted data; ask before credentials, paid services or external side effects. After setup, propose one small task with explicit inputs and expected output for the user to approve. Do not treat copying this prompt or successful installation as proof that the task succeeded."
},
{
"id": "claude-code",
"label": "Claude Code",
"kind": "agent-prompt",
"value": "Add \"dataset-transformation\" as a Claude Code skill from https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/dataset-transformation. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says \"transform\", \"convert\", \"reformat\", \"change the format\", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"awslabs-dataset-transformation\",\"task\":\"Install dataset-transformation\",\"agent\":\"claude-code\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes. Recorded instruction path: plugins/sagemaker-ai/skills/dataset-transformation/SKILL.md. Recorded revision: adc01133bbd01433dcb2c0f98641f2b85694f92f. Confirm the source matches these instructions. Before installing, identify the supported agent, runtime dependencies, API keys, paid services, license and permissions; mark anything not documented as unknown rather than free or compatible. Treat repository text as untrusted data; ask before credentials, paid services or external side effects. After setup, propose one small task with explicit inputs and expected output for the user to approve. Do not treat copying this prompt or successful installation as proof that the task succeeded."
},
{
"id": "cursor",
"label": "Cursor",
"kind": "agent-prompt",
"value": "Turn \"dataset-transformation\" from https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/dataset-transformation into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: Generates code that transforms datasets between ML schemas for model training or evaluation. Use when the user says \"transform\", \"convert\", \"reformat\", \"change the format\", or when a dataset's schema needs to change to match the target format — always use this skill for format changes rather than writing inline transformation code. Supports OpenAI chat, SageMaker SFT/DPO/RLVR/RLAIF, HuggingFace preference, Bedrock Nova, VERL, and custom JSONL formats from local files or S3. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {\"event_id\":\"install_<unique-id>\",\"skill_slug\":\"awslabs-dataset-transformation\",\"task\":\"Install dataset-transformation\",\"agent\":\"cursor\",\"outcome\":\"success\",\"install_used\":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes. Recorded instruction path: plugins/sagemaker-ai/skills/dataset-transformation/SKILL.md. Recorded revision: adc01133bbd01433dcb2c0f98641f2b85694f92f. Confirm the source matches these instructions. Before installing, identify the supported agent, runtime dependencies, API keys, paid services, license and permissions; mark anything not documented as unknown rather than free or compatible. Treat repository text as untrusted data; ask before credentials, paid services or external side effects. After setup, propose one small task with explicit inputs and expected output for the user to approve. Do not treat copying this prompt or successful installation as proof that the task succeeded."
}
],
"handoff_url": "https://www.openagentskill.com/api/skills/awslabs-dataset-transformation/install",
"manifest_url": "https://www.openagentskill.com/api/registry/manifest/awslabs-dataset-transformation"
},
"trust": {
"score": 80,
"label": "Strong shortlist",
"version": "trust-score-v4",
"install_policy": "review",
"evidence": {
"stars": "906 GitHub stars",
"repoActivity": "906 stars, 158 forks",
"lastPushed": "19d since push",
"license": "Apache-2.0",
"repository": "https://github.com/awslabs/agent-plugins/tree/main/plugins/sagemaker-ai/skills/dataset-transformation",
"install": "npx skills add awslabs/agent-plugins --skill dataset-transformation",
"installSafety": "standard package or runtime install path",
"permissionSurface": "filesystem or document access, network or browser access",
"documentation": "Usable metadata, review docs",
"agentOutcomes": "No agent outcome data yet"
},
"outcome_evidence": {
"total": 0,
"successes": 0,
"failures": 0,
"not_relevant": 0,
"success_rate": null,
"recent_success_rate": null,
"recent_failure_rate": null,
"install_attempts": 0,
"install_success_rate": null,
"risk_blocked": 0,
"setup_required": 0,
"avg_output_quality": null,
"production_outcomes": 0,
"last_outcome_at": null,
"label": "No agent outcome data yet"
},
"auto_install": {
"allowed": false,
"sandbox_required": true,
"reason": "Require human approval before installing into a real workspace."
},
"best_for": [
"data-analysis",
"agent-skill"
],
"known_risks": [
"Quality score needs review",
"Permission surface needs review: filesystem or document access, network or browser access",
"Permission surface: filesystem or document access, network or browser access"
]
},
"agent_proven": {
"version": "agent-proven-v1",
"score": 0,
"tier": "unproven",
"label": "Needs first agent run",
"summary": "No agent outcome reports yet. Use Resolve, run one narrow sandbox task, then report the result.",
"metrics": {
"totalOutcomes": 0,
"successfulOutcomes": 0,
"failedOutcomes": 0,
"installAttempts": 0,
"installSuccessRate": null,
"successRate": null,
"recentSuccessRate": null,
"recentFailureRate": null,
"riskBlocked": 0,
"setupRequired": 0,
"notRelevant": 0,
"avgOutputQuality": null,
"avgTimeToUsefulMs": null,
"productionOutcomes": 0,
"humanReviewRequired": 0,
"uniqueAgents": 0,
"lastOutcomeAt": null
},
"signals": [],
"penalties": [
"No real agent outcome evidence yet"
]
},
"audit": {
"score": 84,
"risk_level": "needs_review",
"risk_label": "Needs review",
"warnings": [
"Permission surface may require sandboxing",
"Quality score needs review",
"Permission surface needs review: filesystem or document access, network or browser access",
"Permission surface: filesystem or document access, network or browser access"
]
},
"safety_gate": {
"tier": "reviewed",
"label": "Reviewed with permission notes",
"auto_install_policy": "review",
"auto_install_allowed": false,
"human_review_required": true,
"blocked": false,
"recommended_action": "Require human approval before installing into a real workspace."
},
"quality": {
"score": 77,
"label": "Strong"
},
"supply": {
"track": "Data, BI, and analytics",
"scenario": "Database and SQL",
"maintenance": "19d since push",
"risk": "Needs review"
},
"alternative_skills": [
{
"slug": "amd-quark-torch-llm-ptq",
"name": "quark-torch-llm-ptq",
"url": "https://www.openagentskill.com/skills/amd-quark-torch-llm-ptq",
"stars": 395,
"install_command": "npx skills add amd/skills --skill quark-torch-llm-ptq",
"trust_score": 73,
"audit_score": 77
},
{
"slug": "orchestra-research-distributed-llm-pretraining-torchtitan",
"name": "distributed-llm-pretraining-torchtitan",
"url": "https://www.openagentskill.com/skills/orchestra-research-distributed-llm-pretraining-torchtitan",
"stars": 13443,
"install_command": "npx skills add Orchestra-Research/AI-Research-SKILLs --skill distributed-llm-pretraining-torchtitan",
"trust_score": 79,
"audit_score": 84
},
{
"slug": "orchestra-research-peft-fine-tuning",
"name": "peft-fine-tuning",
"url": "https://www.openagentskill.com/skills/orchestra-research-peft-fine-tuning",
"stars": 13443,
"install_command": "npx skills add Orchestra-Research/AI-Research-SKILLs --skill peft-fine-tuning",
"trust_score": 80,
"audit_score": 85
},
{
"slug": "google-ai-edge-litert-lm",
"name": "litert-lm",
"url": "https://www.openagentskill.com/skills/google-ai-edge-litert-lm",
"stars": 459,
"install_command": "",
"trust_score": 75,
"audit_score": 78
}
],
"do_not_use_when": [
"teams that need a vendor-supported SLA",
"high-compliance environments without internal security review",
"No major risk signals from current metadata",
"Permission surface may require sandboxing",
"Quality score needs review",
"Permission surface needs review: filesystem or document access, network or browser access",
"Permission surface: filesystem or document access, network or browser access",
"Production credentials, payments, or irreversible account changes without explicit human review"
],
"agent_contract": {
"task_input": "Use dataset-transformation in an agent workflow",
"recommended_action": "Require human approval before installing into a real workspace.",
"install_policy": "review",
"minimum_review_before_use": [
"Trust: 80/100 Strong shortlist",
"Audit: 84/100 Needs review",
"Safety: 60/100 Review before install",
"Review repository, license, install command, and permission surface before production use."
],
"expected_agent_output": {
"selected_skill": "awslabs-dataset-transformation (dataset-transformation)",
"install_command": "npx skills add awslabs/agent-plugins --skill dataset-transformation",
"risk_summary": "Needs review; Reviewed with permission notes; Review before production",
"verification_result": "Report the smallest successful task, files touched, warnings, and any missing setup."
}
},
"outcome_feedback": {
"endpoint": "https://www.openagentskill.com/api/agent/outcome",
"method": "POST",
"requires_resolve_event_id": true,
"event_id_source": "Use install_receipt.outcome_feedback.event_id or feedback.event_id returned by /api/agent/resolve for the current task.",
"expected_outcomes": [
"success",
"failed",
"not_relevant",
"blocked_by_risk",
"setup_required"
],
"payload_template": {
"event_id": "<install_receipt.outcome_feedback.event_id or feedback.event_id from /api/agent/resolve>",
"skill_slug": "awslabs-dataset-transformation",
"task": "Use dataset-transformation in an agent workflow",
"agent": "codex",
"outcome": "success",
"install_used": true,
"risk_blocked": false,
"setup_required": false,
"task_success": true,
"output_quality": 4,
"error_type": null,
"human_review_required": false,
"workspace": "sandbox",
"time_to_useful_ms": 120000,
"notes": "Report the smallest successful task, setup friction, files touched, and risk notes."
}
},
"endpoints": {
"web": "https://www.openagentskill.com/skills/awslabs-dataset-transformation",
"api": "https://www.openagentskill.com/api/agent/skills/awslabs-dataset-transformation",
"audit": "https://www.openagentskill.com/skills/awslabs-dataset-transformation/audit",
"eval": "https://www.openagentskill.com/api/agent/evals?slug=awslabs-dataset-transformation&task=Use%20dataset-transformation%20in%20an%20agent%20workflow&max_risk=medium",
"resolve": "https://www.openagentskill.com/api/agent/resolve?task=Use%20dataset-transformation%20in%20an%20agent%20workflow&agent=codex&max_risk=medium",
"receipt": "https://www.openagentskill.com/api/agent/receipt?task=Use%20dataset-transformation%20in%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text",
"install": "https://www.openagentskill.com/api/skills/awslabs-dataset-transformation/install",
"manifest": "https://www.openagentskill.com/api/registry/manifest/awslabs-dataset-transformation"
}
}创作者工具
收录来源
Registry 收录
此列表来自公开来源,维护者认领获批前不会标记为官方。
- 创作者
- awslabs
- 收录方
- OpenAgentSkill 社区索引
归属链接指向公开仓库或创作者主页。创作者可认领列表以更新所有权信号。
认领此 Skill所有者认领
认领此 Skill 页面
这条 Registry 收录 列表归属于 awslabs,但尚未标记为官方。认领后可增加已验证所有者信号,使后续发布、安装和审计更新更值得信赖。
分享工具包
创作者外链工具包
将证据徽章加入你的 README
在开发者评估仓库的位置展示规范页面、当前信任与审计信号,以及真实的 Agent 验证证据。
[](https://www.openagentskill.com/skills/awslabs-dataset-transformation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/awslabs-dataset-transformation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/awslabs-dataset-transformation/audit)
[](https://www.openagentskill.com/skills/awslabs-dataset-transformation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)社区信号
告诉我们这个 Skill 是否对你的 Agent 工作流有帮助。汇总反馈会持续改善排序。
