Hedis Measure Calculation logo

Hedis Measure Calculation

Organization
Amazon-Quick
hedis-measure-calculation

Provide deterministic Python and SQL for calculating Healthcare Effectiveness Data and Information Set (HEDIS) quality measures from claims and clinical data. Use when asked to 'calculate a HEDIS measure', 'check continuous enrollment', 'detect care gaps', 'compute utilization rates', 'identify high-cost claimants', 'score a risk index', or any healthcare quality measure calculation task.

Overview

PublisherAmazon-Quick
RepositoryAmazon-Quick-official-catalog
Skill namehedis-measure-calculation
Stars
50
Forks
4
Bundled files
11
LicenseMIT-0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Amazon-Quick on GitHub. Read the source before you install it.

Installation

Install the Hedis Measure Calculation AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/healthcare/hedis-measure-calculation
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Amazon-Quick/Amazon-Quick-official-catalog.git /tmp/Amazon-Quick-official-catalog
mkdir -p .claude/skills
cp -r /tmp/Amazon-Quick-official-catalog/skills/healthcare/hedis-measure-calculation .claude/skills/hedis-measure-calculation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hedis Measure Calculation in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hedis Measure Calculation on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hedis Measure Calculation is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Overview

Provides deterministic, copy-ready Python and SQL for the common building blocks of Healthcare Effectiveness Data and Information Set (HEDIS) quality reporting: continuous enrollment checks, measure rate calculation, care gap detection, utilization rates, high-cost claimant identification, and risk stratification scoring. Use it when a user needs working code for one of these tasks against claims or claims-plus-clinical data. Each calculation lives in a reference file so the skill delivers one focused, working example per request rather than a wall of alternatives.

Workflow

<Workflow - Provide Measure Calculation Code description="Gather inputs, select the matching reference, and deliver one working code example for the requested HEDIS calculation." tools=[file_read, get_current_time] triggers=["User asks to calculate a HEDIS measure", "check continuous enrollment", "detect care gaps", "compute utilization rates", "identify high-cost claimants", "score a risk index"]

  1. [Ask user] Confirm the inputs needed to pick the right example:

    • Which task (enrollment check, measure rate, care gaps, utilization, high-cost claimants, risk score, or stratification).
    • Language preference (Python or SQL), if the task offers both.
    • Data source (claims only, or claims plus clinical/EHR).
    • Measurement year, and single-payer vs multi-payer enrollment. Validate: The task maps to a row in and the language is available for it. If fails: Present the task list from and ask the user to choose one.
  2. [Agent] If the user referenced a relative year (for example "this year"), call get_current_time and resolve it to a concrete measurement year. Validate: A four-digit measurement year is fixed before writing date logic. If fails: Ask the user for the measurement year explicitly.

  3. [Decide] Consult the task table in and the scenario guidance in references/approach-selection.md to choose the language and the reference file. Validate: Exactly one reference file is selected. If fails: Re-read ; if two tasks seem to fit, ask the user which output they want.

  4. [Agent] Read the selected reference file via file_read, plus references/common-pitfalls.md and references/parameters.md. Validate: The reference file loaded and contains code in the requested language. If fails: If the language is missing for that task, tell the user which language the reference provides and offer it.

  5. [Think] Match the example's parameters (measurement year, max_gap_days, anchor date, lookback, threshold) to the user's inputs and identify which pitfalls from references/common-pitfalls.md apply to this task. Validate: The parameter values in the code will reflect the user's stated inputs.

  6. [Agent] Present the response per Rules 1 to 3: confirm inputs, then the working code, then key parameters explained, then the applicable pitfalls. Append the Rule 7 liability disclaimer. Validate: One complete example, correct language, sandbox-only libraries, disclaimer present. If fails: Revise before sending.

</Workflow - Provide Measure Calculation Code>

TaskLanguage(s)Reference file
Continuous enrollment checkPython, SQLreferences/continuous-enrollment.md
HEDIS measure rate calculationPython, SQLreferences/hedis-measure.md
Care gap detection and prioritizationPythonreferences/care-gap-detection.md
Utilization rates (ED, inpatient, readmission)SQLreferences/utilization-rates.md
High-cost claimant identificationPythonreferences/high-cost-claimants.md
Risk stratification (Charlson, LACE)Pythonreferences/risk-stratification.md
Measure rate stratified by plan/providerSQLreferences/measure-stratification.md

Supporting references:

  • references/approach-selection.md: scenario-to-approach guidance (single vs batch, data source, enrollment topology).
  • references/parameters.md: default parameter values and their meanings.
  • references/common-pitfalls.md: the calculation mistakes that most often produce wrong rates.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Hedis Measure Calculation AI skill do?

Provide deterministic Python and SQL for calculating Healthcare Effectiveness Data and Information Set (HEDIS) quality measures from claims and clinical data. Use when asked to 'calculate a HEDIS measure', 'check continuous enrollment', 'detect care gaps', 'compute utilization rates', 'identify high-cost claimants', 'score a risk index', or any healthcare quality measure calculation task.

Why use Hedis Measure Calculation on TypingMind?

Because you install it once and use it with any model. Hedis Measure Calculation is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hedis Measure Calculation in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Amazon-Quick/Amazon-Quick-official-catalog/tree/main/skills/healthcare/hedis-measure-calculation. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Hedis Measure Calculation?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hedis Measure Calculation?

As many as you like. As long as a model supports skills, you can use Hedis Measure Calculation with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hedis Measure Calculation AI skill free?

Yes. It is published on GitHub by Amazon-Quick under the MIT-0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