Use when the user needs to integrate OpenClaw with Alibaba Cloud SLS/Observability, including collector setup, machine groups, indexes, dashboards, collection configs, or Logtail bindings on Linux.
Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Use when the user needs to integrate OpenClaw with Alibaba Cloud SLS/Observability, including collector setup, machine groups, indexes, dashboards, collection configs, or Logtail bindings on Linux.
This skill provisions Alibaba Cloud SLS observability for OpenClaw on Linux and keeps reruns safe.
At a high level, execute this flow:
Check and install aliyun CLI (install latest when missing)
Install LoongCollector by project region (skip if already running)
Create an identifier-based machine group (local identifier + cloud machine group)
Create logstore index and dashboards
Create logstore collection config
Bind the collection config to the machine group
Capture Intent Before Execution
Before running commands, make sure the user intent is complete:
Confirm the target PROJECT and LOGSTORE.
Confirm Linux host access with sudo available.
Confirm AK/SK are already exported in environment variables.
If any required input is missing, ask for it first and do not run partial setup.
Prerequisites
Required:
PROJECT: SLS project name
LOGSTORE: SLS logstore name
Read from environment variables:
ALIBABACLOUD_ACCESS_KEY_ID
ALIBABACLOUD_ACCESS_KEY_SECRET
ALIYUN_UID (used for the local UID file under /etc/ilogtail/users)
Recommended optional:
ALIBABACLOUD_REGION_ID (auto-resolved from PROJECT when not set)
If you use different AK/SK variable names, export them to these standard names first.
Expected Result
After successful execution, the environment should contain:
Running LoongCollector (or ilogtaild) on the host
Machine group openclaw-sls-collector
Logstore index created on the target LOGSTORE
Dashboards openclaw-audit and openclaw-gateway
Collection config openclaw-audit_${LOGSTORE}
Config binding between openclaw-audit_${LOGSTORE} and openclaw-sls-collector
One-Time Execution Flow (Idempotent)
The commands below are designed as "exists -> skip" and are safe to rerun.
Strict template mode: for index/config/dashboard payloads, always read from files in references/.
Do not handcraft or simplify JSON bodies beyond required placeholder replacement.