
Schema Exploration
langchain-ai/deepagentsOfficial
Catalog summary of database schema exploration: listing tables, column types, and foreign keys before querying.
- CCM score
- 68 of 100
- skills.sh installs
- 1.3K
- GitHub stars
- 31.5K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the schema workflow: list all tables, inspect columns and types, identify keys, and map entity relationships
- Includes
sql_db_list_tablesfor the full table inventory andsql_db_schemafor columns, types, three sample rows, and key details - Maps relationships by reading
Idsuffix columns and tracing parent-child links through a join path before answering - Designed for analysts and developers who need to understand unfamiliar database structure before writing queries
Install
$ npx -y skills add langchain-ai/deepagents --skill schema-exploration -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Schema Exploration Skill
Workflow
1. List All Tables
Use sql_db_list_tables tool to see all available tables in the database.
This returns the complete list of tables you can query.
2. Get Schema for Specific Tables
Use sql_db_schema tool with table names to examine:
- Column names - What fields are available
- Data types - INTEGER, TEXT, DATETIME, etc.
- Sample data - 3 example rows to understand content
- Primary keys - Unique identifiers for rows
- Foreign keys - Relationships to other tables
3. Map Relationships
Identify how tables connect:
- Look for columns ending in "Id" (e.g., CustomerId, ArtistId)
- Foreign keys link to primary keys in other tables
- Document parent-child relationships
4. Answer the Question
Provide clear information about:
- Available tables and their purpose
- Column names and what they contain
- How tables relate to each other
- Sample data to illustrate content
Example: "What tables are available?"
Step 1: Use sql_db_list_tables
Details
- Repository
- github.com/langchain-ai/deepagents
- Categories
- Databases, Data Science & Analytics
- First seen
- May 16, 2026
More from langchain-ai/deepagents
All 12Similar to Schema Exploration
More Databases
dbhubSkillbytebase/dbhub714 installsExplore-first guide for querying databases through DBHub's MCP tools, with schema discovery before any SQL runs.
MCP Toolbox for DatabasesMCP servergoogleapis16.9K starsConnects agents to enterprise databases for schema exploration and SQL execution across many engines.
MCP Alchemy ServerMCP serverrunekaagaard421 starsRead-only schema and query access to relational databases: SQLite, PostgreSQL, MySQL, and more.
database-schema-documentationSkillaj-geddes/useful-ai-prompts579 installsStructured documentation toolkit for database schemas, covering ERD diagrams, table definitions, and data dictionaries.
sql-queriesSkillphuryn/pm-skills3K installsNatural-language to SQL generator that reads schema files and targets BigQuery, PostgreSQL, MySQL, and other dialects.
database-schema-designerSkillsoftaworks/agent-toolkit4.4K installsSchema design guide covering normalization, indexing, constraints, migrations, and anti-patterns for SQL and NoSQL databases.