databricks-unity-catalog

Query Unity Catalog system tables and manage volume files in Databricks.

27|9|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/datasciencemonkey/claude-code-cli-bricks --skill databricks-unity-catalog-datasciencemonkey
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-unity-catalog
Source: https://github.com/datasciencemonkey/claude-code-cli-bricks/tree/main/.claude/skills/databricks-unity-catalog
Command: npx skills add https://github.com/datasciencemonkey/claude-code-cli-bricks --skill databricks-unity-catalog-datasciencemonkey

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps data teams govern Unity Catalog data by guiding queries of system tables (audit, lineage, billing) and performing volume file operations (upload, download, list files in /Volumes/). It consolidates best practices and ready-to-use examples to accelerate governance, auditing, and catalog administration.

Core Features & Use Cases

  • System Tables Guidance: Learn how to query Unity Catalog system tables for audit trails, lineage, and cost analytics.
  • Volume Operations Guidance: Use /Volumes paths to read and manage volume data, including uploading and listing files.
  • Use Case: You administer a Databricks workspace and need to audit user activity, trace data lineage, and monitor DBU usage across catalogs and schemas.

Quick Start

  • Query audit logs: SELECT event_time, user_identity.email, action_name FROM system.access.audit WHERE event_date >= current_date() - 7 LIMIT 20;
  • Inspect lineage: SELECT source_table_full_name, target_table_full_name, event_time FROM system.access.table_lineage ORDER BY event_time DESC LIMIT 20;
  • Read files from a volume: SELECT * FROM read_files('/Volumes/main/default/my_volume/') LIMIT 50;

Frequently Asked Questions about databricks-unity-catalog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query Databricks audit logs in Unity Catalog?

Query Databricks audit logs in Unity Catalog by selecting event_time, user_identity.email, and action_name from the system.access.audit table. Filter by event_date to restrict results to recent days and apply a LIMIT clause to preview user activity.

What SQL patterns trace data lineage in Databricks Unity Catalog?

Trace data lineage in Unity Catalog by querying the system.access.table_lineage table. Select source_table_full_name, target_table_full_name, and event_time, then order by event_time descending to inspect recent data flow connections.

Can I manage volume files using /Volumes/ paths in Databricks?

Manage volume files in Databricks by using /Volumes/ paths to upload, download, and list data. Read files directly from a volume directory using the read_files SQL function with the specific volume path.

Does Unity Catalog support cost monitoring across catalogs and schemas?

Unity Catalog supports cost monitoring across catalogs and schemas through system billing tables. Query these system tables to analyze DBU usage and monitor consumption patterns across your Databricks workspace.

What is needed to govern Unity Catalog data with system tables?

Govern Unity Catalog data by querying system tables for audit trails, lineage, and billing using SQL patterns. Combine these queries with Python SDK or CLI usage examples to manage volume operations and apply governance best practices.