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…
от anthropics★ 467 звёзд на GitHubОб этом скилле
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
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.duckdbwith 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.
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
unzipandpdftotext(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 underreference/<q>/policy/*.txtfor grep; everything keyed lands inreference.duckdb. Skip if already present. If a fetch fails or a table is missing, seeREFERENCE-DATA.mdfor source URLs and recovery.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
outDirin the next step.Run the investigation by calling the Workflow tool with:
scriptPath:${CLAUDE_PLUGIN_ROOT}/skills/fraud-detection/workflows/investigate.jsargs:{ "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.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.jsproduce the auditable spine.FRAUD_OUT_DIRdoes not persist across separate Bash calls —
Установить fraud-detection в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл fraud-detection?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fraud-detection запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic