rill-metrics-view

Define Rill metrics_view YAML resources with schema and frontmatter requirements.

Updated Feb 19, 2026
One-click install
npx skills add https://github.com/ContrastingSounds/myai --skill rill-metrics-view-contrastingsounds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rill-metrics-view
Source: https://github.com/ContrastingSounds/myai/tree/main/rill/.claude/skills/rill-metrics-view
Command: npx skills add https://github.com/ContrastingSounds/myai --skill rill-metrics-view-contrastingsounds

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Metrics views provide a semantic layer on top of an OLAP table, enabling teams to define, validate, and reuse business metrics across dashboards, reports, and APIs instead of writing ad-hoc SQL.

Core Features & Use Cases

  • Define a metrics_view with a source model or external table, timeseries, dimensions, and measures to power Explore dashboards and BI workflows.
  • Support advanced features such as security policies, caching, annotations, and unnesting for array dimensions.
  • Typical use cases include interactive dashboards, automated reports, and programmatic access to metrics via APIs.

Quick Start

Create a metrics_view YAML under the metrics directory describing your data source, dimensions, and measures, then run your Rill project to load and validate it.

Frequently Asked Questions about rill-metrics-view

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

FAQPage Schema
What is a Rill metrics view and when do I need one?

A Rill metrics view provides a semantic layer on top of an OLAP table to define, validate, and reuse business metrics. You need one to power Explore dashboards and BI workflows instead of writing ad-hoc SQL.

How do I create a Rill metrics view?

To create a Rill metrics view, define a YAML file under your metrics directory describing your data source, timeseries, dimensions, and measures, then run your Rill project to load and validate the configuration.

Does Rill metrics_view support security policies and caching?

Yes, the Rill metrics_view model supports advanced features including security policies, caching, annotations, and unnesting for array dimensions to ensure consistent and safe deployment of metrics.

Can I use Rill metrics views for automated reports and API access?

Yes, Rill metrics views enable programmatic access to metrics via APIs and support automated reports. They define reusable dimensions and measures to power interactive dashboards and programmatic workflows.

What are the limitations of using Rill metrics views?

Rill metrics views require an underlying source model or external OLAP table. They rely on specific YAML frontmatter requirements and schema expectations, meaning invalid configurations will fail validation during project loading.