SQL Spider

Build a deterministic dependency graph of SQL tables, views, procedures, functions, and triggers, then spider outward from a seed until the requested dependency frontier is closed. Use for "map this database", "what references table X", "what does proc Y touch", "find the closure around this table", "spider the schema", or "I cannot connect directly, give me queries I can run". The engine never opens a database connection: it emits READ-ONLY queries and ingests CSV results, so you, the agent, are the adapter. Run each query through whatever database access exists, feed the result back, and drive the loop to closure. SQL is parsed deterministically into an AST rather than guessed. T-SQL and SQLite ship; other dialects are adapters. Use `--graphify` to project a closed graph into graphify for community detection, query, path, and explain.

royashbrook Updated

File contents

royashbrook/sql-spider/tree/main/ commit eae5334ff1

Frequently asked questions

npx skillmds@latest add royashbrook/sql-spider