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.
curl -O https://raw.githubusercontent.com/alessandro9110/Speech-To-Text-With-Databricks/main/.claude/skills/databricks-metric-views/SKILL.mdgit clone --depth 1 https://github.com/alessandro9110/Speech-To-Text-With-DatabricksWrote 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.
[](https://agentmods.dev/skills/alessandro9110/speech-to-text-with-databricks/databricks-metric-views)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 USEpermissions SELECTon source tables,CREATE TABLE+USE SCHEMAin 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
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.
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.
- 1mo ago First seen · 230 lines · 54 tokens per session scan A 4d2ec0d979e8
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.
databricks-metric-views compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| databricks-metric-viewsalessandro9110/Speech-To-Text-With-Databricks | Skill | 4 | 8mo ago | MIT | A | 54 | Claude Code |
| databricks-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 74 | Claude Code |
| data-lake-architecturej4flmao/agent-skills | Skill | 38 | 3d ago | MIT | A | 170 | Claude Code, Codex |
| datacoolie-builddatacoolie/datacoolie | Skill | 11 | 15d ago | AGPL-3.0 | A | 57 | Codex |
| datacoolie-designdatacoolie/datacoolie | Skill | 11 | 15d ago | AGPL-3.0 | A | 46 | Claude Code, Codex |
| datacoolie-discoverdatacoolie/datacoolie | Skill | 11 | 15d ago | AGPL-3.0 | A | 49 | Claude Code, Codex |
| datacoolie-provisiondatacoolie/datacoolie | Skill | 11 | 15d ago | AGPL-3.0 | A | 47 | Claude Code, Codex |