Coding Rationale

Assembles the cited documentation evidence for the visit level and diagnosis codes already on the claim and flags every element the note does not support. If asked to change, pick or upgrade a code it still builds the rationale and declines the change. Use when the user says "why is this coded 99214?", "does the note support this diagnosis?", "build the coding rationale", "what backs up this claim?" or "the coder is asking for the evidence". Do NOT use for quality-measure status - use quality-gap-check instead; do NOT use for documentation drafting - use document-derive instead; do NOT use to

110 stars 122 forksSoftware DevelopmentOfficial

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add microsoft/cat-agent-skills --skill coding-rationale
Manual install
git clone --depth 1 https://github.com/microsoft/cat-agent-skills.git /tmp/cat-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cat-agent-skills/submissions/clinical-documentation-companion/coding-rationale ~/.claude/skills/coding-rationale

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Coding Rationale
## Purpose
Give the coder/biller a cited rationale draft for the codes already on the claim - never a proposed code.
## When to use
After note-context, whenever `claim.visit_level` or `claim.elements` exist - triggered by "why is this coded
99214?", "does the note support this diagnosis?", "build the coding rationale", "what backs up this claim?". Also
when the request mixes a rationale with a code change ("bump it to 99215"): build the rationale, decline the change.
## When NOT to Use
- Quality-measure status - use quality-gap-check instead.
- Drafting patient or referral documents - use document-derive instead.
- Extracting facts from the note - use note-context instead.
- Submitting the claim - nothing in this plugin submits anything.
## Inputs
note_facts with citations; claim.visit_level and claim.elements (each naming the note_facts key that supports it);
config/escalation-policy.json; the user's live message.
## Steps
1. If note_facts are already on the contract with citations, use them; otherwise run note-context first.
2. Copy the contract to a working file and append the user's message verbatim to `messages`.
3. Run the tool: `python3 base/scripts/quality_gap_engine.py --question <working.json> --measures
   config/quality-measures.json --policy config/escalation-policy.json --out <out.json>`. Never decide support
   yourself.
4. Read back `coding_rationale.supported[]`, `unsupported_flags[]` and `change_requests_refused[]`.
Read the full skill on GitHub

Details

Skill name
coding-rationale
Path
submissions/clinical-documentation-companion/coding-rationale/SKILL.md
License
MIT
Repo updated
15 November 2026

FAQ

What does the Coding Rationale skill do?

Assembles the cited documentation evidence for the visit level and diagnosis codes already on the claim and flags every element the note does not support. If asked to change, pick or upgrade a code it still builds the rationale and declines the change. Use when the user says "why is this coded 99214?", "does the note support this diagnosis?", "build the coding rationale", "what backs up this claim?" or "the coder is asking for the evidence". Do NOT use for quality-measure status - use quality-gap-check instead; do NOT use for documentation drafting - use document-derive instead; do NOT use to

How do I install the Coding Rationale skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add microsoft/cat-agent-skills --skill coding-rationale. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Coding Rationale popular?

It lives in microsoft/cat-agent-skills, which has 110 GitHub stars and 122 forks.

Related skills

3 Statements

110

microsoft/cat-agent-skills

Completes existing income statement, balance sheet and cash flow templates while preserving layout, grounding historical inputs and linking forecast formulas with reconciliation checks. Use for "fill in a 3-statement template", "complete an IS/BS/CF framework", "populate my integrated financial model", "link statements in this template", or "finish the forecasts in my three-statement workbook". Do NOT use for blank-slate models or general workbook edits (use xlsx), DCF valuation (use dcf-valuation), or buyout modeling (use lbo-model).

AI, LLMs & Agents122

Accessibility Pass

110

microsoft/cat-agent-skills

Use this skill whenever the user asks to check, review, or fix the accessibility of a PowerPoint deck, Word document, HTML page, or Markdown file, and before handing over any deck or document this agent just generated, so it does not ship with missing alt text, untitled slides, or unreadable colour contrast.

Frontend & Design122

Accessible Learning Materials

110

microsoft/cat-agent-skills

Maintains instructionally equivalent, accessible variants of a set of learning materials — lessons, readings, slides, and handouts — with parity checks against the original learning goals and recorded approvals. Use when the user asks to "make these materials accessible", "audit this lesson set for accessibility", "create an accessible version of this reading", "check reading level and alt text", or "keep my accessible variants in sync". Do NOT use for individual student accommodation or support-plan decisions (IEP, EHCP, or local equivalent), and do NOT use for generic document formatting (us

Learning & Education122

Deadline Track

110

microsoft/cat-agent-skills

Deterministic engine: calculates the appeal deadline and days remaining from today, flags urgent and expired deadlines on every queued claim, ranks the queue by deadline then recoverable value, and enforces the coding-integrity boundary. Use when asked "when is this appeal due", "how many days do we have left", "which denial should we work first", "can we recode this to a 99215 and refile", "that payer isn't in our config, just use 30 days". Run before appeal-draft and again as the last step of every run. Do NOT use for drafting the letter - use appeal-draft instead; do NOT use for gathering e

Software Development122

Code Map

110

microsoft/cat-agent-skills

Maps drafted time entries to the client phase and task codes with the deterministic code_map engine and flags submitted-code mismatches with citations; it recommends codes only. Use it after narrative-draft and before guideline-check when the user asks "what code should this entry use?", "map my time to billing codes", "is this task code wrong?", "check my phase and task codes" or "recommend phase codes for my entries". Do NOT use for gathering activity (use activity-pull), narrative wording (use narrative-draft), overall compliance or rejection risk (use guideline-check), recoding entries in

Software Development122

Denial Classify

110

microsoft/cat-agent-skills

Parses a post-service denial letter or remittance (X12 835 / EOB) into denial type, CARC/RARC reason codes, amounts and appeal level, with every field cited to its source. Use when asked "we got a denial from Contoso", "what kind of denial is this", "read this remittance / EOB / 835", "why was this claim denied", "start an appeal on claim CLM-10021". Use at the start of every denials-and-appeals run. Do NOT use for pre-service prior-authorization denials - use the prior-auth-assist plugin instead; do NOT use to draft or redraft the appeal letter - use appeal-draft instead; do NOT use to pull c

Software Development122

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.