azure/az-cli-command-runner
Runs Azure CLI commands in a terminal. Use this skill when you need to execute az CLI commands such as checking authentication, querying Log Analytics, managing deployments, or inspecting Azure resources.
npx skills add https://github.com/Azure/Azure-Sentinel --skill az-cli-command-runner
Execute the PowerShell script at scripts/runAzCommand.ps1 (relative to this skill's directory) by passing the az CLI command as a parameter:
.\scripts\runAzCommand.ps1 -Command "<az command>"
The script validates the command against allowed prefixes and safety restrictions before executing it. If validation fails, the script exits with an error message.
If the command returns an authentication error, ask the user to run az login before continuing.
Take azure/az-cli-command-runner from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.