Agent skill
sql-executor
对SQLite、PostgreSQL、MySQL数据库执行SQL查询,支持结果格式化和导出。
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/sql-executor
Metadata
Additional technical details for this skill
- short description
- 执行SQL查询
SKILL.md
SQL Executor Tool
Description
Execute SQL queries against various databases with formatted output and export capabilities.
Trigger
/sqlcommand- 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: ✅
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?