Azure CLI for Openclaw

A comprehensive command-line interface skill for managing Azure cloud resources, automation, and infrastructure-as-code workflows.

ddevaal
v1.0.0
Jan 24, 2026
1
3.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install azure-cli

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install azure-cli using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Azure CLI?

The Azure CLI skill provides a robust interface for interacting with the Microsoft Azure cloud platform directly from your terminal or automation scripts. By utilizing this within Openclaw Skills, developers and DevOps engineers can manage the entire lifecycle of cloud resources—from initial provisioning of virtual machines and Kubernetes clusters to complex networking configurations and storage management. It serves as a powerful alternative to the Azure Portal, offering speed, repeatability, and deep integration into existing development environments.

This skill is designed to handle the complexity of modern cloud architectures, supporting over 60 command modules that cover compute, networking, databases, and AI services. It emphasizes best practices in cloud management, including secure authentication methods, resource organization via resource groups, and efficient data extraction using advanced query syntax. Whether you are a solo developer or part of a large enterprise team, this skill streamlines your Azure operations.

Azure CLI Use Cases

  • Deploying and scaling Virtual Machines or Azure Kubernetes Service (AKS) clusters programmatically.
  • Managing Azure Storage accounts, including blob uploads, downloads, and container configuration.
  • Automating infrastructure cleanup and resource auditing to optimize cloud costs.
  • Integrating Azure resource management into CI/CD pipelines using service principals.
  • Querying complex cloud metadata to generate custom reports or status dashboards.

How Azure CLI Works

  1. Install the Azure CLI cross-platform tool on macOS, Linux, or Windows to establish the local runtime environment.
  2. Authenticate with the Azure platform using interactive login, service principals for automation, or managed identities for Azure-hosted resources.
  3. Configure environment defaults such as preferred subscriptions and resource groups to simplify command execution.
  4. Execute targeted commands against Azure Resource Providers to create, update, or monitor cloud services.
  5. Capture and process output in various formats like JSON or Table, using JMESPath queries to filter for specific data points.

Azure CLI Setup

Installation

macOS:

brew install azure-cli

Linux (Ubuntu/Debian):

curl -sL https://aka.ms/InstallAzureCliLinux | bash

Windows:

choco install azure-cli

Authentication

Log in to your account via the browser:

az login

Verify your installation and version:

az --version

Azure CLI Data Schema & Taxonomy

The skill interacts with the Azure Resource Manager (ARM) API and organizes information based on the following taxonomy:

Entity Description
Subscription The top-level logical container for billing and resource allocation.
Resource Group A container that holds related resources for an Azure solution.
Resource Provider Services providing specific resource types (e.g., Microsoft.Compute).
JMESPath The query language used to filter and transform JSON output from the CLI.
Output Formats Supports data serialization in json, table, tsv, and yaml formats.

Azure CLI Advanced Features

  • JMESPath integration for advanced server-side and client-side data filtering and aggregation.
  • Support for Managed Identities to enable secure, secret-less authentication on Azure resources.
  • Batch operation capabilities using xargs and piped output for bulk resource management.
  • Custom helper scripts for specialized tasks like storage analysis and automated resource cleanup.
  • Tab completion and interactive 'az find' functionality to accelerate command discovery and usage.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*