A pure Python CLI tool to format, minify, and lint SQL queries with zero external dependencies.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install sql-formatter
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 sql-formatter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
SQL Formatter is a specialized utility within the Openclaw Skills ecosystem designed to bring consistency and quality to your SQL codebases. It provides a lightweight, pure Python solution for handling SQL transformations without the overhead of heavy library dependencies. Whether you are prepping queries for production or cleaning up legacy scripts, this tool ensures your SQL follows industry-standard formatting.
Integrating this tool into your Openclaw Skills setup allows for automated SQL cleanup during the development lifecycle. It handles complex SQL syntax including SELECT, INSERT, UPDATE, DELETE, and CTEs (Common Table Expressions). By leveraging this skill, developers can maintain a professional code standard across multiple database dialects without needing complex third-party software.
To start using this tool with your Openclaw Skills, ensure you have Python 3 installed. No external pip packages are required.
# Download or locate the script
python3 scripts/sql_format.py --help
# Basic formatting check
python3 scripts/sql_format.py format --sql "SELECT * FROM users"
The SQL Formatter manages data through standard input/output and can generate structured reports for integration with other Openclaw Skills.
| Feature | Description |
|---|---|
| Input Types | Raw strings via --sql, file paths via --input, or STDIN (-) |
| Output Formats | Formatted SQL text, minified SQL strings, or structured JSON linting reports |
| Configuration | CLI flags for --indent (integer) and casing options like --lowercase |
| Linting Checks | Detects SELECT *, inconsistent casing, trailing whitespace, and long lines |
--json flag to integrate with other automation tools in the Openclaw Skills ecosystem.echo "..." | script) for real-time SQL processing in terminal-heavy workflows.Loading
A comprehensive guide for AI agents to master professional Git command-line operations and GitHub repository lifecycle management.

Bona Movie Production is a professional-grade AI creative suite for high-fidelity image editing and cinematic video generation.

A zero-dependency reference tool providing instant access to performance patterns, debugging guides, and development best practices.

A local reference tool designed to provide instant access to ORM Builder concepts, implementation patterns, and best practices directly within your devtools environment.

An advanced AI agent skill designed to transform text or articles into professional, engagement-optimized Xiaohongshu infographic series.

A comprehensive crypto intelligence and onchain data orchestration skill powered by the Hive Intelligence MCP layer.








































