knowledge_catalog_discovery_agent
Skill by GoogleCloudPlatform
Finds and ranks data catalog entries that help answer analytical questions. It turns user queries into Knowledge Catalog Search calls with predicates and search variations. Built for users who need to locate tables or datasets.
Install knowledge_catalog_discovery_agent
Built from the published package, never by AI.
git clone --depth 1 https://github.com/GoogleCloudPlatform/knowledge-catalog /tmp/knowledge-catalog && mkdir -p ~/.claude/skills && cp -r /tmp/knowledge-catalog/samples/discovery ~/.claude/skills/knowledge-catalog-discovery-agentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install knowledge_catalog_discovery_agent in Claude Code
git clone --depth 1 https://github.com/GoogleCloudPlatform/knowledge-catalog /tmp/knowledge-catalog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/knowledge-catalog/samples/discovery ~/.gemini/antigravity-cli/skills/knowledge-catalog-discovery-agentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install knowledge_catalog_discovery_agent in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
knowledge_catalog_discovery_agent is a skill for AI assistants that searches Knowledge Catalog for data entries. It reads a user query, extracts predicates such as type, system, projectid, parent and name, and maps them to a fixed predicate reference table. It also breaks the request into semantic parts and can generate up to three distinct search variations.
The skill sends a baseline search using the full user request, along with the variations, in parallel. It merges results by entry name, filters out irrelevant entries and sorts the rest so the most relevant appear first. It is aimed at users who want to find the datasets or tables that can answer a statistical or analytical question. The source tells the agent to attempt a search rather than ask clarifying questions first.
Written from the project's SKILL.md and checked against it.
What it can do
- knowledge_catalog_searchRuns free text and predicate searches against Knowledge Catalog.
- Predicate extractionMaps keywords to predicates such as type, system, name and projectid.
- Query variationsGenerates up to three distinct search variations plus a baseline search.
- Result mergingDeduplicates results across searches by entry name.
- Result rankingFilters out irrelevant entries and sorts the most relevant first.
What you need
- Access to the knowledge_catalog_search tool
Try asking
- Find BigQuery tables in project my-project that contain customer billing data
- Show me all datasets in project analytics-prod
- Find tables with revenue data in project sales-dw, excluding names with test
Good to know
- Free text must not contain double quotes, since Knowledge Catalog Search does not understand them.
- The name and description predicates are used only when the query explicitly uses those terms.
- Each predicate may only use the operators listed for it in the reference table.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: samples/discovery/SKILL.md, samples/discovery/agent.py, samples/discovery/tools.py, samples/discovery/utils.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md3 KB -
SKILL.md12 KB -
agent.py1021 B -
requirements.txt49 B -
tools.py2 KB
Show all 6 files
-
utils.py514 B
Alternatives to knowledge_catalog_discovery_agent
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
knowledge_catalog_discovery_agent: common questions
Does it ask clarifying questions before searching?
No. The source says the agent should always attempt a search and should not ask clarifying questions first.
How are project IDs handled in searches?
If a project is specified or extracted as a projectid predicate, it must be included inside the query string sent to the search tool.
Does it explain why each result was selected?
No. The source says to return the full entry name for each result with no explanation.
How do I install knowledge_catalog_discovery_agent?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is knowledge_catalog_discovery_agent free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is knowledge_catalog_discovery_agent safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to knowledge_catalog_discovery_agent?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
