ClipMarts

SQL Query Builder

Natural language to optimized SQL with safety checks

$9Starter SkillFor specialists, founders, and lean teams

What is SQL Query Builder?

Skill for translating natural language questions into optimized SQL queries. Supports PostgreSQL, MySQL, and SQLite. Includes query optimization tips and safety checks.

Setup Time

1 min

Difficulty

Beginner

Works With
paperclipclaude-code

What's Included

  • sql-query-builder.md
  • examples/postgresql-queries.md
  • examples/mysql-queries.md
  • examples/sqlite-queries.md
  • config/safety-checks.yaml
  • README.md

Preview

sql-query-builder.md
# SQL Query Builder Skill

## Translation Protocol
1. Restate the question in plain English
2. Identify: tables, columns, joins, filters, aggregations
3. Write the query with comments explaining each section

## Safety Checks (always apply)
- [ ] No DELETE or DROP without explicit confirmation
- [ ] WHERE clause present on UPDATE statements
- [ ] LIMIT clause on exploratory SELECT queries
- [ ] JOIN conditions specified (no accidental cross joins)

## Optimization Tips
- Use EXISTS instead of IN for subqueries
- Index columns used in WHERE and JOIN conditions
- Avoid SELECT * in production queries
- Use EXPLAIN ANALYZE to verify query plans

Installation Guide

terminal
$ paperclipai skill import --from ./sql-query-builder/
Skill imported successfully.

One command to import — then assign to any agent in your company.

Option A: CLI (recommended)

1

Download and extract the ZIP

unzip sql-query-builder.zip
2

Import the skill

paperclipai skill import --from ./sql-query-builder/
3

Assign to an agent

# Via CLI:
paperclipai agent update <agent-name> --add-skill sql-query-builder

# Or in the dashboard:
# Agents → [agent name] → Skills → Add "SQL Query Builder"

Option B: Dashboard UI

1

Open Skills page

Navigate to Skills → Import Skill

2

Upload the product folder

From the extracted ZIP, upload the sql-query-builder/ directory containing SKILL.md.

3

Assign to agents

Go to Agents → [agent] → Skills and add "SQL Query Builder" from the list.

Share
Files included6
Setup time1 min
Difficultybeginner

Tags

sqldatabasequeriespostgresqlmysqldata