Command Palette

Search for a command to run...

Назад к скиллам
скилл № 69197

perception-protect-against-threat

Run (or reuse) Microsoft Perception's "Protect against a threat" playbook for a threat-intelligence article via the Perception MCP. The multi-agent run…

БесплатноБез исполняемых скриптов
SCStelzот SCStelz★ 256 звёзд на GitHub

Установить perception-protect-against-threat в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Perception — Protect Against a Threat

Purpose

Turn a threat-intelligence article into tenant-aware protection using Microsoft Perception's proactive-protection playbook, then bring the human and this repo's tooling in to validate and tune what it proposes. It complements threat-intel-campaign (tested hunts) and detection-authoring (deployment) — it does not replace them. Positioning: Perception proposes; this repo tests, tunes and deploys.

Read first: .github/skills/perception-shared/REFERENCE.md. Only need the intelligence? perception-extract-threat-intel reads existing Threat Intelligence reports for free (and can start a TI-only run for ≈ $4–$7) instead of this ≈ $209–$527 four-agent run.

Entity: a threat article — preferably the internal Activity Profile ID + exact title (known-good input form), otherwise an https:// article URL — or just a topic/name ("LiteLLM", "are we protected against X?"), which Phase 1 resolves through the session cache.

Runtime warning: the full run is ≈ 1 hour (TI ≈ 3 → Recon ≈ 14 → Detection Authoring ≈ 29 → Posture ≈ 30 min). It is meant to be pre-run; present it as a background job.


Workflow

Phase 0 — Preconditions

🔴 MCP GATE — do this before reading the session index, 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 — it lists https://perception.microsoft.com/mcp; the sentinel.microsoft.com URL above also responds.)" After the guidance you may offer a saved result for the same input, 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, run new analysis queries, or suggest follow-ups that need fresh Perception data. A saved index entry or report is never a reason to skip the guidance. Full rules: REFERENCE §1.1. Then state the tenant.

Phase 1 — Resolve the input

  1. Topic, name or question (no ID/URL): refresh the session cache (REFERENCE §3.7; same steps as perception-extract-threat-intel Phase 1) and run session_cache.py search <terms> --ti-only --articles. One article matches → confirm it with the user (title + date) and continue with its internal ID. Several → list them and let the user pick. None → say so with the cache depth; do not guess an ID; offer perception-extract-threat-intel (find or request the article) or ask for a portal link/URL. Never start a run from a topic alone.
  2. If the user gave an internal ID + title → use it (REFERENCE §2: type: defenderThreatIntelligenceId, values:[<id>], displayName:<title> — required).
  3. If the user gave only a URL → external URLs failed in one trial on an earlier MCP version (retry advised "in a few minutes"). Offer: (a) run analyze-article first as a ≈ 4 min viability check, then proceed to proactive-protection only if it extracted content; (b) go straight to the full run and accept the risk of a quick failure (it fails fast, in ~2 minutes, before any downstream agent runs).
  4. Optionally, if a list_sessions scan finds a previous run for the same article under an internal ID (its inputs[].displayName shows the Activity Profile title), tell the user that form is available.

Phase 2 — Lookup before running

Use the session cache first: session_cache.py search "<title words>" --playbook proactive-protection (also detect-emerging-threats, whose sessions carry the same four-agent style reports when they ran Detection Authoring), state its depth, and validate each candidate with list_outputs (REFERENCE §5; status alone is not proof). If the cache cannot answer, fall back to REFERENCE §3 (page with continuationToken to the boundary or the 10-page cap — one page is never enough; state the scan depth reached): match tags playbookId=proactive-protection (and analyze-article) plus input:threat-intelligence=<id> (internal), or inputs[].displayName/entityUrl = the URL (external runs record value: "EXTERNAL"). The article's publish/activity date is the boundary when known; if it isn't, page to the cap. Show candidates (status, createdAt, initiator, which agents completed via list_agent_runs). Offer reuse — a finished run has everything needed for the demo. Discard failed and re

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл perception-protect-against-threat?

Run (or reuse) Microsoft Perception's "Protect against a threat" playbook for a threat-intelligence article via the Perception MCP. The multi-agent run (Threat Intelligence, Recon, Detection Authoring, Posture Prioritization; about an hour) produces extracted threat intel with a threat-intel-platform gap table, tenant-aware detection proposals marked ready-to-deploy or requires-tuning, and threat-contextualised posture priorities. Validates the run (a failed session still ends Idle), presents results, and hands detections that need tuning to perception-tune-detection. Requires the Perception MCP; stops politely if it is not configured. Trigger keywords: "perception protect against a threat", "protect against this threat with perception", "perception proactive protection", "perception detections for article", "perception threat article".

Как установить скилл perception-protect-against-threat?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл perception-protect-against-threat запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить perception-protect-against-threat с