alibabacloud-bailian-m…
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
阿里云实时计算 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.
/alibabacloud-flink-knowledgeContext 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),
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.
> **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.
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
---
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**:
**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`, `写入文件`, `写到文件`, `保存为`, `保存到`, `输出到文件`, `落盘`
**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.
---
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.
Explain, evaluate, demonstrate, provision, and integrate Alibaba Cloud Bailian Managed Agent…
Alibaba Cloud Parse-X intelligent document parsing and extraction tool. Supports two…
Execute code in a secure cloud sandbox via AgentBay SDK. Use this skill whenever users…
Operate Alibaba Cloud AgentLoop Dataset resources with aliyun CLI and the AgentLoop API…
Orchestrate AgentLoop evaluation workflows through the Aliyun CLI plugin with safe previews,…
Proactively use AgentLoop Recall to retrieve prior Alibaba Cloud AgentLoop experience through…