az-cli-diagnostics

Collect Azure CLI outputs and sanitize sensitive data for sharing.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/irwins/platform-agent-kit --skill az-cli-diagnostics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: az-cli-diagnostics
Source: https://github.com/irwins/platform-agent-kit/tree/main/.github/skills/az-cli-diagnostics
Command: npx skills add https://github.com/irwins/platform-agent-kit --skill az-cli-diagnostics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers diagnose Azure CLI failures by collecting contextual az outputs and sanitizing sensitive data for safe sharing.

Core Features & Use Cases

  • Collect contextual CLI outputs (az --version, az account show, deployment logs) and sanitize sensitive fields.
  • Produce reproducible, step-by-step instructions to reproduce issues without exposing secrets.
  • Support triage scenarios including CLI version mismatches, account/subscription state checks, and deployment/provider errors.

Quick Start

Provide the failing az command and any related logs to begin triage. The tool will sanitize outputs and present a reproducible set of steps to share with support teams.

Frequently Asked Questions about az-cli-diagnostics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sanitize Azure CLI outputs for safe sharing with support teams?

Sanitize Azure CLI outputs for safe sharing by collecting contextual data like az --version and az account show, then redacting sensitive fields such as tokens, IDs, and emails to produce reproducible steps.

What is the best way to triage az CLI deployment errors without exposing secrets?

Triage az CLI deployment errors by providing the failing command and relevant logs. The tool redacts sensitive data like subscription IDs and tokens, then produces sanitized, step-by-step reproducible instructions for support.

How do I diagnose Azure CLI account and subscription state issues?

Diagnose Azure CLI account and subscription state issues by collecting az account show outputs. The tool checks your current account state and sanitizes the output to ensure no sensitive identifiers are exposed during triage.

Does the az CLI diagnostics triage require specific environment setup or dependencies?

Triage requires no specific dependencies. You simply provide the failing az command and related deployment logs. The tool collects contextual outputs, redacts sensitive data, and formats reproducible steps for sharing.

Why does my az CLI command fail due to version mismatches and how do I report it?

Az CLI commands fail due to version mismatches when local CLI versions are incompatible with resource providers. Report by collecting az --version outputs and deployment logs, which are sanitized to create safe reproducible steps.

Can I use this tool to generate reproducible steps for resource-provider errors?

Yes, you can generate reproducible steps for resource-provider errors. Provide the failing az command and logs, and the tool will collect contextual outputs, redact sensitive data, and produce a sanitized reproducible report.