8.4kā
by lxgicstudios
sql-check ā OpenClaw Skill
sql-check is an OpenClaw Skills integration for data analytics workflows. Analyze SQL queries for performance and security issues
Skill Snapshot
| name | sql-check |
| description | Analyze SQL queries for performance and security issues OpenClaw Skills integration. |
| owner | lxgicstudios |
| repository | lxgicstudios/ai-sql-check |
| language | Markdown |
| license | MIT |
| topics | |
| security | L1 |
| install | openclaw add @lxgicstudios/ai-sql-check |
| last updated | Feb 7, 2026 |
Maintainer

name: sql-check description: Analyze SQL queries for performance and security issues
SQL Checker
Paste your SQL, get performance tips and security warnings. Catches N+1s and injection risks.
Quick Start
npx ai-sql-check "SELECT * FROM users WHERE name LIKE '%john%'"
What It Does
- Identifies performance issues
- Flags SQL injection risks
- Suggests missing indexes
- Warns about N+1 queries
Usage Examples
# Check a query
npx ai-sql-check "SELECT * FROM orders WHERE status = 'pending'"
# Check from file
npx ai-sql-check --file ./queries/report.sql
# With schema for better analysis
npx ai-sql-check --file query.sql --schema ./schema.sql
Issues It Catches
- SELECT * anti-pattern
- Missing WHERE clause
- Unindexed columns in WHERE
- LIKE with leading wildcard
- Cartesian joins
- SQL injection patterns
Output Example
ā ļø Performance Issues:
- SELECT * returns unnecessary columns
- LIKE '%john%' can't use index
š Security Issues:
- None detected
š” Suggestions:
- Add index on users(name)
- Select only needed columns
Requirements
Node.js 18+. OPENAI_API_KEY required.
License
MIT. Free forever.
Built by LXGIC Studios
- GitHub: github.com/lxgicstudios/ai-sql-check
- Twitter: @lxgicstudios
No README available.
Permissions & Security
Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.
Requirements
Node.js 18+. OPENAI_API_KEY required.
FAQ
How do I install sql-check?
Run openclaw add @lxgicstudios/ai-sql-check in your terminal. This installs sql-check into your OpenClaw Skills catalog.
Does this skill run locally or in the cloud?
OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.
Where can I verify the source code?
The source repository is available at https://github.com/openclaw/skills/tree/main/skills/lxgicstudios/ai-sql-check. Review commits and README documentation before installing.
