Token导航 LogoToken导航

Agent Skill · 研究检索

alibabacloud-pai-dsw-manage(阿里巴巴云 Pai DSW 管理)

alibabacloud-pai-dsw-manage 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

alibabacloud-pai-dsw-manage 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 24,382。

总安装 4,032周安装 168GitHub Stars 公开资料未说明下载 1,344核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:alibabacloud-pai-dsw-manage(阿里巴巴云 Pai DSW 管理)
来源仓库:https://github.com/sdk-team/alibabacloud-pai-dsw-manage
安装命令:
openclaw skills install alibabacloud-pai-dsw-manage
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install alibabacloud-pai-dsw-manage

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

管理阿里云PAI DSW实例全生命周期,支持创建、更新、启停与规格查询。适用于数据科学工作流部署与计算资源调度场景。可结合ECS规格查找与实例状态监控,提升AI开发效率。安装命令:openclaw skills install alibabacloud-pai-dsw-manage。

使用前需确认账号权限与区域设置,避免误操作导致资源浪费。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install alibabacloud-pai-dsw-manage;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

alibabacloud-pai-dsw-manage 怎么安装?

在终端执行 openclaw skills install alibabacloud-pai-dsw-manage。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

alibabacloud-pai-dsw-manage 支持哪些 AI 工具?

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

alibabacloud-pai-dsw-manage 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

alibabacloud-pai-dsw-manage 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

alibabacloud-pai-dsw-manage 用的人多吗?

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

alibabacloud-pai-dsw-manage 安全吗?

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

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
alibabacloud-pai-dsw-manage

阿里巴巴云 Pai DSW 管理 · 本页

4,032—接触敏感数据MIT-0通过

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

SKILL.md 原文

name
alibabacloud-pai-dsw-manage
description
|
Triggers
PAI DSW, DSW instance, create instance, start instance, stop instance, update instance, query instance, instance list, ECS spec, CreateInstance, UpdateInstance, GetInstance, ListInstances, StartInstance, StopInstance, ListEcsSpecs

PAI DSW Instance Management

Manage the full lifecycle of Alibaba Cloud PAI DSW (Data Science Workshop) instances — from provisioning through configuration changes, status monitoring, and start/stop operations. Also supports querying available ECS compute specs.

Architecture: PAI Workspace + DSW Instance + ECS Spec + Image + VPC + Dataset

API Version: pai-dsw/2022-01-01


Installation

Pre-check: Aliyun CLI >= 3.3.3 required Run aliyun version to verify >= 3.3.3. If not installed or version too low, run curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash to update, or see references/cli-installation-guide.md for installation instructions.
Pre-check: Aliyun CLI plugin update required [MUST] run aliyun configure set --auto-plugin-install true to enable automatic plugin installation. [MUST] run aliyun plugin update to ensure that any existing plugins are always up-to-date.
# macOS (recommended)
brew install aliyun-cli

# Verify version (>= 3.3.3)
aliyun version

# Enable automatic plugin installation
aliyun configure set --auto-plugin-install true

# Update existing plugins
aliyun plugin update

# Install pai-dsw plugin
aliyun plugin install --names pai-dsw

[MUST] CLI User-Agent — Every aliyun CLI command invocation must include: --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-dsw-manage


Authentication

Pre-check: Alibaba Cloud Credentials Required Security Rules: - NEVER read, echo, or print AK/SK values (e.g., echo $ALIBABA_CLOUD_ACCESS_KEY_ID is FORBIDDEN) - NEVER ask the user to input AK/SK directly in the conversation or command line - NEVER use aliyun configure set with literal credential values - ONLY use aliyun configure list to check credential status ``bash aliyun configure list ` Check the output for a valid profile (AK, STS, or OAuth identity). **If no valid profile exists, STOP here.** 1. Obtain credentials from [Alibaba Cloud Console](https://ram.console.aliyun.com/manage/ak) 2. Configure credentials **outside of this session** (via aliyun configure in a terminal or environment variables in a shell profile) 3. Return and retry after aliyun configure list` shows a valid profile

