Skip to content
Cloud & Infrastructure
Skill

/alibabacloud-flink-instance-manage

Use when asked to create or query Alibaba Cloud Flink instances, create or list Flink namespaces, list supported Flink regions or availability zones, or query Flink resource tags. For Flink AI service, use only when the operation directly targets the account's regional service

From plugin
alibabacloud-aiops-skills
300200 skills

Claude Code

$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-flink-instance-manage --agent claude-code

SKILL.md

alibabacloud-flink-instance-manage.SKILL.md
name: alibabacloud-flink-instance-manage
description: >
  Use when asked to create or query Alibaba Cloud Flink instances, create or
  list Flink namespaces, list supported Flink regions or availability zones, or
  query Flink resource tags. For Flink AI service, use only when the operation
  directly targets the account's regional service to query its status or free
  quota and usage, activate or deactivate the service, or query or change its
  closure protection (deletion protection).
license: Apache-2.0
compatibility: >
  Requires Python dependencies from assets/requirements.txt, valid Alibaba Cloud
  credentials, and network access to Flink OpenAPI (2021-10-28). Aliyun CLI is
  optional and only used for environment diagnostics/credential inspection.
metadata:
  domain: aiops
  owner: flink-team
  contact: flink-team@alibaba-inc.com

Alibaba Cloud Flink Instance Manage

Use one script to manage Alibaba Cloud Flink instances, namespaces, and regional Flink AI services.

Scope and Entrypoint

  • Always run operations through:
  python scripts/instance_ops.py <command> [options]
  • Instance, namespace, and discovery commands include `create`, `create_namespace`, `describe`, `describe_regions`, `describe_zones`, `describe_namespaces`, and `list_tags`.
  • AI service commands include `get_flink_ai_service`, `get_flink_ai_service_free_quota`, `open_flink_ai_service`, `close_flink_ai_service`, and `modify_ai_service_protection`.
  • Instance or namespace updates and deletions, Flink SQL and job operations, AI assistant conversations, intelligent patrol, and other cloud products are outside this skill's scope.

Trigger Rules

Match the requested action and its target to a command below. For Flink AI service, the action must match a service management command and directly target the regional service or its closure protection. Route by the requested action when Flink AI service is mentioned as the location of a feature. Use the Flink workspace operations skill for ordinary job troubleshooting and the Flink AI operations skill for cloud AI assistant conversations, assistant diagnosis, and intelligent patrol or its reports.

  • Positive intent examples:
  • "Create a Flink instance in cn-beijing"
  • "List Flink instances and status"
  • "Describe namespaces for instance f-cn-xxx"
  • Chinese trigger examples:
  • "查询 Flink 实例标签"
  • "Flink 可用区有哪些"
  • "查询杭州的 Flink AI 服务是否开通"
  • "查看 Flink AI 服务的免费额度使用情况"
  • "在上海开通 Flink AI 服务"
  • "关闭北京的 Flink AI 服务"
  • "开启 Flink AI 服务的关闭保护"
  • Negative intent examples:
  • ECS/Kafka/OSS/DataWorks operations
  • Generic questions (weather, translation, etc.)
  • Flink SQL, job authoring or runtime tuning, and ordinary job troubleshooting such as checkpoint timeouts. Use the Flink workspace operations skill.
  • Cloud AI assistant conversations or diagnosis. Use the Flink AI operations skill for requests such as "用 Flink AI 服务里的云端智能助手诊断我的作业为什么检查点超时。"
  • Intelligent patrol or patrol reports. Use the Flink AI operations skill for requests such as "查询 Flink AI 服务里的智能巡检报告。"
  • Ambiguous prompts:
  • Ask one clarification question: instance/namespace management vs SQL/job operations.
  • Clarify whether "开启 AI" refers to activating the regional Flink AI service, using the AI assistant, or configuring patrol.

Intent to Command Mapping

Initialize `SKILL_SESSION_ID` and `SKILL_VERSION` before running an AI service command. [Session setup](#initialize-the-session)

| User intent | Command | |---|---| | Query all instances in a region | `describe --region_id <REGION>` | | Create instance | `create ... --confirm` | | Query namespaces under an instance | `describe_namespaces --region_id <REGION> --instance_id <ID>` | | Create namespace | `create_namespace ... --confirm` | | Query supported regions/zones | `describe_regions` / `describe_zones --region_id <REGION>` | | Query tags | `list_tags --region_id <REGION> --resource_type <TYPE> [--resource_ids ...]` | | Query Flink AI service status | `get_flink_ai_service --region_id <REGION>` | | Query Flink AI service free quota | `get_flink_ai_service_free_quota --region_id <REGION>` | | Activate Flink AI service | `open_flink_ai_service --region_id <REGION> --confirm` | | Deactivate Flink AI service | `close_flink_ai_service --region_id <REGION> --confirm` | | Change closure protection | `modify_ai_service_protection --region_id <REGION> --deletion_protection <BOOL> --confirm` |

Operating Rules

1. **Confirm write operations**

  • Confirm the target and parameters before creating instances or namespaces. Pass `--confirm` when running the command.
  • For AI service activation, deactivation, and either direction of a closure protection change, follow the [AI service write authorization](#ai-service-write-authorization) procedure.

2. **Verify changes with a follow-up query**

  • After the API accepts the request, query the resource to verify that it reached the requested state.

3. **Retry policy is strict**

  • Maximum 2 attempts for the same command (initial + one corrected retry).

4. **No automatic operation switching**

  • If an operation fails, do not switch to a different operation without user approval.

5. **Lifecycle target lock**

  • In `create -> create_namespace` flow, namespace must target the same newly created `InstanceId` unless user approves fallback.

6. **Namespace pre-check is required**

  • Before `create_namespace`, check instance status/resources and existing namespace allocation.

7. **No secret exposure**

  • Do not output or request plaintext AK/SK. Use default credential chain guidance.

8. **Do not invent parameters**

  • Never fabricate VPC/VSwitch/instance IDs.

9. **Keep auditable confirmation evidence**

  • Lifecycle outputs must contain `SafetyCheckRequired` or explicit `--confirm` evidence.

10. **No partial-completion claims for lifecycle flows**

  • For flows requiring both `create` and `create_namespace`, overall status can be `completed` only when both creat
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-flink-instance-manage.

Which coding agents can use alibabacloud-flink-instance-manage?
alibabacloud-flink-instance-manage 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.