Skip to content
Q

query-writing

Writes and executes SQL queries from simple SELECTs

by langchain-aiFree

Launch
#2393in AI Skills
0In stores

Description

query-writing is an agent skill from the langchain-ai deepagents project, listed on skills.sh. It writes and runs SQL queries, from simple S…

Highlights

  • Simple SELECT and complex joins
  • Reads the schema before writing
  • Runs queries with the SQL tools
  • Presents results clearly

Ratings & Reviews

No ratings yet

Be the first to rate query-writing.

People also visit

C

clickhouse-io

ClickHouse database patterns, query optimization, analytics

AI Skills
Launch
M

mysql-patterns

MySQL and MariaDB schema, query, indexing, transaction, replication

AI Skills
Launch
P

postgres-patterns

PostgreSQL database patterns for query optimization, schema design, indexing

AI Skills
Launch
S

schema-exploration

Lists tables, describes columns and data types

AI Skills
Launch
D

database-migrations

Safe, reversible database migration patterns: forward-only production changes

AI Skills
Launch
J

jpa-patterns

JPA/Hibernate patterns for entity design, relationships, query optimization

AI Skills
Launch

query-writing FAQ

What does the query-writing skill do?

It writes and runs SQL queries for a database, from simple selects to multi-table joins and aggregations.

How do I install it?

Run: npx skills add https://github.com/langchain-ai/deepagents --skill query-writing

Does it check the schema first?

Yes. For simple queries it reads the table's schema with sql_db_schema before writing the query.

Which tools does it use?

The sql_db_schema tool to read the schema and sql_db_query to run the query.

Has it been checked for security?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

What are the best query-writing alternatives?

Popular alternatives to query-writing include clickhouse-io, mysql-patterns and postgres-patterns. See all query-writing alternatives

Developer Stuff

Badges