RAM Permissions

See references/ram-policies.md for the complete permission list and minimum-privilege policy.

[MUST] Permission Failure Handling: When any command or API call fails due to permission errors at any point during execution, follow this process: 1. Read references/ram-policies.md to get the full list of permissions required by this skill 2. Use the ram-permission-diagnose skill to guide the user through requesting the necessary permissions 3. Pause and wait until the user confirms that the required permissions have been granted

Parameter Confirmation

IMPORTANT: Parameter Confirmation — Before executing any command or API call, ALL user-customizable parameters (e.g., RegionId, instance names, CIDR blocks, passwords, domain names, resource specifications, etc.) MUST be confirmed with the user. Do NOT assume or use default values without explicit user approval.
ParameterRequiredDescriptionDefault
WorkspaceIdRequiredPAI workspace IDNone — user must provide
InstanceNameRequiredInstance name (letters, digits, underscores only; max 27 chars)None — user must provide
EcsSpecRequired (post-paid)ECS compute spec, e.g., ecs.c6.large. Query via list-ecs-specsNone
ImageIdMutually exclusive with ImageUrlImage ID from PAI consoleNone
ImageUrlMutually exclusive with ImageIdContainer image URL. See references/common-images.md for common official imagesNone
RegionIdRequiredRegion, e.g., cn-hangzhou, cn-shanghaiNone — user must confirm
AccessibilityOptionalVisibility scope: PUBLIC (all workspace users) or PRIVATEPRIVATE
InstanceIdRequired (update/get/start/stop)Instance ID (dsw-xxxxx format)None
VpcIdOptionalVPC ID for private network accessNone
VSwitchIdOptionalVSwitch ID within the VPCNone
SecurityGroupIdOptionalSecurity group IDNone
AcceleratorTypeRequired (spec query)Accelerator type: CPU or GPUNone — user must confirm
DatasetsOptionalDataset mounts in CLI list format: `DatasetId=<> MountPath=<> MountAccess=RORW`None — user must confirm, no default
--read-timeoutOptionalCLI read timeout in seconds (for long-running operations)10
--connect-timeoutOptionalCLI connection timeout in seconds10
How to get WorkspaceId: If the user doesn't know their workspace ID, run: ``bash aliyun aiworkspace list-workspaces --region <region> --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-dsw-manage ` This returns all workspaces the user has access to. Select the appropriate one based on WorkspaceName` or ask the user to confirm. Reference: Create and Manage Workspaces

Core Workflow

Full command syntax and parameter details: references/related-commands.md.

1. Query Available ECS Specs

Run aliyun pai-dsw list-ecs-specs --accelerator-type <CPU|GPU> --region <region> to list available compute specs.

[MUST] Region confirmation: The --region parameter is required. Spec availability varies by region — always confirm the region with the user before querying.
[MUST] Determine accelerator type correctly: - User mentions a spec name (e.g., ecs.hfc6.10xlarge): Query BOTH CPU and GPU types, then match InstanceType in results. Use the returned AcceleratorType field to confirm the classification. - User specifies image type: GPU image URL (contains -gpu- or cu) → query GPU specs; CPU image URL → query CPU specs. - User describes use case only: GPU for 大模型训练/深度学习, CPU for 数据分析/轻量任务. Always confirm with user if ambiguous. - [IMPORTANT] Do NOT guess from spec name prefix — the naming convention is unreliable. Always verify via API response.
[MUST] Choose accelerator type based on user requirements: - Default recommendation: GPU for 大模型训练/深度学习, CPU for 数据分析/轻量任务 - Match image type (strong indicator): If user specifies a GPU image URL (contains -gpu- or cu), query GPU specs. If CPU image, query CPU specs. - Spec name requires verification: If user mentions a spec name, query both types and find the match in results - Always confirm with user before querying if the use case is ambiguous and no spec name is provided

