A powerful NL2SQL engine that generates secure SQL queries and interactive HTML dashboards using ECharts for multiple database dialects.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install data-query
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install data-query using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The data-query skill is a specialized tool within the Openclaw Skills framework designed to bridge the gap between natural language questions and database insights. It provides advanced NL2SQL capabilities, enabling AI agents to translate complex user queries into accurate SQL statements for MySQL, Oracle, and Dameng (DM) databases.\n\nBeyond simple querying, this skill excels at creating production-ready visualization pages. It automatically generates ECharts-based HTML dashboards (Cockpits) that include KPI cards, scatter plots, timelines, and kanban boards. With built-in AES-256-CBC encryption for SQL queries embedded in the frontend, it ensures that your data exploration remains secure and compliant with enterprise standards.
Ensure you have the required database drivers installed (dmPython for DM, pyodbc for Oracle). Configure the credentials in the local config file.\n\nSet environment variables for your database type:\nbash\nexport DB_TYPE=dm\nexport DB_HOST=192.168.1.100\nexport DB_PORT=5236\nexport DB_NAME=ACM\nexport DB_USER=SYSDBA\nexport DB_PASSWORD=your_password\n\n\nInitialize the knowledge base by scanning your table structures for Openclaw Skills optimization:\nbash\ncd scripts/knowledge\npython3 generate.py --apply --target tables\n
The skill manages a structured knowledge base to map business domains to database entities. This ensures high accuracy in Openclaw Skills deployments.\n\n| File | Path | Purpose |\n|---|---|---|\n| Field Mappings | knowledge/{dbType}/field_mapping.json | Maps database columns to Chinese names and enum values. |\n| Table Structures | knowledge/{dbType}/tables.json | Stores the physical schema metadata for SQL generation. |\n| KPI Formulas | knowledge/shared/kpi_formulas.json | Defines calculation logic for health scores and progress. |\n| Domain Evolution | knowledge/shared/evolved_domains.json | Persists learned mappings between user terms and tables. |
Loading
VideoClaw Pro is an advanced AI assistant that transforms Feishu documents and livestream materials into structured, professional video editing scripts.

A specialized AI agent skill for querying real-time jewelry wholesale inventory and estimating gold prices directly from the Shenzhen Shuibei market.

An advanced tool for Openclaw Skills that detects robotic AI writing patterns and rewrites text to sound natural, specific, and authentically human.

A specialized travel skill for AI agents to locate and book autumn foliage trips using real-time data from the flyai CLI.

A powerful news aggregation skill that fetches, ranks, and summarizes the latest trending topics across multiple sources using AI.

A specialized tool for enabling and managing native Microsoft Word Track Changes using OpenXML to maintain visible, auditable edit histories in DOCX files.








































