Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for pharmacists

Opioid Safety Review Agent

Make sure each opioid fill is within safe limits, or the prescriber has reviewed it.

Opioid Safety Review Agent: what goes in, what the agent does and what you get

What it does

A new opioid prescription is one of the riskiest items a pharmacist reviews, and counting doses by hand is easy to get wrong. This agent runs when a prescription arrives. It calculates the daily dose in morphine equivalents, adds other opioids on the profile, checks for risky combinations such as benzodiazepines, and checks whether the patient has naloxone. If a threshold is crossed, it drafts a message to the prescriber with the numbers and options, and it tracks the reply. If the prescriber changes the plan, it recalculates the dose and checks again before filling. The pharmacist approves every message and the final fill. Edge case: the patient is switching products, so the agent adds the old dose to avoid underestimating risk.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueApprovedYes, continueApprovedNoNo 1 STARTS WHEN New opioid prescription received 2 USES A TOOL Read the profile and prescription 3 DOES Calculate daily dose in morphine equivalents 4 DOES Check combinations and naloxone status 5 CHECKS THE RESULT Is the dose below the set limit with no riskycombination? If not: draft a prescriber message with the numbers andoptions. Back to step 3. 6 YOU APPROVE Pharmacist approves the prescriber message 7 USES A TOOL Send and track the reply 8 CHECKS THE RESULT Did the plan change? If not: recalculate the dose and recheck combinations.Back to step 3. 9 YOU APPROVE Pharmacist approves the fill 10 RESULT Safety review recorded
Read the steps as a list
  1. New opioid prescription received
  2. Read the profile and prescription
  3. Calculate daily dose in morphine equivalents
  4. Check combinations and naloxone status
  5. Is the dose below the set limit with no risky combination?If not: draft a prescriber message with the numbers and options. Back to step 3.
  6. Pharmacist approves the prescriber messageThe agent waits here for your OK.
  7. Send and track the reply
  8. Did the plan change?If not: recalculate the dose and recheck combinations. Back to step 3.
  9. Pharmacist approves the fillThe agent waits here for your OK.
  10. Safety review recorded

How it decides

It flags a prescription at or above the set daily dose, with a benzodiazepine, or with no naloxone, and re-runs everything on any change.

  • Flag at or above 50 morphine milligram equivalents per day
  • Flag any benzodiazepine on the profile
  • Offer a naloxone discussion if none is on the profile
  • Count overlapping fills when switching products

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Daily dose threshold (default 50)
  • Combinations to flag
  • Prescriber response wait (default 24 hours)
  • Naloxone message

What keeps you in control

It always asks you first

  • Pharmacist approves prescriber messages
  • Pharmacist approves the fill

Hard limits

  • Never decide to fill or refuse
  • Never change doses

It stops when

  • Done: reviewed and filled or declined by the pharmacist
  • Stop: prescriber cannot be reached, pharmacist decides

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensA new prescription for oxycodone 10 mg four times a day came to 60 morphine equivalents. The profile also showed lorazepam and no naloxone. The check failed. The agent drafted a message listing the dose, the combination and a naloxone offer. The prescriber cut the dose to 5 mg four times a day. The agent recalculated at 30 and rechecked, and the pharmacist filled.

More agents for pharmacists