← 返回
未分类

KWDB Intelligent Inspection

Run KaiwuDB inspection and health-check tasks. Use this skill for database health checks, metrics collection, anomaly detection, and inspection report genera...
运行 KaiwuDB 检查和健康检查任务。使用此技能进行数据库健康检查、指标收集、异常检测和检查报告生成...
kwdb
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 246
下载
💾 0
安装
1
版本
#kwdb#latest#ready

概述

Critical 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:

  1. Parse user intent → confirm target (host, ports)
  2. Probe connectivity → verify ports reachable (see references/inspection-port-listening-reference.md)
  3. TLS mode detection → determine if inspection supported
  4. 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 — for get_kwdb_ts_metrics.py
  • references/statements-script-usage.md — for get_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.py per references/ts-metrics-script-usage.md.
  • Slow queries: Use scripts/get_kwdb_statements.py per references/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.mddo 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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 15:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

KWDB Install

kwdb
当用户想安装或部署 KaiwuDB(kwdb、kaiwudb)时触发,帮助用户完成基于脚本的集群部署,包括配置。
★ 0 📥 247

KWDB Shema Design

kwdb
为关系型、时序和混合工作负载设计 KWDB 模式及最小 DDL。
★ 0 📥 236

KWDB Text-to-SQL

kwdb
将自然语言查询转换为KWDB SQL,用于时序数据、关系数据及跨模型分析。当用户请求查询KWDB时使用此技能。
★ 0 📥 234