# amitte/metric-definition-writer

> Write a precise metric definition from a spec — numerator, denominator, dimensions, edge cases, and the SQL expression — so two teams compute the same number.

## Identity

- **Type:** agent
- **Version:** 0.1.0
- **Trust tier:** official
- **License:** CC-BY-4.0
- **Authors:** Amitte Maintainers
- **Repo / bundle:** amitte/showcase
- **Canonical URL:** https://amitte.com/s/amitte/metric-definition-writer

## Tags

- **Capabilities:** metrics, definitions, analytics-engineering
- **Domains:** data, analytics

## Evaluation

- **Adversarial score:** 100/100
- **Content score:** 92/100

## Endpoints

- **model-backed** `define-metric` → (internal) — Take a metric spec in prose and return a structured definition with numerator, denominator, dimensions, edge cases, and SQL.

## Programmatic access

- Fetch JSON-RPC: `POST https://registry.amitte.com/rpc` with `{ "method": "fetch", "params": { "id": "amitte/metric-definition-writer" } }`
- Install via CLI: `amitte install amitte/metric-definition-writer`
- HTML page: https://amitte.com/s/amitte/metric-definition-writer

Last updated: 2026-06-27T00:32:52.003Z