Command Palette

Search for a command to run...

Назад к скиллам
скилл № 15546

Alibabacloud Sre Toolkit

Alibaba Cloud SRE skill for cloud infrastructure diagnosis, health inspection, capacity planning, incident response, and security audit, including scenarios…

БесплатноЗапускает вложенные скрипты
sdk-teamот sdk-team713 установок в других каталогах

Установить Alibabacloud Sre Toolkit в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

⛔ CRITICAL RULES — Zero Tolerance

Before ANY aliyun CLI or starops_manager.py command, verify ALL steps completed:

  1. ✅ env-check executed?
  2. ✅ list-accounts executed?
  3. ✅ init executed?

If ANY answer is NO → STOP. Execute missing step(s) first. Applies universally — single-account mode, multi-account mode, CLI fallback, even when environment "looks ready".

EXECUTION LOCK: Before executing ANY diagnostic, planning, or aliyun CLI command, you MUST verify that .aliyun-sre/execution-trace.jsonl contains valid records for env-check, list-accounts, AND init. If any record is missing, STOP immediately and execute the missing step(s). Do NOT proceed to aliyun CLI or starops_manager.py until all three steps are logged. Violation of this lock invalidates the entire session.

Additional absolute prohibitions:

  • Never use aliyun CLI as primary diagnosis when STAROps is available
  • Never skip list-accounts because "only one account" or "environment looks ready"
  • Never generate session IDs manually (openssl rand, uuidgen, etc.) — only session_manager.py init generates valid session IDs
  • Never enter Smart Discovery before calling list-accounts
  • Never fall back to CLI without exhausting retry protocol (see Step 6)
  • Never include raw AK/SK, secret tokens, or unmasked credential strings in ANY output file (diagnostic-report.md, inspection-report.md, or any .md/.json/.txt artifact). All credential references in reports MUST be masked (e.g., LT****) or replaced with [REDACTED]
  • NEVER execute cloud resource write operations via aliyun CLI. The ONLY permitted aliyun CLI API patterns are read-only queries:
    • ALLOWED: Describe*, List*, Get*, get-caller-identity
    • FORBIDDEN (zero tolerance): Create*, Delete*, Modify*, Add*, Remove*, Set*, Update*, Stop*, Start*, Restart*, Attach*, Detach*, Allocate*, Release*, Put*, PUT (HTTP method), POST (HTTP method to cloud product endpoints), Apply*, Bind*, Unbind*, Grant*, Revoke*
    • This includes RESTful calls like aliyun cs PUT /api/v2/clusters/... and RPC calls like aliyun slb add-access-control-list-entry
    • Remediation commands MUST appear ONLY as text in reports (marked "requires manual user execution"), NEVER as executed commands

Eval Validation Mapping (direct causes of skill validation failure):

  • Skipping env-check / list-accounts / init → Step pass rate fails
  • Using aliyun CLI as primary diagnosis when STAROps available → Forbidden action detected
  • Falling back to CLI without meeting trigger conditions → Step pass rate fails
  • Not generating report file before final answer → TestCase pass rate fails
  • Executing any cloud resource write operation (Create/Delete/Modify/Add/Stop/Restart/Set/Update via aliyun CLI) → Forbidden action detected (read-only violation)

alibabacloud-sre-toolkit

Alibaba Cloud SRE intelligent operations skill. Completes the full workflow via STAROps digital employees: env-check → [uid-select] → init → triage → diagnose → plan → self-validate → report.

Supported Environments: LLM frameworks (Eino / LangChain / LlamaIndex) and Agent runtimes (Qoder / Claude Code / Codex / Cursor, etc.).

The diagnostic/inspection workflow is read-only. No cloud resource write operations during diagnosis. Onboarding configuration (first-time setup) includes user-triggered CreateDigitalEmployee/DeleteDigitalEmployee actions. All remediation requires manual user execution.

Mandatory Command Sequence

⚠️ WARNING: These 5 steps are NON-NEGOTIABLE and MUST be executed in exact order. Substituting any step with direct aliyun CLI calls or skipping to Step 4/5 without completing Steps 1-3 is a critical workflow violation that invalidates the entire session.

For ANY SRE query, execute in exact order BEFORE any other action:

# Step 1: Environment check (always first)
python3 <skill-root>/scripts/session_manager.py env-check --cwd "$PWD"

# Step 2: List accounts (MUST — even single-account mode)
python3 <skill-root>/scripts/session_manager.py list-accounts --cwd "$PWD"

# Step 3: Initialize session
python3 <skill-root>/scripts/session_manager.py init --cwd "$PWD" --uid "<selected-UID>"

# Step 4: Create STAROps Thread (when STAROps available)
python3 <skill-root>/scripts/starops_manager.py create-thread --employee-id "<id>" --config "<config.json>" --uid "<uid>"

# Step 5: Send diagnostic query (SSE streaming)
python3 <skill-root>/scripts/starops_manager.py chat "<thread-id>" "<diagnostic-prompt>" --config "<config.json>" --uid "<uid>" --stream

These are NON-NEGOTIABLE. Do not substitute with direct aliyun CLI calls.

CLI Fallback Decision Tree

Default path is always STAROps. CLI fallback is ONLY permitted when:

# Condition Action
1 User explicitly states STAROps unavailable Skip STAROps → CLI fallback
2a `env-
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Alibabacloud Sre Toolkit?

Alibaba Cloud SRE skill for cloud infrastructure diagnosis, health inspection, capacity planning, incident response, and security audit, including scenarios where STAROps is unavailable and CLI fallback diagnosis is required. When users ask about ECS, ACK clusters, Pod issues, resource utilization, or fault troubleshooting, load this skill. Provides actionable SRE analysis reports and remediation recommendations via STAROps digital employees. Triggers: "sre-init", "sre-observability", "sre-incident", "sre-capacity", "sre-architecture", "sre-security", "巡检", "诊断", "容量规划", "故障排查", "安全审计", "健康巡检", "CrashLoopBackOff", "扩缩容", "资源利用率" Keywords: SRE operations, intelligent diagnostics, observability, monitoring, performance optimization, HA architecture, STAROps, Alibaba Cloud, ECS, ACK, Pod diagnostics, resource utilization, root cause analysis, scaling recommendations

Как установить скилл Alibabacloud Sre Toolkit?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Alibabacloud Sre Toolkit запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Alibabacloud Sre Toolkit с