npx skills add ...
npx skills add langchain-ai/deepagents --skill schema-exploration
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
npx skills add langchain-ai/deepagents --skill schema-exploration
Use sql_db_list_tables tool to see all available tables in the database.
This returns the complete list of tables you can query.
Use sql_db_schema tool with table names to examine:
Identify how tables connect:
Provide clear information about:
Step 1: Use sql_db_list_tables
Response:
Step 1: Use sql_db_schema with table name "Customer"
Response:
Step 1: Identify tables needed
Step 2: Map relationships
Response:
For "list tables" questions:
For "describe table" questions:
For "how do I query X" questions: