跳到正文
cccskills
Claude 官方免费在 GitHub 公开

fraud-detection

Screen a Medicare/Medicaid claims corpus for fraud, waste, and abuse and produce ranked, fully-cited investigation referrals for an SIU / program-integrity team. Use when asked to run a fraud sweep, screen claims for FWA, find billing anomalies, or generate investigation referrals over a claims dataset.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(104)

  • SKILL.md10.7 KB
  • .gitignore20 B
  • ARCHITECTURE.html23.9 KB
  • claims-schema.sql5.0 KB
  • LOAD-CLAIMS.md7.0 KB
  • package.json159 B
  • PROPOSE-DETECTORS.md2.1 KB
  • README.md4.9 KB
  • REFERENCE-DATA.md8.8 KB
  • scripts/apply-stages.js5.0 KB
  • scripts/CLAUDE.md4.6 KB
  • scripts/cohort-slice.js1.6 KB
  • scripts/d01-impossible-day.js3.4 KB
  • scripts/d02-unbundling.js3.2 KB
  • scripts/d03-phantom-billing.js6.1 KB
  • scripts/d04-medical-necessity.js3.3 KB
  • scripts/d07-outlier.js6.1 KB
  • scripts/d09-ineligible-orderer.js3.5 KB
  • scripts/d10-revoked-provider.js2.6 KB
  • scripts/d11-non-payable-code.js1.9 KB
  • scripts/d12-duplicate-claim.js2.8 KB
  • scripts/d13-global-period.js3.1 KB
  • scripts/d14-opt-out.js2.5 KB
  • scripts/d15-dme-outlier.js4.5 KB
  • scripts/d16-prescribing-outlier.js4.4 KB
  • scripts/d17-market-saturation.js4.3 KB
  • scripts/d18-ownership-ring.js3.4 KB
  • scripts/d19-nemt-unanchored.js2.0 KB
  • scripts/d20-hcbs-overlap.js2.3 KB
  • scripts/d21-third-party-liability.js2.4 KB
  • scripts/d22-telehealth-implausible.js2.7 KB
  • scripts/duck.js1.9 KB
  • scripts/enrichment.js2.0 KB
  • scripts/fetch-enrichment.js5.0 KB
  • scripts/fetch-nppes.js3.7 KB
  • scripts/fetch-reference.js28.7 KB
  • scripts/finding-view.js27.3 KB
  • scripts/gate.js10.9 KB
  • scripts/paths.js1.2 KB
  • scripts/pipeline.js6.7 KB
  • scripts/reference-data.js22.4 KB
  • scripts/registry.js1.6 KB
  • scripts/render-dashboard.js19.4 KB
  • scripts/render-packet.js7.7 KB
  • scripts/render-xlsx.js4.4 KB
  • scripts/screen.js6.3 KB
  • scripts/source-row.js5.8 KB
  • scripts/sources.js10.1 KB
  • scripts/summaries.js2.1 KB
  • state-policy/ak.json4.9 KB
  • state-policy/al.json4.9 KB
  • state-policy/ar.json3.9 KB
  • state-policy/az.json4.2 KB
  • state-policy/ca.json4.2 KB
  • state-policy/co.json4.2 KB
  • state-policy/CRAWL.md2.7 KB
  • state-policy/ct.json5.3 KB
  • state-policy/dc.json4.9 KB
  • state-policy/de.json4.3 KB
  • state-policy/fl.json5.4 KB
  • state-policy/ga.json3.4 KB
  • state-policy/hi.json4.4 KB
  • state-policy/ia.json3.5 KB
  • state-policy/id.json4.2 KB
  • state-policy/il.json4.2 KB
  • state-policy/in.json4.2 KB
  • state-policy/ks.json3.5 KB
  • state-policy/ky.json4.9 KB
  • state-policy/la.json3.9 KB
  • state-policy/ma.json5.2 KB
  • state-policy/md.json4.5 KB
  • state-policy/me.json4.5 KB
  • state-policy/mi.json3.7 KB
  • state-policy/mn.json4.8 KB
  • state-policy/mo.json3.8 KB
  • state-policy/ms.json4.2 KB
  • state-policy/mt.json4.0 KB
  • state-policy/nc.json4.2 KB
  • state-policy/nd.json4.4 KB
  • state-policy/ne.json4.3 KB
  • state-policy/nh.json5.8 KB
  • state-policy/nj.json4.4 KB
  • state-policy/nm.json5.6 KB
  • state-policy/nv.json4.5 KB
  • state-policy/ny.json2.5 KB
  • state-policy/oh.json4.1 KB
  • state-policy/ok.json5.2 KB
  • state-policy/or.json4.3 KB
  • state-policy/pa.json5.0 KB
  • state-policy/ri.json4.4 KB
  • state-policy/sc.json3.4 KB
  • state-policy/sd.json4.8 KB
  • state-policy/STATES.md12.1 KB
  • state-policy/tn.json4.9 KB
  • state-policy/tx.json4.7 KB
  • state-policy/ut.json5.4 KB
  • state-policy/va.json5.9 KB
  • state-policy/vt.json3.9 KB
  • state-policy/wa.json4.4 KB
  • state-policy/wi.json3.7 KB
  • state-policy/wv.json3.8 KB
  • state-policy/wy.json5.3 KB
  • workflows/investigate.js21.9 KB
  • workflows/propose-detectors.js15.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Fraud Detection — claims screening → cited investigation

