Prior Authorization Decision Automation logo

Prior Authorization Decision Automation

Organization
Amazon-Quick
prior-authorization-decision-automation

Generate deterministic code and pipeline recipes for automating prior authorization (PA) workflows: parsing X12 278 and FHIR PAS requests, extracting clinical features, rules-based adjudication, training machine learning classifiers, and analyzing denial patterns. Use when asked to 'parse a prior authorization request', 'build a PA adjudication engine', 'train a PA decision model', 'explain a PA denial', 'analyze denial patterns', or any prior authorization automation task

Overview

PublisherAmazon-Quick
RepositoryAmazon-Quick-official-catalog
Skill nameprior-authorization-decision-automation
Stars
50
Forks
4
Bundled files
7
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.

  • 7 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 Prior Authorization Decision Automation 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/prior-authorization-decision-automation
  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/prior-authorization-decision-automation .claude/skills/prior-authorization-decision-automation
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Prior Authorization Decision Automation 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 Prior Authorization Decision Automation 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 Prior Authorization Decision Automation 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 code and pipeline recipes for automating prior authorization (PA) workflows: parsing inbound requests, extracting clinical features, applying rules-based adjudication, training machine learning (ML) classifiers, and analyzing denial patterns. Use it when building or debugging X12 278 or FHIR PAS parsers, constructing an adjudication engine, training or explaining a PA decision model, or investigating systemic denial patterns. The skill delivers working code the user deploys in their own pipeline; it does not make or transmit real coverage decisions.

Workflow

<Workflow - Automate a Prior Authorization Task description="Identify the PA task, choose the right approach, and deliver one working code artifact from the reference recipes." tools=[file_read, file_write, run_python] triggers=["parse a prior authorization request", "build a PA adjudication engine", "train a PA decision model", "explain a PA denial", "analyze denial patterns", "any prior authorization automation task"]

  1. [Decide] Which PA task does the user need? Match to a reference recipe:

    • Parsing inbound X12 278 or FHIR PAS requests -> references/pa-request-parsing.md
    • Building the feature vector for adjudication -> references/feature-extraction.md
    • Rules-based adjudication -> references/rules-engine.md
    • Training or explaining an ML classifier -> references/ml-classifier.md
    • Analyzing denial patterns or reason codes -> references/denial-analysis.md Validate: Exactly one primary task is identified. If fails: [Ask user] Ask which task they need, listing the five options above.
  2. [Decide] If the task is adjudication or model building, choose the approach using <Resource - Automation Approach Selection>. Validate: A rules-engine, ML, or hybrid choice is made and its rationale stated. If fails: [Ask user] Ask how many historical decisions they have and whether the criteria are clear-cut or soft, then re-decide.

  3. [Agent] Read the matching reference file (and references/reference-tables.md when the task involves ML hyperparameters or documentation scoring) via file_read. Validate: The reference content loaded and is non-empty. If fails: Report the path that failed and retry once.

  4. [Ask user] Confirm the inputs the recipe needs (input format, available data tables, per-payer policy config, output destination if code is to be saved to a file). Validate: The user supplies or confirms the required inputs. If fails: State which input is missing and re-ask.

  5. [Agent] Produce one complete working code artifact adapted to the confirmed inputs, following the response structure in (confirm inputs, code, key parameters, gotchas). If the user asked to save it, write it with file_write to the path they gave per Rule 1 and on output destinations. Validate: The artifact is a single self-contained example within the size target and uses only the confirmed inputs. If fails: Trim to one example and re-present.

  6. [Decide] Is the artifact sandbox-runnable (parsing, feature extraction, or rules engine) and does the user want it validated?

    • Yes -> [Agent] Run it in run_python against small synthetic sample data to confirm it executes, then report the result. Validate: execution completes without error. If fails: Fix the error and re-run once, or report the blocker.
    • No (ML training or SHAP) -> state that it must run in the user's own environment per Rule 6 and skip execution.
  7. [Agent] Close with the applicable gotchas from and the liability reminder from Rule 2. Validate: The response ends with the relevant caveats. If fails: Add the missing caveats.

</Workflow - Automate a Prior Authorization Task>

<Resource - Automation Approach Selection> Look up the row matching the user's situation to choose an approach.

ConditionApproachRationale
Clear-cut policy rules (step therapy, age, lab threshold)Rules engineAuditable, deterministic, regulatory-safe
Ambiguous cases with soft criteriaML classifier plus SHAPHandles nuance; SHAP provides explainability
Fewer than 1000 historical decisions availableRules engine onlyInsufficient data for reliable ML training
Multi-payer deploymentSeparate model per payerPolicies differ; cross-payer models fail
Input is X12 278 (EDI)parse_278() then segment iterationPipe-delimited, segment-based
Input is FHIR PAS Bundleparse_pas_bundle() then resource extractionJSON, resource-typed entries
</Resource - Automation Approach Selection>

<Resource - Reference Files>

  • references/pa-request-parsing.md: X12 278 and FHIR PAS Bundle parsers (standard library, sandbox-runnable).
  • references/feature-extraction.md: feature set table and pandas extraction code.
  • references/rules-engine.md: deterministic adjudication engine and reason codes.
  • references/ml-classifier.md: XGBoost training and SHAP explainability (user's own environment only).
  • references/denial-analysis.md: denial pattern analysis and the reason-code reference table.
  • references/reference-tables.md: hyperparameter ranges, documentation completeness weighting, and common mistakes. </Resource - Reference Files>

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 Prior Authorization Decision Automation AI skill do?

Generate deterministic code and pipeline recipes for automating prior authorization (PA) workflows: parsing X12 278 and FHIR PAS requests, extracting clinical features, rules-based adjudication, training machine learning classifiers, and analyzing denial patterns. Use when asked to 'parse a prior authorization request', 'build a PA adjudication engine', 'train a PA decision model', 'explain a PA denial', 'analyze denial patterns', or any prior authorization automation task

Why use Prior Authorization Decision Automation on TypingMind?

Because you install it once and use it with any model. Prior Authorization Decision Automation 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 Prior Authorization Decision Automation 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/prior-authorization-decision-automation. 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 Prior Authorization Decision Automation?

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 Prior Authorization Decision Automation?

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

Is the Prior Authorization Decision Automation 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 👇