perception-extract-threat-intel
БесплатноБез исполняемых скриптовНе проверенFind, read and (on request) request Microsoft Perception threat-intelligence reports through the Perception MCP. Reuses what Perception has ALREADY produced…
от SCStelz★ 256 звёзд на GitHubОб этом скилле
Perception — Extract Threat Intelligence
Purpose
Make the threat intelligence Perception has already extracted (usually by someone else, usually already paid for) searchable and usable here: what was analyzed recently, is topic X covered, show me the report, turn it into hunts and detections. Reading existing sessions is free on the Perception side and changes nothing in the tenant. If the article was never analyzed (or the user hands over a new URL), this skill can request a fresh analyze-article run: always asked first, with the cost shown (Phase 7).
Positioning: Perception extracts; this repo verifies, hunts and authors detections. It complements threat-intel-campaign (feed-based hunts), detection-authoring (rules) and ioc-investigation (indicators).
Read first: .github/skills/perception-shared/REFERENCE.md (§3.7 cache, §5 validation, §6 evidence, §9 links). Helper: session_cache.py.
Entity (any of): a topic or keyword, an article title, a Threat Analytics portal link (…/threatanalytics3/<guid>/overview: the GUID is the article ID), an internal article ID + title, a Perception session ID, any article or advisory URL (vendor blog, CISA/IC3 advisory: reused if already analyzed, otherwise Phase 7), or a request to list the articles Perception analyzed recently (the card's recent articles checkbox sends exactly that; typing recent works too).
Where intelligence comes from: any finished session whose input is a threat-intelligence article carries a threat_intelligence_report.md from the same Threat Intelligence Agent: analyze-article (TI only), proactive-protection, detect-emerging-threats. All three are valid sources.
Workflow
Phase 0 — Preconditions
🔴 MCP GATE — do this before reading the session cache, the 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 read-only search of the existing local cache and saved reports, labeled "saved result, not refreshed/re-validated — Perception MCP unavailable" [asserted]. In this offline mode you must NOT refresh or write the cache, write or edit any report, post a Mission Control finding, run new analysis queries, or suggest follow-ups that need fresh Perception data. Full rules: REFERENCE §1.1. Then state the tenant.
Phase 1 — Refresh the session cache (REFERENCE §3.7)
list_sessions(pageSize=100) → session_cache.py ingest <saved file>; follow CONTINUE / STOP exactly (token passed unchanged, --continue on later pages, 10-page cap). The first build of a busy tenant covers only ~1-3 days per few pages: say how far back it reaches. Never read raw pages into chat. Skip the refresh only if the cache was refreshed in this conversation already.
Phase 2 — Answer the question from the cache
- "recent / what was analyzed":
search --ti-only --articles --limit 15. - Topic / keyword:
search <terms> --ti-only --articles. Answer from what is cached first (titles plus any cached summaries) and quote the header's summaries cached for X of Y articles. Titles are often not enough ("supply chain" vs a package name). If X < Y, tell the user how many articles are unsearched by content and read summaries in one bounded batch:need-summary --ti-only --limit 12(newest first), callget_session_summaryfor all of them in parallel, write one JSON file of condensed, keyword-rich lines (threat, techniques, malware/tool names, sectors) with thecreatetool and store it with oneset-many <file>call, then search again. Do not fetch more than 12 per request; if articles remain unchecked say how many and offer to continue. This cost is one-time: summaries persist, later refreshes only add the few new articles, and a warm cache makes topic search instant. A user may ask to "warm the topic index": then loop the batch untilcoverageshows no articles missing. - Specific article (title / portal link / ID / other URL): for a non-portal URL search for a distinctive fragment of it (host + path, no query string); sessions started from a URL keep it as the article title/URL, and a
.pdfand a `
Установить perception-extract-threat-intel в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл perception-extract-threat-intel?
Find, read and (on request) request Microsoft Perception threat-intelligence reports through the Perception MCP. Reuses what Perception has ALREADY produced first (Threat Intelligence Agent output from analyze-article, proactive-protection or detect-emerging-threats runs; free): answers "what threat-intelligence articles were analyzed recently?" and "has any article covering <topic> been analyzed?" from a local session cache (the MCP cannot search sessions), then presents the chosen report (TTPs with detection opportunities, indicators, TI-platform coverage gaps, hunting queries, recommended actions), optionally verifies Perception's hunting queries in Advanced Hunting, and hands TTPs to kql-query-authoring / detection-authoring (wizard link), threat-intel-campaign and ioc-investigation. Accepts a topic, article title, Threat Analytics portal link, session ID, or any article/advisory URL. Starts a NEW analyze-article run (about 4 minutes, about $3.89-$6.80 of Perception spend) only on explicit confirmation: a Threat Analytics article is reliable, a free-form URL is best-effort. Requires the Perception MCP; stops politely if it is not configured. Trigger keywords: "perception threat intel", "analyzed threat intelligence articles", "what articles has perception analyzed", "has perception analyzed", "perception extract intelligence from this URL", "analyze this article with perception", "get perception threat intelligence report".
Как установить скилл perception-extract-threat-intel?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл perception-extract-threat-intel запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic