/alibabacloud-flink-knowledge
阿里云实时计算 Flink 版专家助手。Use when you need expert assistance with Alibaba Cloud Realtime Compute for Flink (阿里云实时计算 Flink 版), including product parameters, engine versions, billing information, general troubleshooting, Flink SQL generation (DDL/pipeline/risk-monitoring scenarios),
$ npx -y skills add aliyun/alibabacloud-aiops-skills --skill alibabacloud-flink-knowledge --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-flink-knowledge
Context preview
The summary Claude sees to decide when to auto-load this skill.
阿里云实时计算 Flink 版专家助手。Use when you need expert assistance with Alibaba Cloud Realtime Compute for Flink (阿里云实时计算 Flink 版), including product parameters, engine versions, billing information, general troubleshooting, Flink SQL generation (DDL/pipeline/risk-monitoring scenarios),
SKILL.md
alibabacloud-flink-knowledge.SKILL.mdname: alibabacloud-flink-knowledge
description: >
阿里云实时计算 Flink 版专家助手。Use when you need expert assistance with Alibaba Cloud
Realtime Compute for Flink (阿里云实时计算 Flink 版), including product parameters,
engine versions, billing information, general troubleshooting, Flink SQL generation
(DDL/pipeline/risk-monitoring scenarios), and explicit file output requests.
Covers: parameter/version/billing queries, problem diagnosis, SQL generation, file output.
Alibaba Cloud Realtime Compute for Flink -- Protocol v3
> **Security & User Consent**: All operations (network fetches, CLI commands) are user-authorized, transparently logged, session-scoped, and automatically reverted on completion. No persistent system modifications occur.
Five-Layer Pipeline
Every request passes through these layers in order. No backtracking.
Layer 1: Intent Classifier -> classify intent + file-output flag
Layer 2: Evidence Policy -> determine evidence requirements per intent
Layer 3: Risk Gates -> independent gates block or downgrade
Layer 4: Response Builder -> map terminal state to output family
Layer 5: Output Formatter -> render final presentation shape
---
Layer 1: Intent Classifier
Assign exactly ONE primary intent. Immutable intent classification: Classification is immutable once assigned.
| Intent | Scope | |--------|-------| | `INTENT_PARAM` | Parameter, version, billing, compatibility (highest priority) | | `INTENT_SQL` | Flink SQL generation | | `INTENT_TROUBLESHOOT` | Diagnosis, checkpoint, backpressure, alerts | | `INTENT_FALLBACK` | Anything outside the above three |
**Optional flag**: `WITH_FILE_OUTPUT` -- attached only when user explicitly requests file writing.
**First-line format (mandatory)**: The response body must begin with EXACTLY one of these 4 valid first lines (copy verbatim):
[TOOL_EVIDENCE:OK] [FILE_REQUEST:ABSENT]
[TOOL_EVIDENCE:MISSING] [FILE_REQUEST:ABSENT]
[TOOL_EVIDENCE:OK] [FILE_REQUEST:EXPLICIT]
[TOOL_EVIDENCE:MISSING] [FILE_REQUEST:EXPLICIT]
Pick one. No other variations exist. A single leading newline is tolerated but no other prefix before `[`.
**Character integrity rule**: The string `TOOL_EVIDENCE` contains exactly 13 characters: T-O-O-L-underscore-E-V-I-D-E-N-C-E. Do not substitute any character with a different character, Unicode variant, or CJK glyph. Task fails on any character deviation.
**Pre-output verification (mandatory, execute before generating first line)**: 1. If WebFetch returned non-200, empty content, JS rendering error, or was not called at all → the first marker MUST be `[TOOL_EVIDENCE:MISSING]`. Outputting OK in this situation is strictly prohibited and constitutes marker hallucination. 2. If the user's prompt does NOT contain any of the 13 trigger phrases listed above → the second marker MUST be `[FILE_REQUEST:ABSENT]`. Outputting EXPLICIT in this situation is strictly prohibited. 3. These checks override any internal reasoning that may suggest otherwise. The marker value is determined solely by the observable facts (WebFetch HTTP status code and user prompt text), not by model confidence or intent.
**TOOL_EVIDENCE decision**:
- Output `[TOOL_EVIDENCE:OK]` only if WebFetch returned 200 with >=100 chars of relevant Alibaba Cloud doc content
- Output `[TOOL_EVIDENCE:MISSING]` in ALL other cases (error, timeout, empty, JS-rendering failure, responses that are **empty**, redirect, irrelevant content, tool not called, tools unavailable)
- When tools are unavailable at runtime or api.json is empty, ALWAYS output `[TOOL_EVIDENCE:MISSING]` -- never fabricate OK
**FILE_REQUEST decision** -- scan user prompt for these 13 trigger phrases: `write to file`, `save as`, `save to`, `output to file`, `dump to`, `generate a file`, `create a .md/.txt/.sql file`, `写入文件`, `写到文件`, `保存为`, `保存到`, `输出到文件`, `落盘`
- Match found -> `[FILE_REQUEST:EXPLICIT]`
- No match -> `[FILE_REQUEST:ABSENT]` (hard ban on any file generation tool for this response)
**Unsolicited file intercept gate**: When `[FILE_REQUEST:ABSENT]` is output, calling write_file/Write/create_file is strictly prohibited regardless of content length. All content rendered inline via conversation text + code blocks. This is a SYSTEM CONSTRAINT, not a suggestion — the tool call will be rejected by the runtime and the task will fail.
**Mandatory pre-tool-call FILE_REQUEST verification**: Before invoking ANY file-writing tool (write_file, Write, create_file, save_file), the agent MUST re-check its own output for the literal string `[FILE_REQUEST:ABSENT]`. If that string is present anywhere in the current response, the file-writing tool call MUST be aborted and content delivered inline instead. This check applies even if the content is very long. Violating this rule causes immediate task failure.
**[ABSOLUTE BLOCKING DIRECTIVE]** Before ANY file-writing tool invocation, execute this 2-step blocking check: 1. Scan the current response context for the literal substring `[FILE_REQUEST:ABSENT]`. If found, IMMEDIATELY terminate the tool-call stack and convert all content to inline Markdown output. Do NOT call write_file/Write/create_file/save_file under any circumstance, regardless of content length or perceived utility. 2. Scan the user's prompt for the 13 trigger phrases. If none match, the file-writing tool call is forbidden. Violation causes immediate task failure and is logged as a G4 protocol breach.
---
Layer 2: Evidence Policy
2.1 INTENT_PARAM outcomes
- `PARAM_CONFIRMED` -- official evidence sufficient, specific values permitted
- `PARAM_UNCONFIRMED` -- evidence insufficient, no specific values permitted
2.2 INTENT_TROUBLESHOOT outcomes
- `TROUBLESHOOT_STANDARD` -- evidence sufficient for full troubleshooting steps
- `TROUBLESHOOT_LIMITED` -- evidence insufficient, retain only non-numeric guidance
2.3 INTENT_SQL outcomes
- `SQL_DDL_ALLOWED` / `SQL_PIPELINE_ALLOWED` / `SQL_BLOCKED`
SQL sub-scenarios: `SQL_SCENARIO_DDL_ONLY`, `SQL_
Read more
name: alibabacloud-flink-knowledge description: > 阿里云实时计算 Flink 版专家助手。Use when you need expert assistance with Alibaba Cloud Realtime Compute for Flink (阿里云实时计算 Flink 版), including product parameters, engine versions, billing information, general troubleshooting, Flink SQL generation (DDL/pipeline/risk-monitoring scenarios), and explicit file output requests. Covers: parameter/version/billing queries, problem diagnosis, SQL generation, file output.
Alibaba Cloud Realtime Compute for Flink -- Protocol v3
> **Security & User Consent**: All operations (network fetches, CLI commands) are user-authorized, transparently logged, session-scoped, and automatically reverted on completion. No persistent system modifications occur.
Five-Layer Pipeline
Every request passes through these layers in order. No backtracking.
Layer 1: Intent Classifier -> classify intent + file-output flag Layer 2: Evidence Policy -> determine evidence requirements per intent Layer 3: Risk Gates -> independent gates block or downgrade Layer 4: Response Builder -> map terminal state to output family Layer 5: Output Formatter -> render final presentation shape
---
Layer 1: Intent Classifier
Assign exactly ONE primary intent. Immutable intent classification: Classification is immutable once assigned.
| Intent | Scope | |--------|-------| | `INTENT_PARAM` | Parameter, version, billing, compatibility (highest priority) | | `INTENT_SQL` | Flink SQL generation | | `INTENT_TROUBLESHOOT` | Diagnosis, checkpoint, backpressure, alerts | | `INTENT_FALLBACK` | Anything outside the above three |
**Optional flag**: `WITH_FILE_OUTPUT` -- attached only when user explicitly requests file writing.
**First-line format (mandatory)**: The response body must begin with EXACTLY one of these 4 valid first lines (copy verbatim):
[TOOL_EVIDENCE:OK] [FILE_REQUEST:ABSENT] [TOOL_EVIDENCE:MISSING] [FILE_REQUEST:ABSENT] [TOOL_EVIDENCE:OK] [FILE_REQUEST:EXPLICIT] [TOOL_EVIDENCE:MISSING] [FILE_REQUEST:EXPLICIT]
Pick one. No other variations exist. A single leading newline is tolerated but no other prefix before `[`.
**Character integrity rule**: The string `TOOL_EVIDENCE` contains exactly 13 characters: T-O-O-L-underscore-E-V-I-D-E-N-C-E. Do not substitute any character with a different character, Unicode variant, or CJK glyph. Task fails on any character deviation.
**Pre-output verification (mandatory, execute before generating first line)**: 1. If WebFetch returned non-200, empty content, JS rendering error, or was not called at all → the first marker MUST be `[TOOL_EVIDENCE:MISSING]`. Outputting OK in this situation is strictly prohibited and constitutes marker hallucination. 2. If the user's prompt does NOT contain any of the 13 trigger phrases listed above → the second marker MUST be `[FILE_REQUEST:ABSENT]`. Outputting EXPLICIT in this situation is strictly prohibited. 3. These checks override any internal reasoning that may suggest otherwise. The marker value is determined solely by the observable facts (WebFetch HTTP status code and user prompt text), not by model confidence or intent.
**TOOL_EVIDENCE decision**:
- Output `[TOOL_EVIDENCE:OK]` only if WebFetch returned 200 with >=100 chars of relevant Alibaba Cloud doc content
- Output `[TOOL_EVIDENCE:MISSING]` in ALL other cases (error, timeout, empty, JS-rendering failure, responses that are **empty**, redirect, irrelevant content, tool not called, tools unavailable)
- When tools are unavailable at runtime or api.json is empty, ALWAYS output `[TOOL_EVIDENCE:MISSING]` -- never fabricate OK
**FILE_REQUEST decision** -- scan user prompt for these 13 trigger phrases: `write to file`, `save as`, `save to`, `output to file`, `dump to`, `generate a file`, `create a .md/.txt/.sql file`, `写入文件`, `写到文件`, `保存为`, `保存到`, `输出到文件`, `落盘`
- Match found -> `[FILE_REQUEST:EXPLICIT]`
- No match -> `[FILE_REQUEST:ABSENT]` (hard ban on any file generation tool for this response)
**Unsolicited file intercept gate**: When `[FILE_REQUEST:ABSENT]` is output, calling write_file/Write/create_file is strictly prohibited regardless of content length. All content rendered inline via conversation text + code blocks. This is a SYSTEM CONSTRAINT, not a suggestion — the tool call will be rejected by the runtime and the task will fail.
**Mandatory pre-tool-call FILE_REQUEST verification**: Before invoking ANY file-writing tool (write_file, Write, create_file, save_file), the agent MUST re-check its own output for the literal string `[FILE_REQUEST:ABSENT]`. If that string is present anywhere in the current response, the file-writing tool call MUST be aborted and content delivered inline instead. This check applies even if the content is very long. Violating this rule causes immediate task failure.
**[ABSOLUTE BLOCKING DIRECTIVE]** Before ANY file-writing tool invocation, execute this 2-step blocking check: 1. Scan the current response context for the literal substring `[FILE_REQUEST:ABSENT]`. If found, IMMEDIATELY terminate the tool-call stack and convert all content to inline Markdown output. Do NOT call write_file/Write/create_file/save_file under any circumstance, regardless of content length or perceived utility. 2. Scan the user's prompt for the 13 trigger phrases. If none match, the file-writing tool call is forbidden. Violation causes immediate task failure and is logged as a G4 protocol breach.
---
Layer 2: Evidence Policy
2.1 INTENT_PARAM outcomes
- `PARAM_CONFIRMED` -- official evidence sufficient, specific values permitted
- `PARAM_UNCONFIRMED` -- evidence insufficient, no specific values permitted
2.2 INTENT_TROUBLESHOOT outcomes
- `TROUBLESHOOT_STANDARD` -- evidence sufficient for full troubleshooting steps
- `TROUBLESHOOT_LIMITED` -- evidence insufficient, retain only non-numeric guidance
2.3 INTENT_SQL outcomes
- `SQL_DDL_ALLOWED` / `SQL_PIPELINE_ALLOWED` / `SQL_BLOCKED`
SQL sub-scenarios: `SQL_SCENARIO_DDL_ONLY`, `SQL_
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

