Short Message Service skill

Updated at:

The Alibaba Cloud Short Message Service skill allows AI agents to send messages, query qualifications, signatures, and templates, query delivery records, and perform statistical analysis. With this skill, you can use natural language to send messages and query data in agent tools like Claude Code, Qoderwork, Wukong, and OpenClaw, reducing the need to frequently switch consoles or manually format phone number files. This document describes the core capabilities, installation, configuration, and usage of the Short Message Service skill.

Prerequisites

  1. You must have a RAM user with an AccessKey ID and AccessKey Secret.

    Use your main account to create the RAM user in the RAM console and grant it both the AliyunDysmsFullAccess and AliyunDysmsReadOnlyAccess permissions. For instructions on creating an AccessKey, see Create an AccessKey.

  2. Apply for a qualification, create a signature, and request a template in the Short Message Service console, ensuring that all are approved.

Capabilities and advantages

Capabilities

Capability

Description

Send messages

Send single or bulk text messages, including verification codes, notifications, and promotional messages.

Query delivery records

Query delivery details and status by phone number and time range.

Query qualification information

Query your list of qualifications to find available qualifications and view their details.

Query signature information

Query your list of signatures to find signatures associated with a qualification and view their details.

Query template information

Query your list of templates to find available templates and view their details.

Delivery statistics

Query statistical data for messages sent in the last three years.

Advantages

  • Conversational message sending: Instead of frequently accessing the console, you can query signatures, templates, and send messages using natural language directly within agent tools like Claude Code, Qoderwork, Wukong, and OpenClaw.

  • Simplified file preparation: Traditional batch sending requires strict formatting for phone number files and variables, where incorrect formats can cause task failures. With the skill, you only need to provide the path to a local file. The agent can parse Excel, TXT, and CSV files and assist with variable matching.

  • Automatic summary of sending results: After sending, the skill returns the success count, failure count, and a breakdown of failure reasons. It also lets you query delivery records and statistics by dimensions such as time, signature, and template.

  • Flexible data analysis: Unlike the console's fixed filtering dimensions, the skill allows you to specify statistical criteria using natural language, such as "summarize sending volume by signature for the last three days," "compare last week's sending to this week's," or "show this month's success rate trend."

Installation methods

The Short Message Service skill supports two installation methods. Choose one based on your scenario.

Installation method

Use case

Supported tools

Install from marketplace (recommended)

The Short Message Service skill is available in the AI tool's skill marketplace for one-click installation.

Qoderwork, Wukong

Install by manual upload

If the skill is not in the marketplace or you need to install it offline, download the package and upload it manually.

Qoderwork, Wukong, Claude Code, OpenClaw

Install from the marketplace (recommended)

Qoderwork

  1. Open Qoderwork and go to the Capability Marketplace.

  2. Search for "Short Message Service" and click Install.

  3. After installation, verify that the skill is enabled.

Install by manual upload

If the Short Message Service skill is not available in the marketplace or you need to install it offline, follow these steps to install it manually.

General Steps

  1. Download the Short Message Service skill package alibabacloud-sms-send.zip from the Alibaba Cloud Skills Platform.

  2. In your AI tool's skill center, upload the skill package.

  3. Verify that the skill's status is enabled.

The following sections provide specific instructions for each tool.

Qoderwork

  1. Click Create Skill > Upload Skill.

  2. Upload the Short Message Service skill package that you downloaded from the Alibaba Cloud Skills Platform.

  3. After installation, verify that the Short Message Service skill is enabled.

Wukong

  1. Click Create Skill > Upload Skill.

  2. Upload the Short Message Service skill package that you downloaded from the Alibaba Cloud Skills Platform.

  3. Check the local upload status. After the security review passes, click Install.

  4. Verify that the skill is enabled.

Claude Code

For more information, see the official Claude Code skill documentation.

  1. Unzip the downloaded skill package.

  2. Move the skill directory to the Claude Code skills directory:

    • For global scope (all projects), move it to the ~/.claude/skills/ directory.

    • For project scope (current project only), move it to the <project_root>/.claude/skills/ directory.

  3. Restart Claude Code to activate the skill.