Key response fields:

  • InstanceType: Spec name (e.g., ecs.hfc6.10xlarge)
  • AcceleratorType: CPU or GPU — the actual classification from API
  • IsAvailable: PRIMARY indicator — true means the spec is available for pay-as-you-go/subscription
  • SpotStockStatus: SECONDARY indicator — only for spot instances: WithStock (available) or NoStock (unavailable)
  • CPU / Memory / GPU / GPUType: Hardware details
  • Price: Hourly price in CNY
[MUST] Availability check logic: - For pay-as-you-go/subscription: Check IsAvailable == true - For spot instances: Check IsAvailable == true AND SpotStockStatus == "WithStock" - DO NOT use SpotStockStatus alone to judge availability — many specs have IsAvailable: true but SpotStockStatus: "NoStock" - Example: ecs.hfc6.10xlarge with IsAvailable: true, SpotStockStatus: "NoStock" → Available for pay-as-you-go

2. Create Instance (check-then-act)

[MUST] Idempotency guarantee: The CreateInstance API does not support ClientToken, so idempotency is ensured via a check-then-act pattern. Before creating, you must call list-instances --instance-name <name> to check if the name already exists.

Step 2.1 — Check existence

aliyun pai-dsw list-instances \
  --instance-name <name> \
  --region <region> \
  --resource-id ALL \
  --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-dsw-manage

Decision logic:

  • TotalCount == 0 → Name is available, proceed to Step 2.2 to create
  • TotalCount >= 1 → [MUST] Verify exact name match:

1. Iterate through the returned Instances array 2. For each instance, compare its InstanceName field with the target name character by character (case-sensitive, exact string match) 3. Exact match found (instance.InstanceName === targetName) → Name already exists: - Extract the InstanceId from the matching instance - Call get-instance --instance-id <id> to get full details - Compare key parameters (EcsSpec, ImageUrl, Accessibility, etc.) - Match → Return the existing InstanceId, do not recreate - Mismatch → Ask user to choose a different name 4. No exact match found (no instance has InstanceName === targetName) → Name is available, proceed to Step 2.2 to create

[WARNING] Critical: Exact name match required The --instance-name filter may return partial matches. For example: - Query: --instance-name llm_train_001 - Response may include: llm_train_001, llm_train_001_v2, llm_train_001_backup You MUST verify exact match by checking: `` for instance in response.Instances: if instance.InstanceName == targetName: # EXACT string equality # Name already exists - DO NOT create ` **Do NOT** assume name is available just because TotalCount > 0 but you "think" no exact match. If TotalCount >= 1`, carefully check each instance's InstanceName field.

Step 2.2 — Provision

Run aliyun pai-dsw create-instance with required args: --workspace-id, --instance-name, --ecs-spec, --region, and either --image-url or --image-id.

[MUST] Region confirmation: The --region parameter is required and must be confirmed with the user. Do NOT use CLI default region without explicit user approval. Spec availability and pricing vary by region.
[MUST] Match EcsSpec with image type: - GPU image URL (contains -gpu- or cu) → Must select a GPU spec (e.g., ecs.gn6v-c4g1.xlarge) - CPU image URL (contains -cpu-) → Must select a CPU spec (e.g., ecs.c6.large) - The spec type MUST match the image type, otherwise the instance will fail to start - Use case (大模型训练/数据分析) is only a recommendation, image type is the definitive indicator
Dataset mounting (optional): If the user specifies a dataset to mount, use the --datasets parameter in CLI list format: ``bash --datasets DatasetId=<dataset-id> MountPath=<mount-path> MountAccess=RO ` **[MUST]** Dataset parameters require **explicit user confirmation** — do NOT assume or auto-generate dataset configurations. Official images: [references/common-images.md](references/common-images.md). Advanced usage (VPC, datasets): [references/related-commands.md`](references/related-commands.md).

