/install axiom-sql-formatter
axiom-sql-formatter
Version: 0.1.2 Axioma Tools
Formats SQL queries with consistent style without parsing or executing them.
What this skill does
- Uppercase SQL keywords (SELECT, FROM, WHERE, etc.)
- Consistent indentation (4 spaces or configurable)
- Newline before major clauses
- Single-quote string preservation
- Configurable keyword list
When to use this skill
- ✅ Format raw SQL for readability
- ✅ Standardize team SQL style
- ✅ Pre-process before code review
- ❌ Parse SQL into AST (use sqlparse)
- ❌ Validate SQL syntax (use EXPLAIN)
Usage
python3 axiom_sql_formatter.py query.sql
python3 axiom_sql_formatter.py --indent 2 query.sql
from axiom_sql_formatter import format_sql
formatted = format_sql('select a,b from t where x=1')
# 'SELECT a, b\
FROM t\
WHERE x = 1'
Validation
| Check | Status |
|---|---|
| Unit tests | 20+ cases |
| Performance | \x3C100ms |
| Security | Pure stdlib, no injection |
| Determinism | Byte-to-byte stable |
| License | Apache-2.0 |
Last updated: 2026-06-14
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install axiom-sql-formatter - After installation, invoke the skill by name or use
/axiom-sql-formatter - Provide required inputs per the skill's parameter spec and get structured output
What is Axiom Sql Formatter?
Formats SQL queries with uppercase keywords, consistent indentation, aligned clauses, and preserved string literals for improved readability. It is an AI Agent Skill for Claude Code / OpenClaw, with 43 downloads so far.
How do I install Axiom Sql Formatter?
Run "/install axiom-sql-formatter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Axiom Sql Formatter free?
Yes, Axiom Sql Formatter is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Axiom Sql Formatter support?
Axiom Sql Formatter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Axiom Sql Formatter?
It is built and maintained by Kofna3369 (@kofna3369); the current version is v0.1.2.