claims-anomaly-detection — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited claims-anomaly-detection (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Anomalies in healthcare data come in two flavors that this skill handles together: data errors (a $90,000 office visit, an impossible date, a unit count of 9999) and behavioral outliers (a provider billing a procedure 50× the peer rate). The skill provides a layered detector robust statistics first, unsupervised ML second, optional supervised scoring third with explainable reasons for every flag so an analyst can act on it.
resistant to the very outliers we seek) on amounts, units, lengths-of-stay.
procedure, region) using percentile bands; flag extreme deviation.
autoencoder reconstruction error over engineered claim features.
per-provider or per-DRG cost/volume trends.
classifier and calibrate; otherwise stay unsupervised.
from sklearn.ensemble import IsolationForest
import numpy as np, pandas as pd
feats = ["billed_amount","units","los_days","amount_per_unit","provider_zscore"]
X = claims[feats].fillna(0).values
iso = IsolationForest(n_estimators=300, contamination=0.01, random_state=42).fit(X)
claims["anomaly_score"] = -iso.score_samples(X) # higher = more anomalous
claims["is_anomaly"] = iso.predict(X) == -1
# Robust univariate cross-check (MAD)
def mad_z(s):
med = s.median(); mad = (s - med).abs().median() or 1e-9
return 0.6745 * (s - med) / mad
claims["amount_mad_z"] = mad_z(claims["billed_amount"])
flagged = claims[(claims.is_anomaly) | (claims.amount_mad_z.abs() > 5)]# Per-record explanation: which features pushed the score up
import shap
expl = shap.TreeExplainer(iso)
top_reasons = expl.shap_values(X[flagged.index]) # hand to explainable-ml-healthcarePure unsupervised detection has no ground truth, so tune contamination to a review- capacity budget (e.g., top 1%), and measure precision@k against analyst dispositions to build a feedback loop. Watch for concept drift and re-fit on a rolling window. Always attach a human-readable reason (which feature, how far from peer) an unexplained flag is an unusable flag.
anomaly_scores.parquet record id, score, binary flag, top contributing features.provider_outliers.csv peer-group ranked outliers for FWA triage.timeseries_alerts.json points breaching seasonal expectation bands.anomaly_report.md method, thresholds, flag rate, example explanations.Designed for 837/claim-line schemas (billed/allowed/paid amounts, units, POS, DRG, revenue codes). Complements healthcare-data-quality-profiling (rule-based validity) by catching the statistical anomalies rules miss. FWA outputs are signals for review, not accusations or adjudication.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.