Skip to content

Guide · Agent skill

How to use the Cloud SIEM with Microsoft Sentinel agent skill

Updated · written with AI from the project's own documentation and checked against our catalogue data

This page explains the Cloud SIEM with Microsoft Sentinel agent skill, a packaged set of instructions and a helper script that gives an AI agent a structured playbook for Microsoft Sentinel, Azure's cloud-based security information and event management (SIEM) service. It is written for security engineers and analysts who know KQL and want help drafting detections, hunting queries and response playbooks. After reading it, you will know how to install the skill, ask for work in plain language, and review the output before you run anything.

Cloud SIEM with Microsoft Sentinelmukul975/Anthropic-Cybersecurity-Skills · Apache-2.0

Quick start

  1. 1Download and unzip the skill. Download the skill ZIP from this page and unzip it. Place the folder in ~/.claude/skills/ for personal use or in .claude/skills/ inside a project.
  2. 2Or upload it in the Claude apps. In the Claude apps, open Settings, go to Capabilities, then Skills, and upload the skill.
  3. 3Check the prerequisites. Confirm you have an Azure subscription with Microsoft Sentinel, a Log Analytics workspace, the az CLI with the sentinel extension, and the Python packages listed on the page.
  4. 4Ask for a specific task. Describe one task in plain language, such as writing an impossible travel detection rule or outlining a playbook, and name the platform.
  5. 5Review before you run. Read the queries, commands and playbook steps the agent produces. Test them in a non-production workspace before anything touches live accounts or logs.

What does the Cloud SIEM with Microsoft Sentinel skill make the agent do?

An agent skill is a folder of instructions that an AI agent can load when a task matches it. This skill's main file, SKILL.md, sets out a workflow for deploying Microsoft Sentinel as a cloud-native SIEM and SOAR (security orchestration, automation and response) platform that collects logs from AWS, Azure and GCP.

The skill covers four areas: provisioning a Log Analytics workspace and data connectors, writing KQL detection and hunting queries that map to MITRE ATT&CK techniques, outlining Logic Apps response playbooks, and hunting across long-term retained data with the Sentinel data lake.

  • Connect sources such as the AWS CloudTrail connector and Azure AD sign-in and audit logs
  • Draft KQL analytics rules, for example for impossible travel sign-ins or AWS credential abuse
  • Outline automated responses, such as disabling a compromised Azure AD user and adding a comment to the incident
  • Write threat hunting queries, such as looking for cross-account lateral movement in AWS

How do you install the skill?

Download the skill's ZIP file from this page and unzip it. Where you put the folder decides who can use it. For a personal install available to all your projects, unzip it into ~/.claude/skills/. For a single project, unzip it into the .claude/skills/ folder inside that project.

If you use the Claude apps instead, open Settings, go to Capabilities, then Skills, and upload the skill there.

  • Personal install: ~/.claude/skills/
  • Project install: .claude/skills/ inside your project folder
  • Claude apps: Settings → Capabilities → Skills, then upload the skill

How do you trigger the skill with a natural request?

You do not need a special command. The skill's description tells the agent when to use it: establishing a centralized SOC for multi-cloud environments, migrating from a legacy SIEM, or performing large-scale threat hunting. Ask for one of those tasks in plain language and name the platform so the agent can match the request.

Be specific about the log source and the output you want. A request that names the table, the threat and the format gives the agent more to work with than a general question about SIEM.

  • Help me write a KQL analytics rule in Microsoft Sentinel that flags impossible travel sign-ins, and map it to MITRE ATT&CK.
  • Draft a Logic Apps playbook outline that disables an Azure AD user when an incident has an account entity.
  • Write a hunting query for AWS CloudTrail that finds possible credential abuse over the last 24 hours.
  • Set up the data connectors for AWS CloudTrail and Azure AD in a new Sentinel workspace.

What do you need before you use it?

