datahub-skills — плагин для Claude Code: что делает и как установить
Плагин подключает Claude Code к каталогу DataHub для поиска метаданных, проверки происхождения данных, настройки проверок качества и ревью коннекторов.
/plugin install datahub-skills@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install datahub-skills@claude-community
/plugin marketplace add anthropics/claude-plugins-officialЧто делает datahub-skills
Плагин даёт набор инструментов для работы с каталогом DataHub и разработки коннекторов к нему. С его помощью можно искать таблицы по колонкам или тегам, отслеживать пути данных (lineage), назначать владельцев и оформлять инциденты качества. При изменении метаданных плагин сначала показывает план изменений и ждёт подтверждения пользователя.
Для создания коннекторов предусмотрен пошаговый процесс: агент классифицирует систему, исследует её и формирует файл _PLANNING.md перед написанием кода. Ревью коннекторов опирается на 22 стандарта качества. В Claude Code этот анализ запускает пять параллельных субагентов для поиска скрытых сбоев, проверки типов и тестов, но для параллельного режима требуется плагин pr-review-toolkit.
Для запуска тестов evals нужен CLI acryl-datahub-cloud[datahub-evals] и запущенный MCP-сервер DataHub. Без настроенного окружения агент не сможет выставить оценки ответам.
Какие задачи решает
- найти датасеты и владельцев пайплайнов в каталоге DataHub
- построить граф происхождения данных (lineage) и оценить влияние изменений
- проверить код коннектора на соответствие 22 стандартам
- настроить проверки качества данных на свежесть и объём
Примеры запросов агенту
- /datahub-search найди таблицы с тегом PII
- /datahub-lineage покажи зависимости дашборда выручки
- /connector-review postgres
Как установить datahub-skills
Через маркетплейс плагинов
/plugin install datahub-skills@claude-plugins-official/plugin marketplace add anthropics/claude-plugins-community/plugin install datahub-skills@claude-community/plugin marketplace add anthropics/claude-plugins-officialПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о datahub-skills
Как установить datahub-skills в Claude Code?
Сначала подключите каталог плагинов командой /plugin marketplace add anthropics/claude-plugins-official. Затем установите плагин: /plugin install datahub-skills@claude-plugins-official.
Что делает плагин datahub-skills?
Он связывает агента с каталогом DataHub для поиска сущностей, обновления метаданных, анализа графа данных (lineage) и контроля качества. Также он автоматизирует планирование и ревью коннекторов.
Что нужно для параллельного ревью коннекторов?
Чтобы запускать параллельную проверку пятью субагентами в Claude Code, необходимо установить дополнительный плагин командой claude plugin install pr-review-toolkit@claude-plugins-official.
Исходный текст
SKILL.md · Apache-2.0
# datahub-skills
Agent skills for working with DataHub — plan and review connectors, search the catalog, enrich metadata, trace lineage, manage data quality, and set up connections. Works with [Claude Code](https://claude.ai/claude-code), [Cortex Code](https://docs.snowflake.com/en/user-guide/cortex-code/cortex-code), [Cursor](https://cursor.sh), [Codex](https://openai.com/codex), [Copilot](https://github.com/features/copilot), [Gemini CLI](https://github.com/google-gemini/gemini-cli), [Windsurf](https://windsurf.com), and other [Agent Skills](https://skills.sh)-compatible tools.
## What's in here
### Catalog interaction skills
#### Search
Search the DataHub catalog, discover entities, and answer ad-hoc questions about your data. Supports keyword search, filtered browse, column-name search, structured property queries, and multi-step question answering.
```
> Find revenue tables in Snowflake
> Who owns the customer pipeline?
> /datahub-search datasets tagged PII
```
#### Enrich
Add or update metadata in DataHub — descriptions, tags, glossary terms, ownership, and deprecation. Shows a before/after plan and asks for approval before making changes.
```
> Add a description to the orders table
> Tag these columns as PII
> /datahub-enrich set owner of revenue_daily to @jdoe
```
#### Lineage
Explore data lineage, trace upstream sources and downstream consumers, perform impact analysis, and map cross-platform data flows.
```
> What feeds into the revenue dashboard?
> Impact analysis for changing the orders table
> /datahub-lineage trace the customer pipeline
```
#### Quality
Manage data quality — create and run assertions (freshness, volume, SQL, field, schema), set up smart AI-inferred assertions, raise and resolve incidents, and configure notification subscriptions. Separates Open Source (diagnostic) from Cloud (full management) capabilities.
```
> Find datasets with failing assertions
> Create a freshness assertion on the orders table
> /datahub-quality raise an incident on the customer pipeline
> Subscribe me to assertion failures via Slack
```
#### Setup
Install the DataHub CLI, configure authentication, verify connectivity, and set up default scopes and profiles for the other interaction skills.
```
> Set up my DataHub connection
> /datahub-setup focus on Snowflake in the Finance domain
> Create a profile for the data-eng team
```
#### Evals
Runs your saved DataHub evals and reports how they did. An eval is a saved question plus the conditions its answer must meet.
Each eval is answered in a fresh agent with the DataHub tools attached, then reported back **without a verdict** so DataHub scores it with the same judge it uses for its own runs — which is what makes two runs comparable. The same command reports an answer produced anywhere else, so you can score another agent's answer against the same conditions.
```
> Run our evals
> /datahub-evals run urn:li:eval:abc123
> /datahub-evals score this Slack answer against that eval
```
Needs the DataHub Cloud CLI — `pip install 'acryl-datahub-cloud[datahub-evals]'` — and a DataHub MCP server for the answering agent.
### Connector development skills
#### Connector planning
Walks you through building a new DataHub connector in four steps: classify the source system type, research it (using a dedicated agent or inline), generate a `_PLANNING.md` with entity mapping and architecture, and get your sign-off before anyone writes code.
```
> Plan a connector for ClickHouse
> /connector-planning duckdb
```
#### Connector review
Checks connector code against the 22 standards (see below). On Claude Code it runs five agents in parallel — silent failures, test coverage, type design, simplification, comment resolution. On other platforms it does the same checks one at a time.
```
> Review my connector
> /connector-review postgres
> Review PR #1234
```
If you're on Claude Code and want the parallel review, also install `pr-review-toolkit`:
```bash
claude plugin install pr-review-toolkit@claude-plugins-official
```
#### Load standards
Loads all 22 connector standards into context. Run this before starting connector work so the agent actually knows what it's checking against.
```
> Load the DataHub standards
> What are the connector standards?
```
## Installation
### Quick install (any agent)
The [Skills CLI](https://github.com/vercel-labs/skills) detects your installed agents and sets things up:
```bash
npx skills add datahub-project/datahub-skills
```
Works with most agents including Claude Code, Cursor, Codex, Copilot, Gemini CLI, Windsurf, Cline, and Roo Code.
### Platform-specific
#### Claude Code
```bash
# Option A: Plugin install (gets you hooks, slash commands, multi-agent dispatch)
claude plugin install datahub-skills
# Also install pr-review-toolkit for multi-agent reviews:
claude plugin install pr-review-toolkit@claude-plugins-official
```
```bash
# Option B: Skills CLI (project-level, installs to .claude/skills/)
npx skills add datahub-project/datahub-skills -a claude-code
```
Then:
```
> Search for revenue tables in Snowflake
> /datahub-search who owns the customer pipeline?
> /datahub-enrich add description to orders table
> /datahub-lineage what feeds into the revenue dashboard?
> /datahub-quality find datasets with failing assertions
> /datahub-setup verify my connection
> /connector-review snowflake
> /connector-planning duckdb
```
#### Cursor
```bash
npx skills add datahub-project/datahub-skills -a cursor
# Installs to .agents/skills/
```
Cursor picks up skills from `.agents/skills/` automatically:
```
> Search DataHub for customer tables
> Review my DataHub connector
> Plan a connector for ClickHouse
```
#### GitHub Copilot
```bash
npx skills add datahub-project/datahub-skills -a github-copilot
# Installs to .agents/skills/
```
Use in Copilot Chat:
```
> Search the DataHub catalog for revenue data
> Review my DataHub connector code
> Help me plan a new connector for DuckDB
```
#### OpenAI Codex
```bash
npx skills add datahub-project/datahub-skills -a codex
# Installs to .agents/skills/
```
```
> Find datasets owned by the data-eng team
> Review the postgres connector against DataHub standards
> Plan a connector for Snowflake
```
#### Gemini CLI
```bash
npx skills add datahub-project/datahub-skills -a gemini-cli
# Installs to .agents/skills/
```
Verify with `/skills list`, then:
```
> Who owns the revenue pipeline?
> Review my DataHub connector
> Plan a new connector for BigQuery
```
#### Windsurf
```bash
npx skills add datahub-project/datahub-skills -a windsurf
# Installs to .windsurf/skills/
```
```
> Explore lineage for the orders table
> Review my DataHub connector implementation
> Plan a connector for Redshift
```
#### Manual install
```bash
git clone https://github.com/datahub-project/datahub-skills.git
# Catalog interaction skills
cp -r datahub-skills/skills/datahub-search your-project/.agents/skills/
cp -r datahub-skills/skills/datahub-enrich your-project/.agents/skills/
cp -r datahub-skills/skills/datahub-lineage your-project/.agents/skills/
cp -r datahub-skills/skills/datahub-quality your-project/.agents/skills/
cp -r datahub-skills/skills/datahub-setup your-project/.agents/skills/
cp -r datahub-skills/skills/shared-references your-project/.agents/skills/
cp -r datahub-skills/skills/using-datahub your-project/.agents/skills/
# Connector development skills
cp -r datahub-skills/skills/datahub-connector-planning your-project/.agents/skills/
cp -r datahub-skills/skills/datahub-connector-pr-review your-project/.agents/skills/
cp -r datahub-skills/skills/load-standards your-project/.agents/skills/
```
Each skill directory is self-contained. The `standards` symlinks get dereferenced into real files on copy, so everything travels together. The catalog interaction skills reference `shared-references/` for CLI and MCP tool documentation.
### What works where
| Feature | Claude Code | Cursor / Copilot / Codex / Gemini CLI / Windsurf |
| --------------------------- | --------------------- | ------------------------------------------------ |
| Catalog search | Yes | Yes |
| Metadata enrichment | Yes | Yes |
| Lineage exploration | Yes | Yes |
| Data quality management | Yes | Yes |
| Connection setup | Yes | Yes |
| Planning workflow | Yes | Yes |
| Load standards | Yes | Yes |
| Review against standards | Yes | Yes |
| Parallel multi-agent review | Yes (5 sub-agents) | No (runs sequentially) |
| Research agent delegation | Yes (dedicated agent) | No (inline fallback) |
| Slash commands | Yes | No (use natural language instead) |
| SessionStart hooks | Yes (via plugin) | No |
## Commands (Claude Code only)
Other platforms do the same things through natural language.
### Catalog interaction
| Command | What it does |
| --------------------------- | ----------------------------------------------- |
| `/catalog-search [query]` | Search the catalog and answer questions |
| `/catalog-enrich [entity]` | Add or update metadata |
| `/catalog-lineage [entity]` | Explore lineage and trace dependencies |
| `/catalog-quality [entity]` | Manage assertions, incidents, and subscriptions |
| `/catalog-setup [task]` | Set up connection and configure defaults |
### Connector development
| Command | What it does |
| ------------------------------- | --------------------------------------- |
| `/connector-planning [source]` | Plan a new connector |
| `/connector-review [connector]` | Review connector code against standards |
| `/load-standards` | Load all 22 standards into context |
## Agents
| Agent | What it does |
| ---------------------------- | ---------------------------------------------------------- |
| `metadata-searcher` | Fast sub-agent for executing catalog queries (Claude Code) |
| `connector-researcher` | Researches source systems before you write a connector |
| `connector-validator` | Runs validation scripts and reports results |
| `comment-resolution-checker` | Checks whether PR review comments were actually addressed |
## Standards
22 standards live in `standards/`, split into two groups:
**Core (11):** main, api, sql, code_style, containers, lineage, patterns, performance, platform_registration, registration, testing
**Source-type (11):** bi_tools, data_lakes, data_warehouses, identity_platforms, ml_platforms, nosql_databases, orchestration_tools, product_analytics, query_engines, sql_databases, streaming_platforms
## Repo layout
```
datahub-skills/
├── .claude-plugin/
│ ├── plugin.json
│ └── marketplace.json
├── skills/
│ ├── datahub-search/ # Catalog search and discovery
│ │ ├── SKILL.md
│ │ ├── references/
│ │ └── templates/
│ ├── datahub-enrich/ # Metadata enrichment
│ │ ├── SKILL.md
│ │ ├── references/
│ │ └── templates/
│ ├── datahub-lineage/ # Lineage exploration
│ │ ├── SKILL.md
│ │ ├── references/
│ │ └── templates/
│ ├── datahub-quality/ # Data quality management
│ │ ├── SKILL.md
│ │ ├── references/
│ │ └── templates/
│ ├── datahub-setup/ # Connection setup and config
│ │ ├── SKILL.md
│ │ ├── references/
│ │ └── templates/
│ ├── datahub-connector-planning/ # Connector planning
│ │ ├── SKILL.md
│ │ ├── standards -> ../../standards
│ │ ├── references/
│ │ └── templates/
│ ├── datahub-connector-pr-review/ # Connector review
│ │ ├── SKILL.md
│ │ ├── standards -> ../../standards
│ │ ├── commands/
│ │ ├── references/
│ │ ├── scripts/
│ │ └── templates/
│ ├── load-standards/ # Load connector standards
│ │ ├── SKILL.md
│ │ └── standards -> ../../standards
│ ├── shared-references/ # Shared CLI docs
│ │ └── datahub-cli-reference.md
│ └── using-datahub/ # Routing table (injected at session start)
│ └── SKILL.md
├── agents/
│ ├── connector-researcher.md
│ ├── comment-resolution-checker.md
│ └── connector-validator.md
├── commands/
│ ├── catalog-search.md
│ ├── catalog-enrich.md
│ ├── catalog-lineage.md
│ ├── catalog-quality.md
│ ├── catalog-setup.md
│ ├── connector-planning.md
│ ├── connector-review.md
│ └── load-standards.md
└── standards/
├── *.md (11 core)
└── source_types/*.md (11 source-type)
```
The `standards` symlinks in each connector skill directory mean you can install a single skill and it brings its standards along. `npx skills add` dereferences these into real copies.
The catalog interaction skills share reference documents in `shared-references/` for CLI syntax, MCP tool signatures, and the DataHub entity model.
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for commit conventions and release process.
Where things live:
- Catalog interaction skills: `skills/datahub-search/`, `skills/datahub-enrich/`, `skills/datahub-lineage/`, `skills/datahub-quality/`, `skills/datahub-setup/`
- Shared references: `skills/shared-references/`
- Connector standards: `standards/`
- Review checklists: `skills/datahub-connector-pr-review/SKILL.md`
- Planning steps: `skills/datahub-connector-planning/SKILL.md`
- Agent prompts: `agents/`
## License
Apache 2.0. See [LICENSE](LICENSE).
© DataHub · Apache-2.0 · datahub-project/datahub-skills