Skip to content
Q

query-writing

Writes and executes SQL queries from simple SELECTs

by langchain-aiFree

#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

W

write-query

Write optimized SQL for your dialect with best practices

AI Skills
Get
S

sql-queries

Generate SQL queries from natural language descriptions

AI Skills
Get
S

sql-pro

Optimizes SQL queries, designs database schemas

AI Skills
Get
A

analyzing-data

Queries the data warehouse with SQL and answers business questions about data

AI Skills
Get
D

data-analyst

SQL, pandas, and statistical analysis expertise for data exploration

AI Skills
Get
D

database-skills

Database design, queries and schema changes

AI Skills
Get

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 write-query, sql-queries and sql-pro. See all query-writing alternatives

Developer Stuff

Badges