The skill assumes you already have Azure infrastructure and some skills of your own. The source lists these requirements. Check them before you ask the agent to deploy anything.

  • An Azure subscription with Microsoft Sentinel and a Log Analytics workspace
  • Azure CLI (az) with the sentinel extension
  • Python with the azure-identity, azure-monitor-query and azure-mgmt-securityinsight packages
  • Azure credentials: DefaultAzureCredential, or a service principal with tenant, client ID and secret
  • An AWS IAM role for the CloudTrail connector
  • Logic Apps or Azure Functions for playbooks
  • KQL proficiency, since the skill's prerequisites assume you can review queries

Is it safe to run the scripts and playbooks?

The skill runs scripts and uses the network. The included scripts/agent.py runs KQL queries against a Log Analytics workspace using your Azure credentials. The playbook pattern can disable user accounts, and the queries read live security logs. Review every command, query and playbook before running it against production.

The skill's own guidance says AWS-only setups may not need Sentinel, since Security Hub and GuardDuty may be enough, and that endpoint detection should go to Defender for Endpoint.

  • Read the az commands and check the workspace name and resource group before running them
  • Test queries against a non-production workspace first
  • Check the impossible travel thresholds (500 km and 60 minutes in the example) against your own users before relying on them
  • Confirm any playbook that disables accounts in a test environment first

What tips help you get better results?

Start with a narrow scope, such as one cloud and one threat, and then widen it. Ask the agent to name the MITRE ATT&CK technique for each rule, since the skill maps its examples to techniques such as T1078.004 and T1530. Keep the logic readable so an analyst can tune it later.

The skill's example queries are starting points. Their time windows, thresholds and table names come from the example and should be adapted to your environment.

  • Ask for one detection or one playbook per request
  • Ask the agent to explain the logic of each query in plain words
  • Use the hunting queries first to learn what normal looks like in your logs

What people use it for

  • Setting up a central SOC that collects AWS, Azure and GCP logs into one Sentinel workspace
  • Drafting KQL detections for impossible travel sign-ins and AWS credential abuse, with MITRE ATT&CK mappings
  • Outlining Logic Apps playbooks that disable a compromised Azure AD user and comment on the incident
  • Writing hunting queries for cross-account lateral movement or mass S3 object deletion in CloudTrail data

Frequently asked questions

What is the Cloud SIEM with Microsoft Sentinel agent skill?

It is a packaged set of instructions and a Python helper script that gives an AI agent a workflow for deploying Microsoft Sentinel. It covers multi-cloud data connectors, KQL detection and hunting queries, and Logic Apps response playbooks.

How do I install the Microsoft Sentinel agent skill?

Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use or into .claude/skills/ in a project. You can also upload it in the Claude apps under Settings, Capabilities, then Skills.

Is the skill free to use, and what does Microsoft Sentinel cost?

The skill is licensed under Apache-2.0. The source does not cover Microsoft Sentinel pricing, which depends on your Azure subscription and log volume, so check Azure's pricing for your setup.

Do I need Azure to use this skill?

Yes, in practice. The skill is built around an Azure subscription with Microsoft Sentinel and a Log Analytics workspace, and its helper script uses Azure credentials.

Should I use this skill if I only run AWS?

The skill itself says no. For AWS-only environments, it points to Security Hub and GuardDuty, which may be enough. It also says endpoint detection needs should go to Defender for Endpoint.

What should I check if the skill does not seem to work?

Confirm the skill folder is in ~/.claude/skills/ or the project's .claude/skills/ folder, or that the upload finished in Settings, Capabilities, Skills. Then check that your Azure CLI, Python packages and Azure credentials are set up as listed in the requirements.

New agent skills, repos and AI tools — every week

The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.

Our verdict

This skill suits security engineers building a central SOC across several clouds, and Azure teams who know KQL and want an agent to draft detections, hunting queries and playbook outlines. Pick something else if you run only AWS, where the skill itself suggests Security Hub and GuardDuty, or if you mainly need endpoint detection, which belongs in Defender for Endpoint. Review every script and playbook before it touches production, because they can disable accounts and query live logs.

Download the skill