skills$openclaw/sql-check
lxgicstudios8.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

8.4k stars9.3k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

namesql-check
descriptionAnalyze SQL queries for performance and security issues OpenClaw Skills integration.
ownerlxgicstudios
repositorylxgicstudios/ai-sql-check
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @lxgicstudios/ai-sql-check
last updatedFeb 7, 2026

Maintainer

lxgicstudios

lxgicstudios

Maintains sql-check in the OpenClaw Skills directory.

View GitHub profile
File Explorer
2 files
.
_meta.json
467 B
SKILL.md
1.3 KB
SKILL.md

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

README.md

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.