Skip to content
Cloud & Infrastructure
Skill

/alibabacloud-sms-send-short-message

Send short messages (SMS) to specified phone numbers via Alibaba Cloud Short Message Service. Supports verification codes, notification messages, and marketing messages. Use this Skill whenever the user wants to send SMS verification codes, system notifications, order reminders,

From plugin
alibabacloud-aiops-skills
300200 skills

Claude Code

$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-sms-send-short-message --agent claude-code

SKILL.md

alibabacloud-sms-send-short-message.SKILL.md
name: alibabacloud-sms-send-short-message
description: >
  Send short messages (SMS) to specified phone numbers via Alibaba Cloud Short Message Service.
  Supports verification codes, notification messages, and marketing messages.
  Use this Skill whenever the user wants to send SMS verification codes, system notifications,
  order reminders, or marketing campaigns. Supports single send (SendSms, up to 1000 phone
  numbers sharing the same signature and template parameters) and batch send (SendBatchSms,
  up to 100 phone numbers, each with its own signature and template parameters). The
  signature and template approval status can be verified before sending to maximize
  delivery success rate. For brand-new accounts that do not yet have any approved
  signature or template, a built-in test verification SMS (SendTestVerification) can be
  sent to a single phone number to validate that the service works — no signature or
  template required.
license: Apache-2.0
compatibility: >
  aliyun-cli >= 3.3.3
  dysmsapi plugin (auto-installed)
  Requires Alibaba Cloud AccessKey configured via `aliyun configure`
metadata:
  domain: cloud-communication
  owner: sms-team
  contact: sms-team@alibaba-inc.com
  implementation: aliyun-cli
  ram_policies: references/ram-policies.md

Critical CLI Compliance (Must Read First)

The following declarations apply to **every** `aliyun` CLI invocation in this Skill — they must be honored before any send / query operation, workflow step, or functional scenario described later in this document.

**Pre-check: Aliyun CLI >= 3.3.3 required** > [MUST] Verify: `aliyun version` — must be >= 3.3.3. > - **First install or major upgrade:** `/bin/bash -c "$(curl -fsSL --connect-timeout 10 --max-time 120 https://aliyuncli.alicdn.com/setup.sh)"` > - **Routine update (CLI >= 3.3.5):** `aliyun upgrade` — prefer this built-in self-update over re-running the install script. > - See `references/cli-installation-guide.md` for full 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.

---

Observability (MUST follow for every aliyun command)

Before any cloud API invocation, read `references/manifest.json` from this skill's root and use only its top-level non-empty string `version` as `{skill-version}`. If the file is missing, invalid, or the field is absent/empty/not a string, STOP and report the error. NEVER invent, guess, or reuse a version from another skill.

Bind version and session to the current skill name and skill root. Before this skill's first cloud API invocation in a conversation, generate a fresh random 32-character lowercase hexadecimal session ID. Reuse that session ID for this skill throughout the conversation; each skill MUST use a distinct session ID. NEVER copy one from documentation, examples, another skill, or a previous conversation, and NEVER send the literal `{session-id}` placeholder. When switching skills or returning to this skill, reread this skill's manifest; never cross-skill reuse either value.

**Rule: Every `aliyun` CLI command that calls a cloud API MUST include the `--user-agent` flag.** Local utility commands (e.g. `configure`, `plugin`, `version`) do not support this flag and should be excluded.

Markdown examples may omit the flag for brevity. The Agent MUST append the exact flag below to every actual execution, including commands generated or extended at runtime; do not repeat UA boilerplate in every example block.

--user-agent "AlibabaCloud-Agent-Skills/alibabacloud-sms-send-short-message/{session-id} skill-version/{skill-version}"

The entire UA value MUST be double-quoted because it contains a space. Do not skip, alter, or omit it on any `aliyun` API command.

**Script / Terraform execution:** Inject both scoped values inline:

# Python SDK script
SKILL_SESSION_ID={session-id} SKILL_VERSION={skill-version} python3 scripts/deploy.py

# Terraform
TF_VAR_session_id={session-id} TF_VAR_skill_version={skill-version} terraform apply
# provider: configuration_source = "AlibabaCloud-Agent-Skills/alibabacloud-sms-send-short-message/${var.session_id} skill-version/${var.skill_version}"

Scripts and Terraform configs MUST require both values and construct the same UA product. Generated Terraform providers MUST set `configuration_source = "AlibabaCloud-Agent-Skills/alibabacloud-sms-send-short-message/${var.session_id} skill-version/${var.skill_version}"`.

The wrapper script `scripts/send_sms.sh` requires both values in its environment:

SKILL_SESSION_ID={session-id} SKILL_VERSION={skill-version} ./scripts/send_sms.sh send -p "..." -s "..." -t "..."

---

Overview

This Skill wraps the Alibaba Cloud Short Message Service (SMS) end-to-end on top of the **aliyun CLI**, exposing the following capabilities:

  • **Send SMS**: verification codes, notifications, or marketing messages (SendSms).
  • **Batch send**: different signatures / template params per phone number (SendBatchSms).
  • **Signature management**: query approval status and signature lists.
  • **Template management**: query approval status and template lists.
  • **Send status query**: query SMS send details and delivery receipts.
  • **Send statistics query**: aggregated send / success / fail counts in a date range

(QuerySendStatistics).

  • **SMS qualification query**: list records (QuerySmsQualificationRecord) and

single-record detail (QuerySingleSmsQualification) — see [`references/sms-qualification.md`](references/sms-qualification.md).

  • **Send test SMS**: for accounts that have no approved signature or template yet, send a

built-in test verification code SMS to a single phone number (SendTestVerification). No signature or template is required — useful for validating the service before submitting a signature/template for

Read more
@aliyun
Ships withalibabacloud-aiops-skills

Official Alibaba Cloud Agent Skills collection, providing AI agents with rich Alibaba Cloud product capabilities and general-purpose tooling.

Stars on GitHub

Momentum

stars in total
300
Star history of aliyun/alibabacloud-aiops-skills on GitHub, a chart by star-history.com

Other skills on alibabacloud-aiops-skills.

More skills from other plugins.

container

container

Use when running, building, or managing Linux containers on macOS, or when a task involves Docker, docker compose, Lima, Colima,…

@apple@appleInstall Skill
agent-advisor

agent-advisor

Entry point for AI-agent work on AWS: pick a runtime, plan a migration for existing workloads, and build an executable POC — one…

@aws@awsInstall Skill
agents-sdk
Auto-invoked

agents-sdk

Build, debug, or review Cloudflare Agents SDK applications using the agents package.

@cloudflare@cloudflareInstall Skill

Questions about alibabacloud-sms-send-short-message.

Which coding agents can use alibabacloud-sms-send-short-message?
alibabacloud-sms-send-short-message installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.