← 返回 Skills 市场
106
总下载
1
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install sagemaker-training-job
功能描述
Submit ML training jobs to AWS SageMaker — package code, upload to S3, launch on GPU/CPU instances, poll status, download artifacts. Use when training machin...
安全使用建议
This skill appears to do exactly what it claims. Before installing or running it: 1) Be prepared to provide AWS credentials (prefer an EC2 instance profile or a scoped IAM user) and create two IAM roles with the least privilege needed for S3 and SageMaker as described; 2) Review the source packaging/dry-run output to avoid unintentionally uploading secrets (don’t point --source-dir at your home directory); 3) Run the smoke test in a controlled account/bucket to verify behavior and cost (it will submit a real SageMaker job and incur charges); 4) Ensure the Caller role is tightly scoped to your S3 bucket and the PassRole action is limited to the specific SageMaker execution role ARN. If you want stricter metadata, ask the maintainer to declare AWS credential env vars explicitly in requires.env so the platform makes credential needs clearer.
功能分析
Type: OpenClaw Skill
Name: sagemaker-training-job
Version: 1.0.2
The skill bundle provides a comprehensive set of tools for managing AWS SageMaker training jobs, including scripts for submission (sagemaker_train.py), listing (sagemaker_list.py), and cost estimation (sagemaker_cost.py). The code uses standard AWS SDKs (boto3) and follows security best practices, such as implementing a robust exclusion list (SOURCE_EXCLUDE_PATTERNS) to prevent sensitive files like .env or .git from being packaged and uploaded to S3. No evidence of malicious intent, data exfiltration, or unauthorized remote execution was found.
能力评估
Purpose & Capability
Name/description align with included scripts and docs: packaging/uploading source, submitting SageMaker jobs, polling status, downloading artifacts, listing jobs, and cost estimation. The included Python scripts implement the advertised functionality and the reference docs describe required IAM roles and S3 setup.
Instruction Scope
SKILL.md and references limit actions to packaging source, calling AWS (boto3) APIs, and running local smoke tests. The instructions require AWS credentials (via standard boto3 chain) and reference only expected paths and endpoints (S3, SageMaker, CloudWatch). There are no instructions to read unrelated system files or exfiltrate data to unexpected endpoints. The smoke test and packaging steps do create temporary files and upload to S3 as expected.
Install Mechanism
No install spec (instruction-only) — scripts rely on python3 and Python packages (boto3, optional sagemaker). Nothing is downloaded from arbitrary URLs or extracted; the skill ships its Python scripts and docs. This is a low-risk install pattern for this kind of tool.
Credentials
Primary credential declared is AWS_DEFAULT_REGION (region), and the skill relies on boto3's normal credential chain (instance profile, AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY, or configured profile). The SKILL.md and references clearly explain the need for AWS credentials and specific IAM roles. It would be clearer if required.env explicitly listed the possible credential env vars, but the current setup (using the standard boto3 chain and recommending instance profiles) is proportionate to the skill's purpose.
Persistence & Privilege
The skill is not always-enabled and allows user invocation. It does not request system-wide privileges or modify other skills. It performs normal actions (create S3 objects, call SageMaker APIs) with the provided AWS permissions; these are expected for the stated purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install sagemaker-training-job - 安装完成后,直接呼叫该 Skill 的名称或使用
/sagemaker-training-job触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Add homepage link to GitHub repo in skill metadata.
v1.0.1
Address ClawHub review: declare AWS credential requirements in metadata, harden source packaging (exclude .git/.env/venv/__pycache__), add security notes section.
v1.0.0
Initial release: submit, poll, download SageMaker training jobs. PyTorch/TF/sklearn/XGBoost. Spot training, resume, cost estimation.
元数据
常见问题
SageMaker Training Job 是什么?
Submit ML training jobs to AWS SageMaker — package code, upload to S3, launch on GPU/CPU instances, poll status, download artifacts. Use when training machin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 106 次。
如何安装 SageMaker Training Job?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install sagemaker-training-job」即可一键安装,无需额外配置。
SageMaker Training Job 是免费的吗?
是的,SageMaker Training Job 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
SageMaker Training Job 支持哪些平台?
SageMaker Training Job 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 SageMaker Training Job?
由 zyyhhxx(@zyyhhxx)开发并维护,当前版本 v1.0.2。
推荐 Skills