Install
openclaw skills install @sdk-team/alibabacloud-alinux-sysom-inspectionInspect ECS instance health, detect anomalies in memory, disk, CPU, load, and resource leaks, and automatically trigger deep diagnosis when critical memory issues are detected. Suitable for routine inspections, troubleshooting, and risk warning scenarios. Trigger keywords: SysOM, inspection, instance diagnosis, memory_usage_rate, memory usage.
openclaw skills install @sdk-team/alibabacloud-alinux-sysom-inspectionsysom-inspection)Run ./scripts/osops.sh from the skill root directory.
Currently implemented command:
inspectioncd <alibabacloud-alinux-sysom-inspection>
./scripts/init.sh
./scripts/osops.sh inspection \
--region-id cn-hangzhou \
--managed-type all
AlibabaCloud-Agent-Skills/{SKILL_NAME}/{session-id}AlibabaCloud-Agent-Skills/alibabacloud-alinux-sysom-inspection/<SKILL_SESSION_ID>SKILL_SESSION_ID must be reused across all API calls in one CLI execution.SKILL_SESSION_ID (preferred) -> auto-generated fallback sid-<uuid4>.[A-Za-z0-9][A-Za-z0-9._:-]{7,127}; invalid injected values fall back to generated id.SKILL_SESSION_ID to keep downstream calls consistent.POST /api/v1/openapi/initial_sysom (source=skill_hub) to verify permissions and SysOM activation.InitialSysom(check_only=false, source=skill_hub) for activation, then calls InstallAgentWithType.InitialSysom(check_only=true, source=skill_hub). Inspection continues only when re-check succeeds.--instance-id is not provided, the CLI calls ListAllInstances (region / instanceType=ecs / managedType / current / pageSize) and lets the user pick an instance interactively.POST /api/v1/inspection/createInstanceInspection with source=skill_hub, and supports optional metricSource (cms / sysom / auto).--metric-source is not explicitly provided, the CLI maps automatically from management status: managed -> sysom, unmanaged -> cms, unknown -> auto.items=[] (in CLI, provide an explicit empty --inspection-items).InvalidAction.NotFound, the CLI marks the API as unavailable and stops follow-up flow to avoid invalid retries.GET /api/v1/inspection/getInspectionReport.GetInspectionReport probe call and records the result for observability.sysom:metric:memory_usage_rate anomaly, the CLI automatically triggers InvokeDiagnosis for memgraph.InvokeDiagnosis injects __sysom_diagnosis_source=skill_hub into params and validates business code=Success.GetDiagnosisResult until success / fail / timeout.--disable-memgraph-diagnosis.--inspection-items.--managed-type (managed / unmanaged / all) and pagination args --current, --page-size.--metric-source (cms / sysom / auto); if omitted, default behavior is preserved.InitialSysom indicates not activated, the CLI asks for terminal confirmation before activation attempt + recheck.scripts/sysom_cli/inspection/command.py.InvokeDiagnosis integration pattern.