intent-ref-measurement-frameworks

A measurement guide for connecting user goals to signals and metrics, including the HEART framework for product experience. HEART measures happiness, engagement, adoption, retention, and task success.

In plain words
What is it for?
Use it to define product metrics, plan A/B tests, interpret statistics, and create ethical measurement plans.
Why use it?
It helps teams choose measures that reflect both user experience and actual task outcomes, instead of relying on a single number.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/ghaida/intent/intent-ref-measurement-frameworks
Clone the repo
git clone --depth 1 https://github.com/ghaida/intent

Made for: Cursor.

Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,493 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.03493
Opus 5 $0.00019 $0.01747
Sonnet 5 $0.00008 $0.00699
Haiku 4.5 $0.00004 $0.00349

Measured 2d ago against content hash abe4ae23596c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

intent-ref-measurement-frameworks 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 2d 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.

.cursor/rules/intent-ref-measurement-frameworks.mdc · 213 lines

How it starts

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

Measurement Frameworks

HEART Framework

Developed by Kerry Rodden, Hilary Hutchinson, and Xin Fu at Google, the HEART framework provides a structured way to define user-centered metrics at any scale — from a single feature to an entire product.

The Five Dimensions

Happiness — Subjective user satisfaction, attitudes, and perceived ease of use. Measured through surveys (CSAT, SUS, NPS), in-app satisfaction prompts, and qualitative feedback.

What it catches that other metrics miss: A product can have high task completion rates but low happiness if the process feels tedious, patronizing, or stressful. Happiness metrics capture the emotional quality of the experience.

What it misses: Happy users aren't necessarily successful users. A product can feel pleasant while failing to deliver actual value. Happiness without task success is entertainment, not utility.

Engagement — The depth and frequency of user interaction with the product. Measured through session frequency, session duration, feature usage, actions per session, content consumption.

What it catches: Whether users find the product valuable enough to return to and invest time in. Engagement distinguishes "signed up but never came back" from "uses it daily."

What to watch for: Engagement can be gamed with addictive patterns (infinite scroll, notification spam, variable ratio reinforcement). High engagement driven by manipulation is not success — it's exploitation. Always pair engagement metrics with happiness and task success to distinguish healthy engagement from compulsive engagement.

Adoption — New users of a product or feature. Measured through sign-ups, feature activation (first meaningful use, not just account creation), upgrade conversions, new feature discovery.

What it catches: Whether growth is happening and whether new features are being discovered and used. Adoption metrics answer: are we reaching new people, and are they finding value?

What it misses: Adoption without retention is a leaky bucket. High sign-up rates with low day-7 retention mean the acquisition is working but the product isn't.

Read the full file on GitHub · 213 lines

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. 2d ago First seen · 213 lines · 3,493 tokens per session scan A abe4ae23596c

Subscribe to this mod's changes

intent-ref-measurement-frameworks is a cursor rule published in the GitHub repository ghaida/intent (139 stars, last pushed 1mo ago), licensed CC0-1.0. It adds 39 tokens to every session and 3,493 once invoked, about $0.0002 per session on Opus 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-08-30.