/alibabacloud-pts-ops
Alibaba Cloud PTS (Performance Testing Service) scenario-based skill for creating and managing stress testing scenarios. Supports both PTS native HTTP/HTTPS stress testing and JMeter-based stress testing. Triggers: "PTS", "压测", "性能测试", "stress testing", "performance testing",
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-pts-ops --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/alibabacloud-pts-ops
Context preview
The summary Claude sees to decide when to auto-load this skill.
Alibaba Cloud PTS (Performance Testing Service) scenario-based skill for creating and managing stress testing scenarios. Supports both PTS native HTTP/HTTPS stress testing and JMeter-based stress testing. Triggers: "PTS", "压测", "性能测试", "stress testing", "performance testing",
SKILL.md
alibabacloud-pts-ops.SKILL.mdname: alibabacloud-pts-ops
description: |
Alibaba Cloud PTS (Performance Testing Service) scenario-based skill for creating and managing stress testing scenarios.
Supports both PTS native HTTP/HTTPS stress testing and JMeter-based stress testing.
Triggers: "PTS", "压测", "性能测试", "stress testing", "performance testing", "JMeter", "load testing", "创建压测场景"
required_permissions:
- pts:CreatePtsScene
- pts:GetPtsScene
- pts:ListPtsScene
- pts:StartPtsScene
- pts:StopPtsScene
- pts:DeletePtsScene
- pts:StartDebugPtsScene
- pts:GetPtsReportDetails
- pts:GetPtsSceneBaseLine
- pts:GetPtsSceneRunningData
- pts:GetPtsSceneRunningStatus
- pts:SaveOpenJMeterScene
- pts:GetOpenJMeterScene
- pts:ListOpenJMeterScenes
- pts:StartTestingJMeterScene
- pts:StopTestingJMeterScene
- pts:RemoveOpenJMeterScene
- pts:GetJMeterReportDetails
Alibaba Cloud PTS Stress Testing Scenario Management
This skill enables you to create and manage stress testing scenarios using Alibaba Cloud PTS (Performance Testing Service). It supports both PTS native HTTP/HTTPS stress testing and JMeter-based stress testing.
Scenario Description
PTS (Performance Testing Service) is Alibaba Cloud's fully managed performance testing platform that helps you validate the performance, capacity, and stability of your applications. This skill covers:
1. **PTS Native Stress Testing** - Create HTTP/HTTPS stress testing scenarios with configurable APIs, serial links, and load models 2. **JMeter Stress Testing** - Upload and run JMeter scripts with distributed load generation
Architecture
User → Aliyun CLI → PTS Service → Target Application
↓
Stress Testing ReportPre-check
> **Pre-check: Aliyun CLI >= 3.3.1 required** > Run `aliyun version` to verify >= 3.3.1. If not installed or version too low, > see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions. > Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
# Verify CLI version
aliyun version
# Enable auto plugin installation
aliyun configure set --auto-plugin-install true
Timeout Settings
All CLI commands should include timeout parameters to avoid hanging:
# Recommended timeout settings for PTS operations
--read-timeout 60 --connect-timeout 10
- **read-timeout**: 60 seconds (stress testing operations may take longer)
- **connect-timeout**: 10 seconds
Environment Variables
No additional environment variables required beyond CLI authentication.
Parameter Confirmation
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, scene names, target URLs, > concurrency, duration, JMX files, etc.) MUST be confirmed with the user. > Do NOT assume or use default values without explicit user approval.
User-Customizable Parameters
| Parameter Name | Required | Description | Default Value | |---------------|----------|-------------|---------------| | RegionId | No | Region for PTS service | cn-hangzhou | | Scene Name | Yes | Name of the stress testing scenario | - | | Target URL | Yes | URL to stress test | - | | HTTP Method | Yes | GET, POST, PUT, DELETE, etc. | GET | | Concurrency | Yes | Number of concurrent users | - | | Duration | Yes | Test duration in seconds | - | | JMX File | Yes (JMeter) | Path to JMeter script file | - | | Mode | No | CONCURRENCY or TPS | CONCURRENCY |
Authentication
This skill relies on the Aliyun CLI's default credential chain. Ensure your CLI is already authenticated before use.
Verify current authentication:
aliyun configure get
If CLI is not yet configured, see [references/cli-installation-guide.md](references/cli-installation-guide.md) for setup instructions.
RAM Policy
Users must have appropriate PTS permissions. See [references/ram-policies.md](references/ram-policies.md) for detailed policies.
Idempotency
PTS APIs do not support `ClientToken`-based idempotency. **Scene names are not unique** — multiple PTS or JMeter scenarios may share the same `SceneName`. Never treat “same name” as one resource; always use **`SceneId`** (returned by the API) as the stable identifier.
To prevent duplicate resources or unintended side-effects when retrying after timeouts or errors, **always** use the **check-then-act** pattern before every write operation:
| Operation | Check Before Acting | If Already Exists / Running | |-----------|--------------------|-----------------------------| | **Create PTS scene** (`save-pts-scene`) | Do **not** dedupe by name. After success, record `SceneId`. | If the prior call outcome is unknown, use `list-pts-scene` **with the user** to disambiguate before retrying; do **not** blindly retry save (each retry may create another scene). | | **Create JMeter scene** (`save-open-jmeter-scene`) | Same as PTS — names may duplicate; use `SceneId` only. | Same pattern with `list-open-jmeter-scenes` + user disambiguation before retry. | | **Start PTS test** (`start-pts-scene`) | `get-pts-scene-running-status` — check status | If `RUNNING` or `SYNCING`, skip; do NOT start again | | **Start JMeter test** (`start-testing-jmeter-scene`) | `get-open-jmeter-scene` — check status | If already running, skip; do NOT start again | | **Delete PTS scene** (`delete-pts-scene`) | Confirm target **`SceneId`** still exists (e.g. `list-pts-scene` / `get-pts-scene`) | If that `SceneId` is gone, treat as success (already deleted) | | **Delete JMeter scene** (`remove-open-jmeter-scene`) | Confirm target **`SceneId`** still exists | If that `SceneId` is gone, treat as success (already deleted) |
Core Workflow
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, scene names, target URLs, > concurrency, duration, etc.) MU
Read more
name: alibabacloud-pts-ops description: | Alibaba Cloud PTS (Performance Testing Service) scenario-based skill for creating and managing stress testing scenarios. Supports both PTS native HTTP/HTTPS stress testing and JMeter-based stress testing. Triggers: "PTS", "压测", "性能测试", "stress testing", "performance testing", "JMeter", "load testing", "创建压测场景" required_permissions: - pts:CreatePtsScene - pts:GetPtsScene - pts:ListPtsScene - pts:StartPtsScene - pts:StopPtsScene - pts:DeletePtsScene - pts:StartDebugPtsScene - pts:GetPtsReportDetails - pts:GetPtsSceneBaseLine - pts:GetPtsSceneRunningData - pts:GetPtsSceneRunningStatus - pts:SaveOpenJMeterScene - pts:GetOpenJMeterScene - pts:ListOpenJMeterScenes - pts:StartTestingJMeterScene - pts:StopTestingJMeterScene - pts:RemoveOpenJMeterScene - pts:GetJMeterReportDetails
Alibaba Cloud PTS Stress Testing Scenario Management
This skill enables you to create and manage stress testing scenarios using Alibaba Cloud PTS (Performance Testing Service). It supports both PTS native HTTP/HTTPS stress testing and JMeter-based stress testing.
Scenario Description
PTS (Performance Testing Service) is Alibaba Cloud's fully managed performance testing platform that helps you validate the performance, capacity, and stability of your applications. This skill covers:
1. **PTS Native Stress Testing** - Create HTTP/HTTPS stress testing scenarios with configurable APIs, serial links, and load models 2. **JMeter Stress Testing** - Upload and run JMeter scripts with distributed load generation
Architecture
User → Aliyun CLI → PTS Service → Target Application
↓
Stress Testing ReportPre-check
> **Pre-check: Aliyun CLI >= 3.3.1 required** > Run `aliyun version` to verify >= 3.3.1. If not installed or version too low, > see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions. > Then **[MUST]** run `aliyun configure set --auto-plugin-install true` to enable automatic plugin installation.
# Verify CLI version aliyun version # Enable auto plugin installation aliyun configure set --auto-plugin-install true
Timeout Settings
All CLI commands should include timeout parameters to avoid hanging:
# Recommended timeout settings for PTS operations --read-timeout 60 --connect-timeout 10
- **read-timeout**: 60 seconds (stress testing operations may take longer)
- **connect-timeout**: 10 seconds
Environment Variables
No additional environment variables required beyond CLI authentication.
Parameter Confirmation
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, scene names, target URLs, > concurrency, duration, JMX files, etc.) MUST be confirmed with the user. > Do NOT assume or use default values without explicit user approval.
User-Customizable Parameters
| Parameter Name | Required | Description | Default Value | |---------------|----------|-------------|---------------| | RegionId | No | Region for PTS service | cn-hangzhou | | Scene Name | Yes | Name of the stress testing scenario | - | | Target URL | Yes | URL to stress test | - | | HTTP Method | Yes | GET, POST, PUT, DELETE, etc. | GET | | Concurrency | Yes | Number of concurrent users | - | | Duration | Yes | Test duration in seconds | - | | JMX File | Yes (JMeter) | Path to JMeter script file | - | | Mode | No | CONCURRENCY or TPS | CONCURRENCY |
Authentication
This skill relies on the Aliyun CLI's default credential chain. Ensure your CLI is already authenticated before use.
Verify current authentication:
aliyun configure get
If CLI is not yet configured, see [references/cli-installation-guide.md](references/cli-installation-guide.md) for setup instructions.
RAM Policy
Users must have appropriate PTS permissions. See [references/ram-policies.md](references/ram-policies.md) for detailed policies.
Idempotency
PTS APIs do not support `ClientToken`-based idempotency. **Scene names are not unique** — multiple PTS or JMeter scenarios may share the same `SceneName`. Never treat “same name” as one resource; always use **`SceneId`** (returned by the API) as the stable identifier.
To prevent duplicate resources or unintended side-effects when retrying after timeouts or errors, **always** use the **check-then-act** pattern before every write operation:
| Operation | Check Before Acting | If Already Exists / Running | |-----------|--------------------|-----------------------------| | **Create PTS scene** (`save-pts-scene`) | Do **not** dedupe by name. After success, record `SceneId`. | If the prior call outcome is unknown, use `list-pts-scene` **with the user** to disambiguate before retrying; do **not** blindly retry save (each retry may create another scene). | | **Create JMeter scene** (`save-open-jmeter-scene`) | Same as PTS — names may duplicate; use `SceneId` only. | Same pattern with `list-open-jmeter-scenes` + user disambiguation before retry. | | **Start PTS test** (`start-pts-scene`) | `get-pts-scene-running-status` — check status | If `RUNNING` or `SYNCING`, skip; do NOT start again | | **Start JMeter test** (`start-testing-jmeter-scene`) | `get-open-jmeter-scene` — check status | If already running, skip; do NOT start again | | **Delete PTS scene** (`delete-pts-scene`) | Confirm target **`SceneId`** still exists (e.g. `list-pts-scene` / `get-pts-scene`) | If that `SceneId` is gone, treat as success (already deleted) | | **Delete JMeter scene** (`remove-open-jmeter-scene`) | Confirm target **`SceneId`** still exists | If that `SceneId` is gone, treat as success (already deleted) |
Core Workflow
> **IMPORTANT: Parameter Confirmation** — Before executing any command or API call, > ALL user-customizable parameters (e.g., RegionId, scene names, target URLs, > concurrency, duration, etc.) MU
Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.
Other skills on alibabacloud-aiops-skills.
- /alibabacloud-agentbay-aio-skills
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users request to run, execute, or evaluate code (Python, JavaScript, R, Java), including plotting charts, running scripts, or viewing code output. Covers requests like "run this code", "execute
Open skill - /alibabacloud-agentloop-dataset
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API version 2026-05-20. Use when requests concern AgentLoop datasets, data rows, Dataset schemas, embedding fields, semantic search, ExecuteQuery, AgentSpace data, 数据集, 数据写入, 数据查询, 语义检索, or ask
Open skill - /alibabacloud-agentloop-evaluation
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews, saved evaluator and evaluator-skill management, one-shot sample tests, trace or dataset batch runs, polling, and result inspection. Analyze evaluation quality and low-score cases from
Open skill - /alibabacloud-agentloop-experience
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through the bundled SearchContext CLI whenever the user asks or implies that prior work may help. Trigger for requests to check, search, recall, retrieve, look up, review, consult, reference,
Open skill - /alibabacloud-agentloop-management
AgentLoop APM接入 / AI可观测接入 / 应用监控接入 / 自研探针 / 探针安装. Use for Python aliyun-bootstrap (aliyun-instrument), Java AliyunJavaAgent, Golang instgo, Node.js cms_node_sdk, PHP/.NET OpenTelemetry, ack-onepilot, LicenseKey, AgentLoop workspace agentloop-*. Also for LangChain, Dify,
Open skill - /alibabacloud-avatar-video
Use Alibaba Cloud DashScope API and LingMou to generate AI video and speech. Seven capabilities — (1) LivePortrait talking-head (image + audio → video, two-step), (2) EMO talking-head, (3) AA/AnimateAnyone full-body animation (three-step), (4) T2I text-to-image (Wan 2.x, default
Open skill

