Huawei Cloud DWS SQL Check is an Openclaw Skills utility that validates SQL syntax, standards, and DWS-specific compatibility before execution.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install huawei-cloud-dws-sql-check
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 huawei-cloud-dws-sql-check using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
DWS SQL Check is a local SQL quality gate for Huawei Cloud DWS that tokenizes, parses, and evaluates statements against grammar rules and development specifications. It catches unsupported keywords, malformed clauses, missing DISTRIBUTE BY definitions, risky DML patterns, and naming issues before SQL reaches a cluster.
Built for Openclaw Skills workflows, it runs offline with Python 3.8+ and no third-party packages, so teams can perform repeatable SQL linting without credentials or network access. The skill is especially useful for validating SELECT, CREATE TABLE, MERGE, and other DWS-specific statements with clear fix suggestions and report output.
~/.cac/skills/huawei-cloud-dws-sql-check/.scripts/ directory.python --version
python ~/.cac/skills/huawei-cloud-dws-sql-check/scripts/dws_sql_checker.py 'SELECT id, name FROM t1' all
python ~/.cac/skills/huawei-cloud-dws-sql-check/scripts/dws_sql_tokenizer.py 'SELECT * FROM t1'
python ~/.cac/skills/huawei-cloud-dws-sql-check/scripts/dws_sql_parser.py 'SELECT * FROM t1'
check_sql_markdown and embed the report in your own tooling.all mode for the most complete Openclaw Skills review of DWS SQL quality.| Key | Meaning |
|---|---|
| name | Skill display name |
| description | Capability summary |
| tags | huawei-cloud, dws, sql, check, lint |
| Layer | Artifact | Purpose |
|---|---|---|
| Input | SQL text + check_mode (syntax, spec, all) |
Defines the scope of analysis |
| Lexical layer | Token stream from dws_sql_tokenizer.py |
Converts SQL into DWS-aware tokens |
| Parse layer | AST from dws_sql_parser.py |
Represents statement structure for rule evaluation |
| Rule catalogs | rules/syntax_rules.yaml, rules/spec_rules.yaml, rules/perf_rules.yaml |
Stores rule IDs, severities, descriptions, and cluster requirements |
| Language model | rules/keywords.py, rules/grammar_rules.py |
Defines 594 keywords and 160+ statement types |
| Schema reference | references/ast_schema.md |
Documents AST node types and fields |
| Output | JSON or Markdown report | Emits summary, violations, positions, and fix suggestions |
SYN-ERR, SYN001-SYN019SPEC001-SPEC040PERF001-PERF011 (cluster-aware)ERROR, WARNING, INFOReports are emitted to stdout and can be saved or transformed by the caller for CI, review tools, or documentation pipelines.
Loading
Openclaw Skills extracts structured invoice and contract data from PDFs or images, validates key fields, and outputs clean JSON plus readable reports.

This Openclaw Skills compliance scan audits code repositories and data-processing workflows for privacy, security, and industry compliance risks, then returns audit-ready remediation guidance.

Openclaw Skills turns any image into a printable perler bead pattern with a color-coded grid, bead counts, and a preview PNG.

An automated browser-based scraper designed to extract paginated customer reviews and structured metadata directly from walmart.com.

An automated diagnostic skill designed to identify root causes of high memory usage and OOM issues in Huawei Cloud DWS clusters.

Openclaw Skills converts structured text and outlines into GB/T 9704-2012 compliant official Word documents with standardized styling and layout.








