Screens a Medicare/Medicaid claims corpus against the public rulebook (NCCI MUE, OIG LEIE, CMS enrollment, PFS) and produces ranked, fully-cited investigation referrals for an SIU. The skill orchestrates a three-tier investigation: a deterministic floor does the detection, the model judges and narrates on top, and every dollar/rule allegation traces back to the floor.

Output framing

  • "Indicators consistent with [scheme]," not "fraud." A pattern match doesn't establish intent — that's a downstream investigative/legal determination. This is standard SIU language and the framing the renderers use.
  • Render for review. The skill writes packets to $CLAUDE_HEALTHCARE_DATA/fraud-detection/out/; the payer's SIU workflow decides what to do with them. The model does not send/publish on its own.

Inputs

  • The payer's claims in corpus.duckdb (canonical 6-table schema: claims-schema.sql). Getting this is step 1 below — without it nothing else matters.
  • Quarter (the NCCI/PFS rule set to cite against, e.g. 2026q3).
  • Line of business (medicare / medicaid).

Data root

All fetched/generated state lives outside the plugin install path (which is wiped on upgrade) at ~/.claude/data/healthcare/fraud-detection/ — override the parent dir with $CLAUDE_HEALTHCARE_DATA (each skill appends its own name). Below, data-cache/ and out/ are subdirectories of $CLAUDE_HEALTHCARE_DATA/fraud-detection. Resolve it once at the start of a run:

export CLAUDE_HEALTHCARE_DATA="${CLAUDE_HEALTHCARE_DATA:-$HOME/.claude/data/healthcare}"

