ai-agent-activity
БесплатноБез исполняемых скриптовНе проверенReport/investigate RUNTIME ACTIVITY of AI agents (Agent 365 / Copilot Studio / M365 Copilot / Work IQ) — agents used, tools/connectors, channels, tokens…
от SCStelz★ 256 звёзд на GitHubОб этом скилле
AI Agent Activity — Instructions
Purpose
This skill reports the runtime activity of AI agents built on Agent 365 / Copilot Studio / Microsoft 365 Copilot / Work IQ across a tenant — who invoked which agents, what tools and connectors ran, over which channels, with what token/inference usage, and what the content-safety layer (Prompt Shield jailbreak / XPIA) caught.
It answers "what are the agents actually doing?" — the behavioral counterpart to the configuration-focused ai-agent-posture skill.
ai-agent-posture (config) |
ai-agent-activity (this skill — runtime) |
|
|---|---|---|
| Question | How are agents configured? (access, tools declared, data sources, credentials) | What are agents doing? (prompts, tool calls, users, channels, safety flags) |
| Primary table | AgentsInfo (Advanced Hunting) |
UnifiedAgentObservability (Data Lake) or CloudAppEvents (Defender) |
| Time model | Point-in-time config snapshots | Event stream over a lookback window |
| Use together | Posture flags a broadly-accessible, email-capable agent | Activity shows whether that agent is actually used, by whom, and whether it was jailbroken |
Use them together: run ai-agent-posture to find the risky configurations, then run this skill to see which of those agents are active-and-dangerous at runtime.
References:
- Query library (all validated KQL):
queries/cloud/agent365_observability.md— this skill references those queries rather than duplicating them. It contains the Plane A + Plane B equivalents, theRawEventData↔UnifiedAgentObservabilityfield crosswalk, and the Defender-parity matrix. - Security for AI native alerts (companion signal): see Core Queries C12 below — for tenants with Microsoft Defender's Security for AI capability enabled, covers the native
AlertInfo/AlertEvidencealert family (ServiceSource == "Security for AI": malicious URL, obfuscated/encoded payload, and other runtime-threat alerts) that is broader than, and complementary to, the Prompt Shield jailbreak/XPIA signal in §7. - Agent 365 Observability SDK
- Agent 365 observability concepts
- Detect and investigate threats to AI agents using Microsoft Defender (Preview)
📑 TABLE OF CONTENTS
- Critical Workflow Rules
- Data Plane Detection & Selection — the core generalization
- Execution Workflow — phase-by-phase
- Scopes — tenant-wide / single-agent / single-user
- Agent Clustering Methodology — LLM-derived, non-rigid
- Risk Signal Catalog — flexible signals (no composite score)
- Core Queries — compact adapted set for report generation (C0 = prompt/reply content)
- Mermaid Diagram Templates — user→agent→tool paths
- Output Modes — inline / markdown / both
- Report Templates — tenant-wide / single-agent / single-user
- Known Pitfalls
- Quality Checklist
⚠️ CRITICAL WORKFLOW RULES - READ FIRST ⚠️
🔴 DETECT THE DATA PLANE FIRST. Probe
UnifiedAgentObservability(Plane A) andCloudAppEvents(Plane B) before any analysis and proceed with whatever exists. Never assume a plane is present. See Data Plane Detection & Selection.🔴 SAFETY VERDICTS ONLY COME FROM
CloudAppEventsCopilotInteraction.UnifiedAgentObservabilityhas no jailbreak/XPIA column. IfCloudAppEventsis absent, state the safety gap explicitly.🔴 If Plane A exists, run C0 — prompt/reply text is the highest-value evidence here.
parse_json(EventOriginalRequestDetails).textreturns empty on 100% of rows (no.textkey); replies for Copilot Studio agents are onAISpanOutput. Never report a content gap without C0's coverage check.ASK the user for scope and output format before generating:
- Scope: tenant-wide (default) · single-agent · single-user
- Output: inline chat · markdown file (
reports/ai-agent-activity/) · both
⛔ Evidence-based analysis only. Report ONLY what query results show. Use the explicit absence pattern (
✅ No [finding] detected) for 0-result que
Установить ai-agent-activity в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ai-agent-activity?
Report/investigate RUNTIME ACTIVITY of AI agents (Agent 365 / Copilot Studio / M365 Copilot / Work IQ) — agents used, tools/connectors, channels, tokens, prompt/reply content, and Prompt Shield jailbreak/XPIA verdicts. Triggers: "agent activity", "AI agent usage", "who is using agents", "agent runtime", "agent telemetry", "agent tool usage", "agent session", "jailbreak activity", "prompt injection activity", "Agent 365 activity", "UnifiedAgentObservability", "CloudAppEvents agents", "CopilotActivity". Auto-detects available data planes — UnifiedAgentObservability (Data Lake), CloudAppEvents (Defender), CopilotActivity (governance/fail-close) — and uses what is present. Supports tenant-wide, single-agent, and single-user scopes. Runtime companion to the config-focused ai-agent-posture skill.
Как установить скилл ai-agent-activity?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ai-agent-activity запускает скрипты?
Нет, скилл состоит только из инструкций (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