Speech-To-Text-With-Databricks: Skill for Claude Code

.claude/skills/databricks-metric-views/SKILL.md

databricks-metric-views is a skill for Claude Code from alessandro9110/Speech-To-Text-With-Databricks. It costs 54 tokens per session (1,874 once invoked), scanned A, original, MIT.

A guide to Databricks Unity Catalog metric views, which define shared business measures such as revenue or order counts in YAML.

In plain words
What is it for?
Use it to define, create, query, and manage governed metrics with dimensions, joins, filters, window calculations, and optional materialization.
Why use it?
It helps teams keep KPI definitions consistent across dashboards, Genie, and SQL queries, including complex aggregations and time-based measures.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is alessandro9110/Speech-To-Text-With-Databricks's own configuration. It tells Claude Code how to work on Speech-To-Text-With-Databricks itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Speech-To-Text-With-Databricks configures →

Reuse

Borrowing it

Nothing to install: this file belongs to alessandro9110/Speech-To-Text-With-Databricks. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/alessandro9110/Speech-To-Text-With-Databricks/main/.claude/skills/databricks-metric-views/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/alessandro9110/Speech-To-Text-With-Databricks

Made for: Claude Code.

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 databricks-metric-views

README.md
[![agentmods](https://agentmods.dev/badge/skills/alessandro9110/speech-to-text-with-databricks/databricks-metric-views/github.svg)](https://agentmods.dev/skills/alessandro9110/speech-to-text-with-databricks/databricks-metric-views)
Your own site
<a href="https://agentmods.dev/skills/alessandro9110/speech-to-text-with-databricks/databricks-metric-views"><img src="https://agentmods.dev/badge/skills/alessandro9110/speech-to-text-with-databricks/databricks-metric-views/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 databricks-metric-views

Your own site · 80×15
<a href="https://agentmods.dev/skills/alessandro9110/speech-to-text-with-databricks/databricks-metric-views"><img src="https://agentmods.dev/badge/skills/alessandro9110/speech-to-text-with-databricks/databricks-metric-views.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,874 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.00054 $0.01874
Opus 5.5 $0.00022 $0.00750
Sonnet 5.5 $0.00011 $0.00375
Haiku 4.5 $0.00005 $0.00187

Measured 1mo ago against content hash 4d2ec0d979e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

databricks-metric-views 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 1mo 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.

.claude/skills/databricks-metric-views/SKILL.md · 230 lines

How it starts

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

Unity Catalog Metric Views

Define reusable, governed business metrics in YAML that separate measure definitions from dimension groupings for flexible querying.

When to Use

Use this skill when:

  • Defining standardized business metrics (revenue, order counts, conversion rates)
  • Building KPI layers shared across dashboards, Genie, and SQL queries
  • Creating metrics with complex aggregations (ratios, distinct counts, filtered measures)
  • Defining window measures (moving averages, running totals, period-over-period, YTD)
  • Modeling star or snowflake schemas with joins in metric definitions
  • Enabling materialization for pre-computed metric aggregations

Prerequisites

  • Databricks Runtime 17.2+ (for YAML version 1.1)
  • SQL warehouse with CAN USE permissions
  • SELECT on source tables, CREATE TABLE + USE SCHEMA in the target schema

Quick Start

Create a Metric View

CREATE OR REPLACE VIEW catalog.schema.orders_metrics
WITH METRICS
LANGUAGE YAML
AS $$
  version: 1.1
  comment: "Orders KPIs for sales analysis"
  source: catalog.schema.orders
  filter: order_date > '2020-01-01'
  dimensions:
    - name: Order Month
      expr: DATE_TRUNC('MONTH', order_date)
      comment: "Month of order"
    - name: Order Status
      expr: CASE
        WHEN status = 'O' THEN 'Open'
        WHEN status = 'P' THEN 'Processing'
        WHEN status = 'F' THEN 'Fulfilled'
        END
      comment: "Human-readable order status"
  measures:
    - name: Order Count
      expr: COUNT(1)
    - name: Total Revenue
      expr: SUM(total_price)
      comment: "Sum of total price"
    - name: Revenue per Customer
      expr: SUM(total_price) / COUNT(DISTINCT customer_id)
      comment: "Average revenue per unique customer"
$$

Query a Metric View

All measures must use the MEASURE() function. SELECT * is NOT supported.

SELECT
  `Order Month`,
  `Order Status`,
  MEASURE(`Total Revenue`) AS total_revenue,
  MEASURE(`Order Count`) AS order_count
FROM catalog.schema.orders_metrics
WHERE extract(year FROM `Order Month`) = 2024
GROUP BY ALL
ORDER BY ALL

Read the full file on GitHub · 230 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 230 lines · 54 tokens per session scan A 4d2ec0d979e8

Subscribe to this mod's changes

databricks-metric-views is a skill published in the GitHub repository alessandro9110/Speech-To-Text-With-Databricks (4 stars, last pushed 8mo ago), licensed MIT. It adds 54 tokens to every session and 1,874 once invoked, about $0.0002 per session on Opus 5.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-10-02.

Related

databricks-metric-views compared with skills from other repositories

databricks-metric-views next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
databricks-metric-viewsalessandro9110/Speech-To-Text-With-DatabricksSkill48mo agoMITA54Claude Code
databricks-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A74Claude Code
data-lake-architecturej4flmao/agent-skillsSkill383d agoMITA170Claude Code, Codex
datacoolie-builddatacoolie/datacoolieSkill1115d agoAGPL-3.0A57Codex
datacoolie-designdatacoolie/datacoolieSkill1115d agoAGPL-3.0A46Claude Code, Codex
datacoolie-discoverdatacoolie/datacoolieSkill1115d agoAGPL-3.0A49Claude Code, Codex
datacoolie-provisiondatacoolie/datacoolieSkill1115d agoAGPL-3.0A47Claude Code, Codex