KWDB Intelligent Inspection
Run KaiwuDB inspection and health-check tasks. Use this skill for database health checks, metrics collection, anomaly detection, and inspection report generation.
KWDB
@kwdb
What This Skill Does
Runs KaiwuDB database inspection and health checks by collecting metrics, detecting anomalies, and generating structured reports. Requires user confirmation of target nodes and ports before proceeding.
Replaces manual database health checks and ad-hoc metric collection with a guided, rule-based inspection workflow that produces standardized reports.
When to Use It
- Check overall health of a KaiwuDB cluster
- Collect and review database performance metrics
- Detect anomalies in KaiwuDB metrics with custom or default rules
- Generate a structured inspection report for a KaiwuDB deployment
- Verify port connectivity and TLS status before running database diagnostics
Install
$ openclaw skills install @kwdb/kwdb-intelligent-inspectionCritical Constraints (non-negotiable)
❝ Never skip Step 1. Collecting metrics before confirming node addresses, ports, and inspection scope with the user is forbidden. The inspection must not proceed until the user explicitly confirms the node addresses, ports, and inspection scope. ❞
❝ Never call a script without reading its usage doc first. Before running any script under scripts/, you MUST read the corresponding references/*-script-usage.md file. This is the only way to know the correct parameters, defaults, and required arguments. Guessing parameters is forbidden. ❞
❝ Anomaly rules are user-driven. If user does not request alerting, skip alerting. If user requests alerting without specific thresholds, apply default rules from references/anomaly-rules.md. If user provides custom thresholds, use those instead. ❞
Workflow
Step 1: Confirm target and scope
Before collecting any metrics, follow references/inspection-requirements-confirmation.md EXACTLY in order:
- Parse user intent → confirm target (host, ports)
- Probe connectivity → verify ports reachable (see
references/inspection-port-listening-reference.md) - TLS mode detection → determine if inspection supported
- Present scope menu → user confirms before proceeding
Step 2: Collect metrics
MANDATORY: Read the script usage doc BEFORE calling any script.
references/ts-metrics-script-usage.md— forget_kwdb_ts_metrics.pyreferences/statements-script-usage.md— forget_kwdb_statements.py
Do not call any script without first reading its usage doc. Verify the parameter names, required arguments, and defaults match what you are about to pass.
- Port listener status: Use Step 1 connectivity probe results.
- Most metrics: Use
scripts/get_kwdb_ts_metrics.pyperreferences/ts-metrics-script-usage.md. - Slow queries: Use
scripts/get_kwdb_statements.pyperreferences/statements-script-usage.md.
Step 3: Apply anomaly rules
Apply anomaly judgment rules only when user requests alerting. See references/anomaly-rules.md for default rules and configurable rules.
Step 4: Generate report
Produce a Markdown inspection report with metric values, anomaly judgments, and data-source notes per references/output-rules.md.
Anomaly Rules
See references/anomaly-rules.md for default rules and configurable rules.
Output Rules
See references/output-rules.md — do not deviate from these rules when producing any inspection report.
Limitations
- Windows is not supported: This skill does not support Windows operating systems.
- TLS mode inspection is not supported: This skill does not support inspecting KaiwuDB deployed with TLS mode enabled.
Top skills in this category
Nano Pdf
@steipeteEdit PDFs with natural-language instructions using the nano-pdf CLI.
Word / DOCX
@ivangdavilaCreate, inspect, and edit Microsoft Word documents and DOCX files with reliable styles, numbering, tracked changes, tables, sections, and compatibility check...
Excel / XLSX
@ivangdavilaCreate, inspect, and edit Microsoft Excel workbooks and XLSX files with reliable formulas, dates, types, formatting, recalculation, and template preservation...
Markdown Converter
@steipeteConvert documents and files to Markdown using markitdown. Use when converting PDF, Word (.docx), PowerPoint (.pptx), Excel (.xlsx, .xls), HTML, CSV, JSON, XML, images (with EXIF/OCR), audio (with transcription), ZIP archives, YouTube URLs, or EPubs to Markdown format for LLM processing or text analysis.
Powerpoint / PPTX
@ivangdavilaCreate, inspect, and edit Microsoft PowerPoint presentations and PPTX decks with reliable layouts, templates, placeholders, notes, charts, and visual QA. Use...