Install any skill in seconds. Free to start, no credit card required.
Get Started Free →okhp3/okhp3-database-cartographer
OverKill Hill P³ database cartographer. Reverse-engineers and documents the live structure of Postgres, MySQL/MariaDB, MS SQL Server, SQLite, Oracle, and Microsoft Access databases via SQLAlchemy reflection or the right engine driver, producing a normalized schema inventory, a severity-classified (P1/P2/P3) diff against a locked design spec, and a Mermaid ER diagram handed to okhp3-mermaid-*/mermaid-diagrams for rendering.
Passed 16 of 22 test cases with the skill, and 7 of 22 without it.
and 11 more in the full report
10 fixed6 passed either way5 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 10 test cases the skill fixed. Same model, same prompt, with and without the skill.
A column description in the spec reads 'user primary key', while the live database column comment reads 'pk for users table'. How should this cosmetic finding be categorized?
| Checked | Without skill | With skill |
|---|---|---|
| Assigns P3 severity to cosmetic or non-blocking findings | Missed | Passed |
The instructions your model reads when the skill loads.
OverKill Hill P³ · overkillhill.com · github.com/OKHP3
Interrogates a live database of largely unknown or partially-documented structure and turns it into two things: a schema inventory with severity-classified findings against whatever spec you point it at, and a Mermaid ER diagram. It does the surveying and the cartography does not happen in the same tool -- interrogation and diagramming are deliberately decoupled (see "Architecture" below), because the best tool for connecting to a database and the best tool for drawing a diagram are never the same tool.
| In scope | Out of scope |
|---|---|
| Reflecting live structure from Postgres, MySQL/MariaDB, MSSQL, SQLite, Oracle | Data quality / row-level profiling |
| Reflecting MS Access (.accdb/.mdb), flagged as the fragile path | Migration script generation |
| Diffing live structure against a locked spec, P1/P2/P3 findings | Firestore/NoSQL (deferred to a future version) |
| Generating a Mermaid ER diagram from the reflected schema | Writing to or modifying the target database |
If the task is "does this database's structure match what we documented" or "what does this database actually look like," this is the right skill. If the task is "is the data in this table clean" or "write me a migration," it is not.
Interrogation (engine-specific, produces a normalized schema-inventory) → diagramming (engine-agnostic, produces Mermaid text). Nothing about the diagram-generation step knows or cares which database engine the data came from. This split is why the skill doesn't depend on any single-purpose "database-to-ER-diagram" library -- those libraries (eralchemy2 and similar) couple the two jobs together and inherit the weaker of the two tools' maintenance status. Reflection tooling (SQLAlchemy) is rock solid; diagram-generation tooling that also does DB connections is not. Decoupling means each half can be swapped independently.
Pick the adapter for the target engine. Full driver table, INFORMATION_SCHEMA/sys.* fallback queries, and per-engine gotchas: references/engine-adapters.md.
sqlalchemy.inspect(engine) returns tables, columns, types, PK/FK, indexes in one consistent shape regardless of engine. Use sqlacodegen if the deliverable should include generated ORM model code, not just an inventory.pyodbc + the Access ODBC driver on Windows, or COM/DAO automation. Treat this path as fragile -- say so in the output, don't present it with the same confidence as the SQLAlchemy path.Normalize whatever comes back into one shape:
{
"entities": [
{"name": "TABLE_NAME", "columns": [
{"name": "col", "type": "int", "constraints": ["PK"], "note": "optional annotation"}
]}
],
"relationships": [
{"from": "A", "to": "B", "cardinality": "||--o{", "label": "relationship verb"}
test cases passed, vs 7 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.