# datahub-sql-workflow

> Claude/Codex skill by [@datahub-project](https://omgskills.com/library/datahub-project/index.md) · 1 stars · Updated 2026-10-16

Ground text-to-SQL work in DataHub catalog evidence. Use when a user asks to write, draft, debug, or execute SQL; answer a data question that requires SQL; calculate a metric; query named tables; or investigate SQL results with DataHub MCP tools available. Always begin with find\_sql\_context, even when the user already supplied tables or dataset URNs.

## Install

```sh
git clone https://github.com/datahub-project/datahub-cloud-ai-plugins /tmp/datahub-cloud-ai-plugins && ln -s /tmp/datahub-cloud-ai-plugins/skills/datahub-sql-workflow ~/.claude/skills/datahub-sql-workflow
```

## From README

DataHub SQL Workflow This plugin is MCP-only There is no DataHub CLI here. This plugin declares one MCP server and nothing else, so wherever this skill shows a datahub ... command, use the MCP tool with the same function instead: | CLI shown below | MCP tool | | --- | --- | | datahub search | search | | datahub get | getentities | | datahub lineage | getlineage, or getlineagepathsbetween for a path | | datahub graphql | no equivalent — the operation is unavailable, say so | | datahub check | getme | Tool names are prefixed by the server (mcpdatahubsearch). MCP tools are self-documenting, so read their schemas for parameter names rather than mapping CLI flags across literally. Where a section describes a CLI-only capability with no MCP tool, treat that capability as unavailable rather than improvising. Ground every query in DataHub evidence.

## Links

- HTML page: https://omgskills.com/library/datahub-project/datahub-cloud-ai-plugins/skills/datahub-sql-workflow/
- GitHub: https://github.com/datahub-project/datahub-cloud-ai-plugins
- Author: [@datahub-project](https://omgskills.com/library/datahub-project/index.md)

## More from this repo

- [datahub-lineage](https://omgskills.com/library/datahub-project/datahub-cloud-ai-plugins/skills/datahub-lineage/index.md) — Used when the user wants to explore lineage, trace data dependencies, perform impact analysis, find root causes, map...
   - [@datahub-project](https://omgskills.com/library/datahub-project/index.md) · 1 stars
- [datahub-quality](https://omgskills.com/library/datahub-project/datahub-cloud-ai-plugins/skills/datahub-quality/index.md) — Used when the user wants to manage data quality in DataHub: create or run assertions, check assertion outcomes, raise...
   - [@datahub-project](https://omgskills.com/library/datahub-project/index.md) · 1 stars
- [datahub-search](https://omgskills.com/library/datahub-project/datahub-cloud-ai-plugins/skills/datahub-search/index.md) — Used to search and explore the DataHub Cloud data catalog — find datasets, dashboards, pipelines, columns, owners,...
   - [@datahub-project](https://omgskills.com/library/datahub-project/index.md) · 1 stars
