perception-triage-alert
БесплатноЗапускает вложенные скриптыНе проверенTriage a Defender alert with Microsoft Perception (Triage Agent via the Perception MCP). Checks the alert and whether its type is on Microsoft's documented…
от SCStelz★ 256 звёзд на GitHubОб этом скилле
Perception — Triage Alert
Purpose
Use Microsoft Perception's Triage Agent as an independent, agentic second opinion on a single Defender alert: true positive, false positive, or could not decide, with reasoning. Many tenants run it automatically, so a verdict often already exists; this skill finds it before spending anything. It complements incident-investigation / user-investigation and never replaces them: Perception is fast and broad, this repo is evidence-gated. A Perception verdict stays [asserted] until re-checked here.
Read first: .github/skills/perception-shared/REFERENCE.md: preconditions, input shapes, session lookup, polling, validation, evidence tags, output paths, remediation policy. This skill applies those rules; it does not repeat them.
Helper (deterministic, no network): triage_helper.py with a snapshot of Microsoft's supported-alert list (supported_alerts.json).
python .github/skills/perception-triage-alert/triage_helper.py check "<alert title>"
python .github/skills/perception-triage-alert/triage_helper.py parse-report <triage_report.md>
python .github/skills/perception-triage-alert/triage_helper.py compare --perception "<verdict>" --defender <classification>
python .github/skills/perception-triage-alert/triage_helper.py refresh <learn page saved by microsoft_docs_fetch> # when the Learn list changed
Entity: a Defender alert: its alert ID (the id that GetAlertById / ListAlerts return, e.g. da…_1, fa…-08df…) or a Defender portal alert link (…/alerts/<id>). A Sentinel SecurityAlert.SystemAlertId is not accepted: find the Defender alert ID (the alert's VendorOriginalId/ProviderAlertId, or AlertInfo.AlertId) and confirm it resolves with GetAlertById before using it. An incident number is not an alert: if given one, list its alerts and ask which to triage.
Workflow
Phase 0 — Preconditions
🔴 MCP GATE — do this before reading the session cache, saved reports, reports/, or Mission Control findings. Check that perception-mcp-* tools are available (use the tool search tool; they are deferred). If they are not: your reply MUST begin with the setup guidance — "The Perception MCP isn't configured in this session. Add an HTTP MCP server for https://perception.microsoft.com/mcp (e.g. .mcp.json: \"perception-mcp\": { \"type\": \"http\", \"url\": \"https://perception.microsoft.com/mcp\" }), sign in, reload MCP servers and retry. Needs Perception enabled in the tenant and Security Reader or higher. (Docs: https://learn.microsoft.com/en-us/security/agentic-security/agentic-security-mcp)" After the guidance you may offer a saved result for the same alert, labeled "saved result, not re-validated — Perception MCP unavailable" [asserted]. In this offline mode you must NOT write or edit any report, post a Mission Control finding, update temp/perception_sessions.json or the session cache, run new analysis queries, or suggest follow-ups that need fresh Perception data. A saved report is never a reason to skip the guidance. Full rules: REFERENCE §1.1. Then state the active tenant.
Phase 1 — Alert facts and alert-type check (read-only)
GetAlertById(Sentinel Triage MCP) for the alert. The response is large (full evidence arrays, names, UPNs, hostnames): read only the header fields and never copy evidence into tracked files. Keep:title,severity,status,classification,determination,serviceSource/detectionSource,createdDateTime,assignedTo,incidentId,alertWebUrl,incidentWebUrl. Show the alert link (it carries?tid=) and the incident linkhttps://security.microsoft.com/incidents/<incidentId>?tid=<tenant_id>. If the lookup fails, stop and say so (wrong ID type is the usual cause; Sentinel IDs are not accepted).- Alert-type check (mandatory):
triage_helper.py check "<title>".- LISTED: say which Learn category it matched (snapshot date shown).
- NOT LISTED: Microsoft documents only a subset of alert types and says it grows, so this is a warning, not a refusal. Tell the user: "Not on Microsoft's documented Triage Agent list (snapshot
), so a verdict is not guaranteed." and, from this tenant's earlier runs, that unlisted types have behaved both ways (Entra ID Protection sign-in alerts received verdicts; a Safe Links click alert returned Not set, partly because the email content was gone). If the snapshot may be stale, re-read the Learn page (microsoft_docs_fetchthesourceURL) andrefresh. Ask before continuing (reading existing sessions needs no confirmation; a new run does, and the unlisted warning goes into that prompt).
- Alert state: Microsoft's prerequisites say the agent does not triage resolved alerts (automatic mode) and that alerts on Defender for Endpoint device groups the agent identity c
Установить perception-triage-alert в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл perception-triage-alert?
Triage a Defender alert with Microsoft Perception (Triage Agent via the Perception MCP). Checks the alert and whether its type is on Microsoft's documented Triage Agent list (warns, never silently refuses, when it is not), reuses an existing Perception triage session for that alert if one exists (manual or automatic), otherwise (after confirmation) starts the Triage alert playbook, polls it, validates the result (a "Not set" classification is inconclusive, not clean), and presents the verdict and reasoning tagged as Perception output next to Defender's current classification of the alert, flagging disagreements for a human. Optionally compares with this repo's own incident investigation and verifies Perception's claims. Requires the Perception MCP; stops politely if it is not configured. Trigger keywords: "perception triage alert", "triage this alert with perception", "perception triage verdict", "did perception triage this alert", "is this alert a false positive perception", "perception alert verdict".
Как установить скилл perception-triage-alert?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл perception-triage-alert запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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