Response: {"InstanceId": "dsw-xxxxx", ...}

[IMPORTANT] Return immediately after creation: After create-instance returns InstanceId, do NOT block waiting for Running status. Instead: 1. Return the InstanceId and current status (Creating) to the user immediately 2. Provide the user with a command to check status later: ``bash aliyun pai-dsw get-instance --instance-id <instance-id> --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-dsw-manage `` 3. Inform the user that instance startup typically takes 2–5 minutes Why this matters: Blocking polling prevents the agent from responding to other user requests. DSW instance creation is a long-running operation; the agent should return control to the user promptly.

3. List Instances

Run aliyun pai-dsw list-instances. Filter by --workspace-id or --status; paginate with --page-number / --page-size.

4. Get Instance Details

Run aliyun pai-dsw get-instance --instance-id <id> to check instance status and details.

When to poll: Only poll when the user explicitly asks to wait for a status change (e.g., "wait until it's running"). Otherwise, return the current status immediately. Timeout limits: Maximum 60 polls (30 minutes total). If exceeded, stop and prompt user to check manually. Polling interval: 10–30 seconds between calls. CLI timeout: For long-running operations, increase read timeout: ``bash aliyun pai-dsw get-instance --instance-id <id> --read-timeout 30 --user-agent AlibabaCloud-Agent-Skills/alibabacloud-pai-dsw-manage ` Once Status == "Running", access the instance via InstanceUrl. For complete status transitions, see Instance Status Values in [references/related-commands.md`](references/related-commands.md#instance-status-values).

5. Stop Instance

Run aliyun pai-dsw stop-instance --instance-id <id>.

Status transition: Running → Stopping → Stopped Save environment image: To save the environment as a custom image before stopping, use the PAI Console. See Create a DSW Instance Image for instructions.

6. Update Instance

Run aliyun pai-dsw update-instance --instance-id <id> to modify --instance-name, --ecs-spec, --image-id, --accessibility, --datasets, etc.

[MUST] Before updating: 1. Call get-instance to check current status and configuration 2. Check if update is needed: - For --ecs-spec: Compare current EcsSpec with target spec. If already equal, skip update and inform user - For --image-id/--image-url: Compare current ImageId/ImageUrl with target - For --instance-name: Compare current InstanceName with target 3. If already at target configuration, return current instance info — do not call update-instance 4. If update is needed, use --start-instance true to auto-start after update [IMPORTANT] Always update the specified instance by its InstanceId. Do NOT substitute with another instance that already has the target spec — the user's request is to upgrade the specific instance, not to find an alternative.

7. Start Instance

Run aliyun pai-dsw start-instance --instance-id <id>, then poll (Step 4) until Running.

Prerequisite: Instance must be in Stopped or Failed state. Call get-instance to confirm before starting.

Success Verification

Full verification steps: references/verification-method.md.

Quick check: get-instance should return Status == "Running" with a non-empty InstanceUrl.


Cleanup

This skill does not expose instance deletion (irreversible operation — use the console). To stop incurring charges, stop the instance via Step 5 (stop-instance).

Best Practices

  1. Always run check-then-act before creation — use list-instances --instance-name <name> to avoid duplicate-instance errors.
  2. Prefer PRIVATE visibility — prevents accidental operations by other workspace users.
  3. Check instance status before update — call get-instance first; some parameters require Stopped state, others can be updated while Running.
  4. Use --resource-id ALL with list-instances — the default only returns post-paid instances.
  5. Observe polling timeout limits — see Step 4 for timeout and interval guidance.
  6. Verify spec availability before provisioning — run list-ecs-specs to confirm the spec is available in the target region.
  7. Tag instances with Labels — simplifies batch queries and lifecycle management.

References

平台分布

OpenClaw

77.08%
按下载量换算1,036

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills