DataHub is an open-source metadata platform that catalogs data assets so people can find, understand, govern, and monitor data across an organization’s data ecosystem. Data teams use it for data discovery, governance, observability, and answering questions about cataloged data with an analytics agent.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add datahub-project/datahub --skill datahub-cligit clone --depth 1 https://github.com/datahub-project/datahubWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/datahub-project/datahub/datahub-cli)<a href="https://agentmods.dev/skills/datahub-project/datahub/datahub-cli"><img src="https://agentmods.dev/badge/skills/datahub-project/datahub/datahub-cli/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/datahub-project/datahub/datahub-cli"><img src="https://agentmods.dev/badge/skills/datahub-project/datahub/datahub-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.00514 |
| Opus 5.5 | $0.00021 | $0.00206 |
| Sonnet 5.5 | $0.00010 | $0.00103 |
| Haiku 4.5 | $0.00005 | $0.00051 |
Grade A, and why
datahub-cli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
DataHub CLI operations
Safety rules for profiles and writes live in root AGENTS.md, "DataHub CLI connection
profiles", and apply to every command here.
Common operations
These commands work against any DataHub instance — local dev, staging, or production.
Always address the instance through a named profile (--profile <name> on every command, see
the safety rules in root AGENTS.md). Environment variables are the fallback when no profile
exists, for example in CI; use https:// for anything that is not localhost:
export DATAHUB_GMS_URL='https://your-instance.example.com' # http://localhost:8080 for a local stack
export DATAHUB_GMS_TOKEN='your-token' # omit if auth is not required
Init (setup authentication)
datahub init --profile local writes the local connection to
~/.datahub/profiles/local/.datahubenv. Pass --profile local on subsequent commands.
# Quickstart: local instance with default credentials
datahub init --profile local --username datahub --password datahub
# Full agent best-practices guide (defaults, env vars, all scenarios)
datahub init --agent-context
GraphQL
datahub graphql executes queries and mutations against the DataHub GraphQL API and can
introspect the live schema to discover available operations.
# Discover what's available
datahub --profile local graphql --list-operations --format json
# Inspect a specific operation's arguments
datahub --profile local graphql --describe dataset --format json
# Preview a query before executing
datahub --profile local graphql --query "{ me { corpUser { urn } } }" --dry-run
# Execute a query (before a mutation: `datahub profile current --format json`, confirm the server)
datahub --profile local graphql --query "{ me { corpUser { urn username } } }" --format json
For full agent best practices (discovery, dry-run, error codes, common recipes):
datahub graphql --agent-context
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 63 lines · 52 tokens per session scan A dd80aa8b2082
datahub-cli is a skill published in the GitHub repository datahub-project/datahub (13,047 stars, last pushed today), licensed Apache-2.0. It adds 52 tokens to every session and 514 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-12-02.
datahub-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| datahub-clidatahub-project/datahub | Skill | 13k | today | Apache-2.0 | A | 52 | Claude Code |
| marmotmarmotdata/marmot | Skill | 645 | yesterday | MIT | A | 71 | Claude Code, Codex |
| openmetadata-pr-reviewopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| connector-reviewopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 55 | Claude Code |
| connector-buildingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 45 | Claude Code |
| pr-checklistopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 79 | Claude Code |
| test-enforcementopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 60 | Claude Code |