metadata-searcher

metadata-searcher is an agent for Claude Code from datahub-project/datahub-skills. It costs 214 tokens per session (1,440 once invoked), scanned A, original, Apache-2.0.

A focused helper for searching DataHub, a catalog of data assets, and retrieving their metadata and lineage information. It returns structured results without interpreting them.

In plain words
What is it for?
Use it to find datasets and other entities, inspect their metadata, browse catalog contents, and retrieve data lineage for other DataHub skills.
Why use it?
It removes the repetitive work of running catalog searches, browsing entities, handling pagination, and formatting results consistently.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the datahub-skills plugin — 13 skills, 9 commands, 4 agents shipped together

Good fit Use it to find datasets and other entities, inspect their metadata, browse catalog contents, and retrieve data lineage for other DataHub skills.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/datahub-project/datahub-skills/metadata-searcher
Install

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.

Clone the repo
git clone --depth 1 https://github.com/datahub-project/datahub-skills

Made for: Claude Code.

Or install datahub-skills, the plugin that ships this one along with the rest of its 13 skills, 9 commands, 4 agents.

Wrote 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.

agentmods badge for metadata-searcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/datahub-project/datahub-skills/metadata-searcher/github.svg)](https://agentmods.dev/agents/datahub-project/datahub-skills/metadata-searcher)
Your own site
<a href="https://agentmods.dev/agents/datahub-project/datahub-skills/metadata-searcher"><img src="https://agentmods.dev/badge/agents/datahub-project/datahub-skills/metadata-searcher/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.

agentmods 80×15 button for metadata-searcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/datahub-project/datahub-skills/metadata-searcher"><img src="https://agentmods.dev/badge/agents/datahub-project/datahub-skills/metadata-searcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 214 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00214 $0.01440
Opus 5 $0.00107 $0.00720
Sonnet 5 $0.00043 $0.00288
Haiku 4.5 $0.00021 $0.00144

Measured 9d ago against content hash 0f61ebfde9a2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

metadata-searcher 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 9d ago.

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.

agents/metadata-searcher.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DataHub Metadata Searcher

You are a fast, focused metadata retrieval agent. Your job is to execute DataHub search, browse, and lineage operations and return structured results. You do NOT interpret or analyze results — you fetch and format them.


Rules

  1. Only accept tasks from the datahub-search and datahub-lineage skills. Do not run queries on behalf of datahub-enrich or other skills — those need richer context (mutation references, approval workflows) that this agent does not have.
  2. Return structured results in the output format below. Do not add commentary or analysis.
  3. Validate all input before passing to CLI commands — reject shell metacharacters (`, $, |, ;, &, >, <).
  4. Paginate if needed — fetch up to the requested number of results, defaulting to 10.
  5. Report errors clearly — if a query fails, include the error message in the output.
  6. Always use --projection to reduce output size. Never run datahub search without it.
  7. Always pass -C skill=datahub-search (or the requesting skill name) on the root datahub command for attribution.

Workflow

1. Read the task prompt

Your task prompt will contain:

  • Query: What to search for (keywords, filters, URNs)
  • Operation type: search, browse, get, or lineage
  • Result limit: How many results to return
  • Projection / Aspects: Which fields or aspects to retrieve

2. Execute operations

Use the DataHub CLI. The search command takes a positional query argument (not --query).

For search:

datahub -C skill=datahub-search search "<QUERY>" \
  --where "entity_type = dataset AND platform = snowflake" \
  --projection "urn type
    ... on Dataset { properties { name description } platform { name }
      ownership { owners { owner type } }
      siblings { isPrimary siblings { urn ... on Dataset { properties { name description } platform { name } } } }
    }
    ... on Dashboard { properties { name description } platform { name } ownership { owners { owner type } } }
    ... on DataFlow { properties { name description } platform { name } }
    ... on DataJob { properties { name description } }" \
  --limit <LIMIT> --format json

Read the full file on GitHub · 167 lines

Changes

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.

  1. 9d ago First seen · 167 lines · 214 tokens per session scan A 0f61ebfde9a2

Subscribe to this mod's changes

metadata-searcher is an agent published in the GitHub repository datahub-project/datahub-skills (38 stars, last pushed 11d ago), licensed Apache-2.0. It adds 214 tokens to every session and 1,440 once invoked, about $0.0011 per session on Opus 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-08-30.

Related

Other agents, from other repositories

Prompt Builder

Expert prompt engineering and validation system for creating high-quality prompts - Brought to you by microsoft/edge-ai.

github/awesome-copilot · 24 tokens

Research Harness Engineer

Research harness engineer for experiment campaigns: builds evaluation harnesses that are hard to fool, then keeps every reported number honest - null models first, calibration/held-out separation, baseline reproduction before improvement claims, paired error bars, and guards verified by deliberate breakage.

github/awesome-copilot · 56 tokens

fit

Selects algorithms, tunes hyperparameters, and builds reproducible training pipelines from baseline to production. Use when choosing a model architecture, designing a tuning strategy, or auditing training code for leakage and reproducibility. Trigger with "design training pipeline", "tune model hyperparameters".

jeremylongshore/tons-of-skills-marketplace · 57 tokens

mlops-engineer

ML operations agent for experiment tracking, model registry, feature stores, ML pipelines, model serving, drift monitoring, and AIOps.

pjt222/agent-almanac · 31 tokens

migration-reviewer

Use this agent after aidp-migrate-job completes to review a migrated .ipynb for correctness (NOT just "did it run"). Catches latent issues the cell-execute loop missed — wrong write-mode, lost rows, dropped columns, hardcoded paths, dead Databricks-isms. Outputs a structured review report.

ahmedawan-oracle/claude-code-plugins · 70 tokens

nn-embedding-expert

Embedding trained neural networks and tree ensembles as MINLP constraints via discopt.nn - OMLT-style full-space and reduced-space formulations, ReLU big-M, interval bound propagation, ONNX reader. Use when a trained ML surrogate must live inside an optimization problem.

jkitchin/discopt · 59 tokens