OpenClaw

  1. Unzip the downloaded skill package and copy the path to the skill directory.

  2. In OpenClaw, enter the path and say, "Help me install the skill in this directory."

  3. Wait for the confirmation message that the skill is installed. You can then start using it.

Environment configuration

Install the runtime environment

The AI tool automatically installs the required environment the first time you select the skill and ask a question.

Configure your Alibaba Cloud AccessKey

After the runtime environment is installed, configure your AccessKey to authorize the skill to access the Short Message Service API.

  1. Obtain your AccessKey ID and AccessKey Secret.

    Log in to the RAM console. On the details page for your RAM user, create or view the AccessKey. For more information, see Create an AccessKey.

  2. Open a terminal and run the following command to open the configuration file:

    open ~/.aliyun/config.json
  3. Add your AccessKey to the configuration file, as shown in the following example:

    {
      "current": "default",
      "profiles": [
        {
          "name": "default",
          "mode": "AK",
          "access_key_id": "<your_access_key_id>",
          "access_key_secret": "<your_access_key_secret>",
          "region_id": "cn-hangzhou",
          "output_format": "json",
          "language": "en",
          "site": "china",
          "auto_plugin_install": true
        }
      ],
      "meta_path": ""
    }

    Replace <your_access_key_id> and <your_access_key_secret> with your actual AccessKey ID and AccessKey Secret.

  4. Save the configuration file.

Verify the configuration

After configuration, send a prompt like "list my signatures" to the Short Message Service skill in your agent tool. If it returns your signature data, the configuration is successful. If an authentication error occurs, check that your AccessKey is correct and that the RAM user has been granted the AliyunDysmsFullAccess and AliyunDysmsReadOnlyAccess permissions.

Usage

After the skill is installed and configured, select the Short Message Service skill in your AI tool and use natural language to send messages and query data.

Supported operations

  • Conversationally query qualification, signature, and template details to find available options.

  • Automatically send single or bulk messages by reading phone numbers and variables from local files.

  • Query delivery details and parse failure reasons.

  • Analyze up to three years of sending data from multiple dimensions.

Common use cases

Send a message

  1. In the agent's dialog box, enter "list my available signatures and templates" to confirm the resources you can use.

  2. Enter a sending command, for example: "Use the signature [XX Company] and template SMS_XXX to send a verification code 1234 to 138****0001".

  3. The agent automatically calls the message sending API and returns the result.

Send batch messages

  1. Prepare a local file (Excel, TXT, or CSV) containing phone numbers and variables.

  2. In the agent's dialog box, enter "Read /Users/xxx/phones.xlsx and use the signature [XX Company] and template SMS_XXX to send batch messages".

  3. The agent parses the file, matches phone numbers with variables, sends the messages, and returns the success count, failure count, and a breakdown of failure reasons.

Query and analyze data

The following are examples of common query prompts:

  • "Query the delivery records for 138****0001 from the last 7 days"

  • "Summarize the sending volume by signature for the last three days"

  • "Compare last week's sending to this week's"

  • "Show this month's success rate trend"

FAQ

Supported AI agent tools

The skill currently supports tools that follow the Agent Skills standard, such as Claude Code, Cursor, OpenClaw, Qoderwork, and Wukong. Support for more platforms is in progress.

Skill vs. console capabilities

The skill currently supports sending messages, querying qualifications, signatures, templates, delivery records, and statistics. Features such as billing inquiries, plan management, and expedited review requests are not yet supported. Use the console for these tasks.

Sending without an account

No. You must register an Alibaba Cloud account, activate Short Message Service, and have an approved qualification, signature, and template before you can send messages.

Individual user support

Message sending requires an enterprise qualification. Individual users with enterprise information can create a qualification for enterprise use. Qualifications for individual use are not supported for sending messages.

Phone number file format

No. You can use local files in Excel, TXT, or CSV format. As long as the file contains phone numbers and the necessary variables, the agent can parse and match the data.

Requirements for signatures and templates

To send messages, you need an approved signature and an approved template. The signature's state must also be either "Available-Abnormal" or "Available-Normal."

Batch sending limit

You can send up to 100 messages per batch. If you need to send more than 100, split them into multiple batches.