thomazrossito/data-agents/databricks-unity-catalog

Claude Code and agent skill by thomazrossito/data-agents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Unity Catalog system tables and volumes. Use when querying system tables (audit, lineage, billing) or working with volume file operations (upload, download, list files in /Volumes/).

Install

npx vskill@latest install thomazrossito/data-agents/databricks-unity-catalog

SKILL.md

The same SKILL.md was published earlier as thomazrossito/data-agents/databricks-unity-catalog.

Unity Catalog

Guidance for Unity Catalog system tables, volumes, and governance.

When to Use This Skill

Use this skill when:

  • Working with volumes (upload, download, list files in /Volumes/)
  • Querying lineage (table dependencies, column-level lineage)
  • Analyzing audit logs (who accessed what, permission changes)
  • Monitoring billing and usage (DBU consumption, cost analysis)
  • Tracking compute resources (cluster usage, warehouse metrics)
  • Reviewing job execution (run history, success rates, failures)
  • Analyzing query performance (slow queries, warehouse utilization)
  • Profiling data quality (data profiling, drift detection, metric tables)

Reference Files

TopicFileDescription
System Tables5-system-tables.mdLineage, audit, billing, compute, jobs, query history
Volumes6-volumes.mdVolume file operations, permissions, best practices
Data Profiling7-data-profiling.mdData profiling, drift detection, profile metrics

Quick Start

Volume File Operations (MCP Tools)
ToolUsage
list_volume_fileslist_volume_files(volume_path="/Volumes/catalog/schema/volume/path/")
get_volume_folder_detailsget_volume_folder_details(volume_path="catalog/schema/volume/path", format="parquet") - schema, row counts, stats
upload_to_volumeupload_to_volume(local_path="/tmp/data/*", volume_path="/Volumes/.../dest")
download_from_volumedownload_from_volume(volume_path="/Volumes/.../file.csv", local_path="/tmp/file.csv")
create_volume_directorycreate_volume_directory(volume_path="/Volumes/.../new_folder")
Enable System Tables Access
sql
-- Grant access to system tables
GRANT USE CATALOG ON CATALOG system TO `data_engineers`;
GRANT USE SCHEMA ON SCHEMA system.access TO `data_engineers`;
GRANT SELECT ON SCHEMA system.access TO `data_engineers`;
Common Queries
sql
-- Table lineage: What tables feed into this table?
SELECT source_table_full_name, source_column_name
FROM system.access.table_lineage
WHERE target_table_full_name = 'catalog.schema.table'
AND event_date >= current_date() - 7;
-- Audit: Recent permission changes
SELECT event_time, user_identity.email, action_name, request_params
FROM system.access.audit
WHERE action_name LIKE '%GRANT%' OR action_name LIKE '%REVOKE%'
ORDER BY event_time DESC
LIMIT 100;
-- Billing: DBU usage by workspace
SELECT workspace_id, sku_name, SUM(usage_quantity) AS total_dbus
FROM system.billing.usage
WHERE usage_date >= current_date() - 30
GROUP BY workspace_id, sku_name;

MCP Tool Integration

Use mcp__databricks__execute_sql for system table queries:

python
# Query lineage
mcp__databricks__execute_sql(
sql_query="""
SELECT source_table_full_name, target_table_full_name
FROM system.access.table_lineage
WHERE event_date >= current_date() - 7
""",
catalog="system"
)

Best Practices

  1. Filter by date - System tables can be large; always use date filters
  2. Use appropriate retention - Check your workspace's retention settings
  3. Grant minimal access - System tables contain sensitive metadata
  4. Schedule reports - Create scheduled queries for regular monitoring

Related Skills

  • [databricks-spark-declarative-pipelines](../databricks-spark-declarative-pipelines/SKILL.md) - for pipelines that write to Unity Catalog tables
  • [databricks-jobs](../databricks-jobs/SKILL.md) - for job execution data visible in system tables
  • [databricks-synthetic-data-gen](../databricks-synthetic-data-gen/SKILL.md) - for generating data stored in Unity Catalog Volumes
  • [databricks-aibi-dashboards](../databricks-aibi-dashboards/SKILL.md) - for building dashboards on top of Unity Catalog data

Resources

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
30
Repository forks
20
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/thomazrossito/data-agents/databricks-unity-catalog/badge)](https://verified-skill.com/skills/thomazrossito/data-agents/databricks-unity-catalog)

Something wrong with this skill or its page? Tell us.