Steps

  1. Get the payer's claims into corpus.duckdb. Open with: "Where do your adjudicated claims live?" and follow ${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/LOAD-CLAIMS.md — it walks you and the user from "I don't know" to a populated $CLAUDE_HEALTHCARE_DATA/fraud-detection/data-cache/corpus.duckdb. If they already have a .duckdb with the canonical tables (schema: ${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/claims-schema.sql), use it directly.

    Draft the brief (corpusDb path, quarter, line of business) and confirm scope.

  2. Seed the public reference layer (first run / new quarter only). Detectors cite against $CLAUDE_HEALTHCARE_DATA/fraud-detection/data-cache/reference/<quarter>/reference.duckdb. If that file is missing for the requested quarter, fetch it now — this prints per-source ✓ name (size) progress as ~34 sources land:

    node "${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/scripts/fetch-reference.js" 2026q3
    node "${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/scripts/fetch-enrichment.js"
    

    Requires unzip and pdftotext (poppler) on PATH; both ship with most distros / brew install poppler. Needs real network egress — if you see "Could not resolve host" for cms.gov / oig.hhs.gov, the command sandbox is blocking it; re-run with sandbox disabled. Policy PDFs (NCCI manual, MLN articles) land under reference/<q>/policy/*.txt for grep; everything keyed lands in reference.duckdb. Skip if already present. If a fetch fails or a table is missing, see REFERENCE-DATA.md for source URLs and recovery.

  3. Create the run directory. Each invocation lands in its own minute-stamped directory so prior runs are preserved side-by-side. Every script honors FRAUD_OUT_DIR:

    export FRAUD_OUT_DIR="$CLAUDE_HEALTHCARE_DATA/fraud-detection/out/run-$(date +%Y%m%d-%H%M)"
    mkdir -p "$FRAUD_OUT_DIR"
    echo "$FRAUD_OUT_DIR"
    

    Use the printed absolute path verbatim as outDir in the next step.

  4. Run the investigation by calling the Workflow tool with:

    • scriptPath: ${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/workflows/investigate.js
    • args: { "corpusDb": "<abs path to corpus.duckdb>", "quarter": "2026q3", "lob": "medicaid", "pluginRoot": "${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection", "dataRoot": "<abs $CLAUDE_HEALTHCARE_DATA/fraud-detection>", "outDir": "<abs FRAUD_OUT_DIR from step 3>" }

    The workflow runs three stages (see "How it works"):

    • Detect — runs the deterministic sweep (scripts/screen.js, zero model) → $FRAUD_OUT_DIR/referrals.detect.json.
    • Adjudicate — one agent per judgment-required finding (D2/D4/D7/D13) sets status + adjudication.reason; mechanical detectors auto-confirm. Adjudicate may dismiss or downgrade, never add.
    • Synthesize — one agent per provider writes the investigator narrative, plus novel-lead discovery with adversarial verification.

    Tell the user they can watch the fan-out live with /workflows.

  5. Materialize the stage snapshots + render (required — this is the reviewable deliverable). The workflow sandbox has no filesystem, so write its return to disk and let apply-stages.js produce the auditable spine. FRAUD_OUT_DIR does not persist across separate Bash calls — re-export it (to the same absolute path you printed in step 3) at the top of every shell block that needs it: Use the Write tool to save the workflow's return JSON verbatim to $FRAUD_OUT_DIR/workflow-result.json (it can be 50KB+ — don't heredoc it through Bash). Then:

    export FRAUD_OUT_DIR="<abs path from step 3>"
    node "${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/scripts/apply-stages.js"
    

    This writes $FRAUD_OUT_DIR/referrals.adjudicated.json, referrals.final.json, referrals.json (canonical, = final), and the renderer sidecars (source-excerpts.json, providers.json).

    Then render the packets FIRST, then the dashboard (the dashboard only links a provider row to its packet if that packet file already exists), then the xlsx:

    export FRAUD_OUT_DIR="<abs path from step 3>"
    node "${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/scripts/render-packet.js" --all
    node "${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/scripts/render-dashboard.js"
    node "${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/scripts/render-xlsx.js"
    

    → $FRAUD_OUT_DIR/provider-packet-<npi>.html ×N, index.html, referrals.xlsx.

  6. Show the dashboard so the user can validate it visually.

    • Claude Code Desktop with the preview tool available: serve the run directory and open it in the side-pane preview — npx serve "$FRAUD_OUT_DIR" (the dashboard is index.html, so the root URL is the dashboard; packet links resolve as siblings).
    • Otherwise (terminal CLI, no preview tool): use the OS opener on $FRAUD_OUT_DIR/index.html — try in order, stop at the first that works:
      f="$FRAUD_OUT_DIR/index.html"
      open "$f" 2>/dev/null \            # macOS
        || xdg-open "$f" 2>/dev/null \   # Linux
        || wslview "$f" 2>/dev/null \    # WSL
        || powershell.exe start "$(wslpath -w "$f")" 2>/dev/null \  # WSL→Windows fallback
        || cmd.exe /c start "" "$f" 2>/dev/null \                   # Windows
        || echo "Could not auto-open; open manually: $f"
      

    Skip this entirely in a headless/non-interactive run (eval, CI, Cowork) — just report the path. Don't fail the run if opening/serving fails.

  7. Relay: the ranked referrals (NPI, schemes, exposure $, confidence) and total exposure from the workflow result, verbatim where it cites numbers. Surface meta.disclaimer if it is set. Do not add any dollar or rule the deterministic floor did not produce. End the response with the run-directory path on its own line so downstream graders/tools can locate the artifacts:

    Run directory: <absolute $FRAUD_OUT_DIR>
    
  8. Close the loop (optional) — see ${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/PROPOSE-DETECTORS.md to mine this run for new detector candidates and payer-specific adjudicate-time checks.

The inviolable line

The model adjudicates, explores, and narrates freely, but any dollar or rule allegation must trace to a detect-stage deterministic recompute (the gate in scripts/gate.js). Adjudicate may dismiss or downgrade a finding (with an auditable reason) — it never adds one or changes its dollars. Synthesize narratives are separate, clearly-marked model output and never introduce a number the floor did not compute.

Enrichment — local cached data (canonical), MCPs for interactive only

The deterministic pipeline reads enrichment from local cached files (scripts/fetch-enrichment.js → $CLAUDE_HEALTHCARE_DATA/fraud-detection/data-cache/enrichment/, loaded via scripts/enrichment.js) — no runtime auth, no drift, fully reproducible. The healthcare plugin's bundled MCP servers (CMS Coverage / ICD-10 / NPI Registry) are for interactive adjudicate/synthesize exploration only; the pipeline does not depend on them.

  • ICD-10-CM — code validity / description (NLM Clinical Tables)
  • CMS Coverage (LCD/NCD) — medical-necessity policy index; cached, feeds D4 adjudication
  • NPI Registry — provider taxonomy/status

How it works (plugin layout)

  • Entry skill — this file; orchestrates the workflow, never does the math.
  • Workflow — workflows/investigate.js (Claude Code dynamic Workflow): Detect → Adjudicate → Synthesize.
  • Deterministic sweep — scripts/screen.js <corpus.duckdb> <quarter> <lob> runs all detectors and writes $FRAUD_OUT_DIR/referrals.json. Zero model calls.
  • Detectors — scripts/dNN-*.js (one deterministic module each, sharing the Finding shape).
  • Pipeline — scripts/pipeline.js (run → gate → roll up → rank → referrals.json).
  • Citation gate — scripts/gate.js (independently recomputes every cited number; uncited or non-reproducing findings are dropped — "citation-or-zero").
  • Reference data — scripts/reference-data.js loads $CLAUDE_HEALTHCARE_DATA/fraud-detection/data-cache/reference/ (NCCI/MUE, LEIE, PFS, enrollment), fetched by scripts/fetch-reference.js, versioned by date-of-service quarter.
  • Enrichment — scripts/enrichment.js loads $CLAUDE_HEALTHCARE_DATA/fraud-detection/data-cache/enrichment/, fetched by fetch-enrichment.js.
  • Stage merge — scripts/apply-stages.js (workflow return → referrals.adjudicated.json / .final.json).
  • Renderers — scripts/render-dashboard.js (→ index.html), render-packet.js, render-xlsx.js → $FRAUD_OUT_DIR/.

Every allegation cites a public rule with a value the gate independently recomputes, or it is dropped.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

clinical-note-extract-skill

Claude 官方免费

Extract structured data from clinical notes with span-level provenance and null-safety. Use when users say "extract [variables] from this note", "abstract this chart", "pull structured data from these notes", "what does this note say about [field]", or when building a chart-abstraction, registry, or cohort dataset from unstructured clinical text.

中文简介正在准备中。当前显示原文说明。

anthropics/healthcare4292026年8月27日 更新

Generate clinical trial protocols for medical devices or drugs. This skill should be used when users say "Create a clinical trial protocol", "Generate protocol for [device/drug]", "Help me design a clinical study", "Research similar trials for [intervention]", or when developing FDA submission documentation for investigational products.

中文简介正在准备中。当前显示原文说明。

anthropics/healthcare4292026年8月27日 更新

contracts

Claude 官方免费

Answer a question across a corpus of contract documents with verified citations. Use when the user asks what a contract says, which contracts have a clause, what changed between amendments, or any question that needs reading and citing across a set of contract files. The corpus must be on the local filesystem (see README).

中文简介正在准备中。当前显示原文说明。

anthropics/healthcare4292026年8月27日 更新

doc-extract

Claude 官方免费

Extract plain text from a document file - PDF, DOCX, XLSX, PPTX, RTF, or plain text/markdown/HTML. Use when a binary document needs to be turned into text, for example a contract PDF or an EHR DocumentReference attachment. Other skills (fhir) invoke scripts/extract.ts directly; the contracts MCP server bundles its own copy (servers/documents/src/extract.mjs) so its bundle stays self-contained — port fixes to both.

中文简介正在准备中。当前显示原文说明。

anthropics/healthcare4292026年8月27日 更新

fhir

Claude 官方免费

Connect to a hospital's FHIR R4 server (Epic, Oracle Health/Cerner, MEDITECH, athenahealth, or any SMART-on-FHIR endpoint), pull a patient's clinical data and notes, and extract structured findings. Use when users say "connect to the EHR", "connect to Epic/Cerner", "pull notes for patient X", "what do the last 6 months of notes say about Y", or any task that starts from a live EHR rather than pasted text.

中文简介正在准备中。当前显示原文说明。

anthropics/healthcare4292026年8月27日 更新

fhir-developer-skill

Claude 官方免费

FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth scopes, (4) Working with Bundles, transactions, batch operations, or search pagination. Covers FHIR R4 resource structures, required fields, value sets (status codes, gender, intent), coding systems (LOINC, SNOMED, RxNorm, ICD-10), and OperationOutcome error handling.

中文简介正在准备中。当前显示原文说明。

anthropics/healthcare4292026年8月27日 更新

查看 anthropics 的全部技能

报告此技能的问题