Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aidotnet avatar

Sql Executor

  • 29 installs
  • 84 repo stars
  • Updated January 28, 2026
  • aidotnet/moyucode

sql-executor is a Claude Code skill that executes SQL queries against SQLite, PostgreSQL, and MySQL databases with formatted output and CSV/JSON export.

About

sql-executor is a Claude Code skill that runs SQL queries against SQLite, PostgreSQL, and MySQL databases through a bundled Python script. It formats query output and can export results to CSV or JSON, or run a full SQL file. A developer uses it to inspect or extract data from a database during development.

  • Runs SQL queries against SQLite, PostgreSQL, and MySQL
  • Formats results and exports to CSV or JSON
  • Can execute queries from a file

Sql Executor by the numbers

  • 29 all-time installs (skills.sh)
  • Ranked #512 of 911 Databases skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

sql-executor capabilities & compatibility

Capabilities
sql query · csv export · json export
Works with
postgres · mysql
Use cases
database · data analysis
Pricing
Free
From the docs

What sql-executor says it does

Execute SQL queries against various databases with formatted output and export capabilities.
SKILL.md
python scripts/sql_executor.py database.db "SELECT * FROM orders" --output orders.csv
SKILL.md
`sql`, `database`, `sqlite`, `query`, `data`
SKILL.md
npx skills add https://github.com/aidotnet/moyucode --skill sql-executor

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs29
repo stars84
Last updatedJanuary 28, 2026
Repositoryaidotnet/moyucode

What it does

Run SQL queries against a SQLite, PostgreSQL, or MySQL database and export the results to CSV or JSON.

Who is it for?

Running ad-hoc SQL queries and exporting result sets during development.

Skip if: Building an ORM layer or managing schema migrations.

When should I use this skill?

You need to run a SQL query or export query results from a local database.

What you get

Returns formatted query results or an exported CSV/JSON file from a database.

  • formatted query output
  • CSV or JSON export of results

By the numbers

  • Supports 3 databases: SQLite, PostgreSQL, MySQL

Files

SKILL.mdMarkdownGitHub ↗

SQL Executor Tool

Description

Execute SQL queries against various databases with formatted output and export capabilities.

Trigger

  • /sql command
  • User needs to run database queries
  • User wants to export query results

Usage

# Query SQLite database
python scripts/sql_executor.py database.db "SELECT * FROM users"

# Export to CSV
python scripts/sql_executor.py database.db "SELECT * FROM orders" --output orders.csv

# Execute SQL file
python scripts/sql_executor.py database.db --file queries.sql

Tags

sql, database, sqlite, query, data

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Related skills

FAQ

Which databases does sql-executor support?

SQLite, PostgreSQL, and MySQL, per the skill description.

Can it export query results?

Yes, it can export to CSV or JSON via the --output flag.

Databasesdatabases

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.