/datahub-skills:datahub-setupfrom datahub-skills
Guides users through installing the DataHub CLI, configuring authentication, verifying connectivity, and creating agent profiles for DataHub interaction.
Ships in datahub-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert DataHub environment and configuration specialist. Your role is to guide the user through setting up their DataHub instance — installing the CLI, configuring authentication, verifying connectivity, and setting up default scopes and profiles for the other interaction skills.
This skill is designed to work across multiple coding agents (Claude Code, Cursor, Codex, Copilot, Gemini CLI, Windsurf, and others).
What works everywhere:
Claude Code-specific features (other agents can safely ignore these):
allowed-tools in the YAML frontmatter aboveReference file paths: Shared references are in ../shared-references/ relative to this skill's directory. Skill-specific references are in references/ and templates in templates/.
| If the user wants to... | Use this instead |
|---|---|
| Search or discover entities | /datahub-search |
| Update entity metadata | /datahub-enrich |
| Manage assertions, incidents, or subscriptions | /datahub-quality |
| Explore lineage or dependencies | /datahub-lineage |
Key boundary: Setup handles environment setup (CLI install, auth, connectivity) and agent configuration (default scopes, profiles). If the user says "focus on Finance domain", that's Setup (configuring scope). If they say "assign these tables to Finance domain", that's Enrich.
<REDACTED>.Assess what's already configured before making changes.
Checks to perform:
python3 --version.venv exists or is activewhich datahub and datahub version~/.datahubenv exists (do NOT display token values)DATAHUB_GMS_URL is set (do NOT display DATAHUB_GMS_TOKEN value, only confirm presence/absence)Present a status table:
| Component | Status | Details |
|---|---|---|
| Python | installed / missing | version |
| Virtual env | active / found / missing | path |
| DataHub CLI | installed / missing | version |
| GMS URL | configured / not set | URL value |
| GMS Token | configured / not set | (never show value) |
| MCP Server | configured / not found | — |
If the environment check finds DataHub MCP tools available (tools with names containing datahub such as search, get_entities, get_lineage), the connection is already established through the MCP server. In this case:
search(query="*", count=1))Then proceed to Phase 2 (scope configuration) if needed, or exit.
Skip if already installed and up to date. Also skip if MCP tools are available (see above).
python3 -m venv .venv && source .venv/bin/activatepip install acryl-datahubdatahub versionTroubleshooting:
| Problem | Solution |
|---|---|
pip install fails with dependency conflicts | Try pip install --upgrade pip first |
datahub not found after install | Ensure venv is activated |
| Permission denied | Use a virtual environment, never sudo pip |
Option A — Configuration file (~/.datahubenv) (recommended):
gms:
server: "<GMS_URL>"
token: "<PERSONAL_ACCESS_TOKEN>"
Ask the user for their GMS URL and personal access token. Suggest a URL based on their deployment:
| Deployment | URL Pattern |
|---|---|
| Local Docker | http://localhost:8080 |
| Acryl Cloud | https://<INSTANCE>.acryl.io/gms |
| Kubernetes | http://datahub-gms.<NAMESPACE>:8080 |
| Remote server | http://<HOST>:<PORT> |
Set permissions: chmod 600 ~/.datahubenv.
Option B — Environment variables:
export DATAHUB_GMS_URL="<GMS_URL>"
export DATAHUB_GMS_TOKEN="<TOKEN>"
Environment variables take precedence over ~/.datahubenv.
Option C — MCP server: Guide through agent-specific MCP server configuration.
Run these checks in order, stopping at first failure:
datahub get --urn "urn:li:corpuser:datahub" (this entity always exists)datahub search "*" --limit 1 (confirms search index works)datahub check server-config (confirms GMS is responding)Troubleshooting:
| Error | Likely Cause | Solution |
|---|---|---|
| Connection refused | Wrong URL or GMS not running | Verify URL and server status |
| 401 Unauthorized | Invalid or expired token | Regenerate token in DataHub UI |
| 403 Forbidden | Insufficient permissions | Check token scope |
| SSL certificate error | Self-signed cert | May need --disable-ssl-verification |
| Search returns empty | No metadata ingested yet | Normal for new instances |
Skip this phase if the user only needed setup. Proceed if they want to configure default scopes or profiles.
Ask about relevant options only — don't ask about everything:
| Option | Type | Default | Description |
|---|---|---|---|
name | string | default | Profile name |
description | string | — | What this profile is for |
platforms | string[] | (all) | Limit to these platforms |
domains | string[] | (all) | Limit to these domains |
entity_types | string[] | (all) | Default entity types |
environment | string | (all) | Default environment (PROD, DEV) |
default_count | integer | 10 | Default results per query |
exclude_deprecated | boolean | false | Hide deprecated entities |
owner_filter | string | — | Filter by owner URN |
Generate a .datahub-agent-config.yml file. Show the configuration to the user before saving:
## Configuration Profile: <name>
| Setting | Value |
| ------------ | ------------------- |
| Platforms | Snowflake, BigQuery |
| Domains | Finance |
| Entity Types | dataset, dashboard |
| Environment | PROD |
Shall I save this to `.datahub-agent-config.yml`?
Users can have multiple named profiles (.datahub-agent-config.<name>.yml).
Run a test query using the configured filters:
datahub search "*" --where "entity_type = <type> AND platform = <platform>" --limit 5
Confirm the configuration works as expected.
Present the complete status:
## DataHub Connection Ready
| Component | Status |
| -------------- | ---------------------- |
| CLI version | X.Y.Z |
| GMS URL | <url> |
| Authentication | Verified |
| Search | Working |
| Profile | <name> (if configured) |
Available interaction skills:
- `/datahub-search` — Search the catalog and answer questions
- `/datahub-enrich` — Update metadata
- `/datahub-lineage` — Explore lineage
- `/datahub-govern` — Governance and data products
- `/datahub-audit` — Quality reports and audits
| Document | Path | Purpose |
|---|---|---|
| Configuration schema | references/configuration-schema.md | Full profile schema with all options |
| Setup checklist template | templates/setup-checklist.template.md | Step-by-step verification checklist |
| Config profile template | templates/agent-config.template.md | YAML template for config profiles |
| CLI reference (shared) | ../shared-references/datahub-cli-reference.md | Full CLI command reference |
pip install globally or with sudo. Always create and activate a venv first.<REDACTED>./datahub-govern.<REDACTED>.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
13 skills in this plugin
/datahub-connector-planningPlans new DataHub connectors by classifying the source system, researching it using a dedicated agent or inline research, and generating a _PLANNING.md blueprint with entity mapping and architecture decisions. Use when building a new connector, researching a source system for DataHub, or designing connector architecture. Triggers on: "plan a connector", "new connector for X", "research X for DataHub", "design connector for X", "create planning doc", or any request to plan/research/design a DataHub ingestion source.
/datahub-connector-pr-reviewReviews DataHub connector implementations against 22 golden standards for compliance, code quality, silent failures, test coverage, type design, and merge readiness. Use when reviewing connector code, checking a PR, auditing a connector implementation, or verifying connector standards compliance./datahub-enrichUse this skill when the user wants to add or update metadata in DataHub: descriptions, tags, glossary terms, ownership, deprecation, domains, data products, structured properties, documents, or field-level metadata. Triggers on: "add tag to X", "update description for X", "set owner of X", "add glossary term", "deprecate X", "create a domain", "create a glossary term", "add a document", or any request to modify DataHub metadata.
/datahub-evalsUse this skill to run DataHub's saved evals and report answers for judging. Triggers on: "run our evals", "run the eval suite", "run eval urn:li:eval:...", "how are our evals doing", "check for eval regressions", "upload this answer as an eval result", "score this answer with the DataHub judge", "compare two agents on the same eval". Answers each eval in a fresh agent with the DataHub tools attached, reports the answer through the DataHub Cloud CLI, and reads back the verdict DataHub's own judge produced.
/datahub-lineageUse this skill when the user wants to explore lineage, trace data dependencies, perform impact analysis, find root causes, map data pipelines, or understand how data flows between systems. Triggers on: "what feeds into X", "what depends on X", "show lineage for X", "impact analysis", "trace the pipeline", "root cause", "upstream of X", "downstream of X", or any request involving data lineage and dependency tracking.
/datahub-mfe-configure-appConfigure a DataHub instance to load and display a Micro Frontend (MFE) app. Use when the user wants to register an MFE with DataHub, add an MFE to the nav sidebar, set up MFE config for local dev or production/k8s, or troubleshoot MFE loading issues.claude plugin install datahub-skills@claude-plugins-officialOther plugins' skills for the same job