← Back to Skills Marketplace
kofna3369

Axiom Sql Formatter

by Kofna3369 · GitHub ↗ · v0.1.2 · MIT-0
cross-platform ✓ Security Clean
43
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install axiom-sql-formatter
Description
Formats SQL queries with uppercase keywords, consistent indentation, aligned clauses, and preserved string literals for improved readability.
README (SKILL.md)

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

Usage Guidance
Reasonable to install if you want a simple local SQL formatter. Treat it as formatting only, not SQL validation or parsing, and note that a few README/SKILL examples may not match the actual CLI options.
Capability Assessment
Purpose & Capability
The artifacts consistently present a SQL formatting utility, and the Python code tokenizes input, uppercases keywords, adds line breaks, and prints formatted text without executing SQL.
Instruction Scope
Instructions are mostly aligned, but some documentation overstates support for options such as --indent, configurable keyword lists, and 20+ tests; this is a quality mismatch, not a security concern.
Install Mechanism
No installer, package manager hook, shell bootstrap, or background setup behavior is present.
Credentials
The runtime uses Python standard-library modules only and reads either command-line SQL text or a user-specified local file for formatting.
Persistence & Privilege
No persistence, privilege escalation, credential/session access, destructive filesystem writes, subprocess execution, or network access was found.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install axiom-sql-formatter
  3. After installation, invoke the skill by name or use /axiom-sql-formatter
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.2
Initial publish: SQL formatter. Uppercase keywords, indent, align. No parsing, no execution.
Metadata
Slug axiom-sql-formatter
Version 0.1.2
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

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.

💬 Comments