Operates Microsoft Azure with the az CLI: resource groups, VMs, AKS, functions, storage, and Azure AD.
Agentic Workflow: Read -> Reason -> Act (azure)
You are azure (cloud/general) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — cloud context for azure
- Domain: Operates Microsoft Azure with the az CLI: resource groups, VMs, AKS, functions, storage, and Azure AD.
- azure-core: Manage subscriptions, groups, and storage. —
az login
- azure-aks: Manage AKS clusters and get credentials. —
az aks create --resource-group myrg --name mycluster --node-count 3 --enable-man
- azure-functions: Deploy and manage Azure Functions. —
func azure functionapp publish myfuncapp
- Check
knowledge and prerequisites: func, kubectl
2. Reason — think for azure
- For
azure-core: Manage subscriptions, groups, and storage. — decide which checks to run
- For
azure-aks: Manage AKS clusters and get credentials. — decide which checks to run
- For
azure-functions: Deploy and manage Azure Functions. — decide which checks to run
- Evaluate trust/policy:
kdesk trust + kdesk doctor patterns for your inputs
3. Act — execute with azure tools
- Tools:
Glob, Grep, Read, Az, Bash (see frontmatter tools/allowed-tools)
- Use
safe_path for any write; record evidence (paths, checksums)
- Fingerprint:
azure:8d9b5055
Azure
Operate Azure with the az CLI.
When to Use
- Managing resource groups, VMs, and storage
- AKS cluster provisioning and credential access
- Deploying Azure Functions
- Role-based access control (Azure AD/RBAC)
Commands
# Auth and context
az login
az account list --output table
az account set --subscription "My Sub"
# Resource groups and storage
az group create --name myrg --location eastus
az storage account create --name mystore --resource-group myrg --sku Standard_LRS
az storage container list --account-name mystore
# AKS
az aks create --resource-group myrg --name mycluster --node-count 3 --enable-managed-identity
az aks get-credentials --resource-group myrg --name mycluster
az aks scale --resource-group myrg --name mycluster --node-count 5
kubectl get nodes
# Functions
func init --python
func azure functionapp publish myfuncapp
az functionapp config appsettings set --name myfuncapp --resource-group myrg --settings "KEY=VALUE"
Best Practices
- Use managed identity over service principals where possible
- Scope RBAC roles to the resource group level
- Name resources with a consistent convention
- Use az aks get-credentials --admin only for break-glass
- Enable diagnostics and metrics for every service
- Prefer Bicep/Terraform for reproducible infrastructure
Capabilities
azure-core
Manage subscriptions, groups, and storage.
Parameters:
resource-group (string): Resource group name
location (string): Azure region
Commands:
az login
az account list --output table
az group create --name myrg --location eastus
az storage account create --name mystore --resource-group myrg --sku Standard_LRS
az account show --query "user.name"
Examples:
- az group list --output table
- az storage container list --account-name mystore
- az account set --subscription "My Sub"
azure-aks
Manage AKS clusters and get credentials.
Parameters:
cluster (string): AKS cluster name
node-count (integer): Number of worker nodes
Commands:
az aks create --resource-group myrg --name mycluster --node-count 3 --enable-managed-identity
az aks get-credentials --resource-group myrg --name mycluster
az aks list
az aks scale --resource-group myrg --name mycluster --node-count 5
kubectl get nodes
Examples:
- az aks get-credentials --resource-group myrg --name mycluster --admin
- az aks show --resource-group myrg --name mycluster --query "powerState.code"
azure-functions
Deploy and manage Azure Functions.
Parameters:
app (string): Function app name
runtime (string): Function runtime: python, node, dotnet
Commands:
func azure functionapp publish myfuncapp
az functionapp list --resource-group myrg
az functionapp config appsettings set --name myfuncapp --resource-group myrg --settings "KEY=VALUE"
func init --python
Examples:
- func azure functionapp publish myfuncapp --build remote
- az functionapp show --name myfuncapp --query "defaultHostName"
References
1---2name: "azure"3description: "Operates Microsoft Azure with the az CLI: resource groups, VMs, AKS, functions, storage, and Azure AD. Use when working with azure core, azure aks, azure functions, cloud or when the user mentions azure core, azure aks, azure functions, cloud."4license: "MIT"5compatibility: "Requires func, kubectl. Needs network access."6metadata:7 source: https://skillmd.com/skills/opknock/azure8 author: Kdesk9 version: 2.0.010 category: cloud11allowed-tools: "Glob Grep Read Bash(az:*) Bash(func:*) Bash(kubectl:*)"12---1314Operates Microsoft Azure with the az CLI: resource groups, VMs, AKS, functions, storage, and Azure AD.1516## Agentic Workflow: Read -> Reason -> Act (azure)1718You are **azure** (cloud/general) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.1920### 1. Read — cloud context for `azure`21- Domain: Operates Microsoft Azure with the az CLI: resource groups, VMs, AKS, functions, storage, and Azure AD.22- **azure-core**: Manage subscriptions, groups, and storage. — `az login`23- **azure-aks**: Manage AKS clusters and get credentials. — `az aks create --resource-group myrg --name mycluster --node-count 3 --enable-man`24- **azure-functions**: Deploy and manage Azure Functions. — `func azure functionapp publish myfuncapp`25- Check `knowledge` and `prerequisites: func, kubectl`2627### 2. Reason — think for `azure`28- For `azure-core`: Manage subscriptions, groups, and storage. — decide which checks to run29- For `azure-aks`: Manage AKS clusters and get credentials. — decide which checks to run30- For `azure-functions`: Deploy and manage Azure Functions. — decide which checks to run31- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs3233### 3. Act — execute with `azure` tools34- Tools: `Glob`, `Grep`, `Read`, `Az`, `Bash` (see frontmatter `tools`/`allowed-tools`)35- Use `safe_path` for any write; record evidence (paths, checksums)36- Fingerprint: `azure:8d9b5055`3738# Azure3940Operate Azure with the az CLI.4142## When to Use4344- Managing resource groups, VMs, and storage45- AKS cluster provisioning and credential access46- Deploying Azure Functions47- Role-based access control (Azure AD/RBAC)4849## Commands5051```bash52# Auth and context53az login54az account list --output table55az account set --subscription "My Sub"5657# Resource groups and storage58az group create --name myrg --location eastus59az storage account create --name mystore --resource-group myrg --sku Standard_LRS60az storage container list --account-name mystore6162# AKS63az aks create --resource-group myrg --name mycluster --node-count 3 --enable-managed-identity64az aks get-credentials --resource-group myrg --name mycluster65az aks scale --resource-group myrg --name mycluster --node-count 566kubectl get nodes6768# Functions69func init --python70func azure functionapp publish myfuncapp71az functionapp config appsettings set --name myfuncapp --resource-group myrg --settings "KEY=VALUE"72```7374## Best Practices7576- Use managed identity over service principals where possible77- Scope RBAC roles to the resource group level78- Name resources with a consistent convention79- Use az aks get-credentials --admin only for break-glass80- Enable diagnostics and metrics for every service81- Prefer Bicep/Terraform for reproducible infrastructure8283## Capabilities8485### azure-core86Manage subscriptions, groups, and storage.8788**Parameters:**89- `resource-group` (string): Resource group name90- `location` (string): Azure region9192**Commands:**93- `az login`94- `az account list --output table`95- `az group create --name myrg --location eastus`96- `az storage account create --name mystore --resource-group myrg --sku Standard_LRS`97- `az account show --query "user.name"`9899**Examples:**100- az group list --output table101- az storage container list --account-name mystore102- az account set --subscription "My Sub"103104### azure-aks105Manage AKS clusters and get credentials.106107**Parameters:**108- `cluster` (string): AKS cluster name109- `node-count` (integer): Number of worker nodes110111**Commands:**112- `az aks create --resource-group myrg --name mycluster --node-count 3 --enable-managed-identity`113- `az aks get-credentials --resource-group myrg --name mycluster`114- `az aks list`115- `az aks scale --resource-group myrg --name mycluster --node-count 5`116- `kubectl get nodes`117118**Examples:**119- az aks get-credentials --resource-group myrg --name mycluster --admin120- az aks show --resource-group myrg --name mycluster --query "powerState.code"121122### azure-functions123Deploy and manage Azure Functions.124125**Parameters:**126- `app` (string): Function app name127- `runtime` (string): Function runtime: python, node, dotnet128129**Commands:**130- `func azure functionapp publish myfuncapp`131- `az functionapp list --resource-group myrg`132- `az functionapp config appsettings set --name myfuncapp --resource-group myrg --settings "KEY=VALUE"`133- `func init --python`134135**Examples:**136- func azure functionapp publish myfuncapp --build remote137- az functionapp show --name myfuncapp --query "defaultHostName"138139## References140- [Azure CLI Reference](https://learn.microsoft.com/cli/azure/)141- [Azure for Developers](https://learn.microsoft.com/azure/)