Tuning detections to reduce false positives

From meltedinhex/analyst-ai-pack · View interactive version

Tuning detections to reduce false positives is an AI agent skill from the GitHub repository meltedinhex/analyst-ai-pack. Tunes noisy detections by analyzing historical alert data to quantify false-positive sources, recommend allow-list filters and threshold adjustments, and measure precision impact. Activates for requests to tune a detection, reduce false positives, or analyze alert noise and recommend filters.

How to use this skill

Skill file

Tuning Detections to Reduce False Positives

When to Use

fields/values drive the noise, what filters to add, and the precision impact.

Do not use tuning that suppresses true positives — filters must target benign noise, not the

malicious pattern. Always estimate the impact on true positives before applying.

Prerequisites

false_positive) and the alert's distinguishing fields.

Workflow

Step 1: Quantify false-positive sources

python scripts/analyst.py analyze alerts.csv --label verdict --field ParentImage

Ranks field values by how much false-positive volume they drive and computes current

precision/false-positive rate.

Step 2: Recommend filters

Suggest allow-list filters for values that are overwhelmingly benign (high FP, no/low TP), with the

projected precision gain.

Step 3: Estimate impact

Report how many true positives would be lost (should be zero/near-zero for safe filters).

Step 4: Apply and monitor

Add the safe filters to the rule's filter/exclusion and continue monitoring precision.

Validation

Pitfalls

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.