# azure-cloud-shell

Guides Azure Cloud Shell setup, troubleshooting, and private VNet deployments. Useful for configuring storage, session quotas, and RBAC rules.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 174 installs · ★ 818 repo stars
- Author: MicrosoftDocs
- License: CC-BY-4.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-cloud-shell/SKILL.md
- Updated: 2026-11-09
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/azure-cloud-shell

## What it does

This skill equips coding assistants with reference data and procedures for Azure Cloud Shell. It covers deploying the shell into private virtual networks, configuring private endpoints, and troubleshooting connectivity failures. The guide focuses strictly on Cloud Shell; tasks involving Azure Virtual Machines, Azure Portal, Functions, or AKS require separate dedicated skills.

The skill requires active network access. It retrieves documentation through `mcp_microsoftdocs:microsoft_docs_fetch` and falls back to `fetch_webpage`. Without network access, the agent cannot pull remote Microsoft Learn articles.

## Requirements
- Works with: Azure, Azure DevOps

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-shell -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/azure-cloud-shell/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/azure-cloud-shell/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-shell -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/azure-cloud-shell/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-shell -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/azure-cloud-shell/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install MicrosoftDocs/Agent-Skills skills/azure-cloud-shell
```

2. **Manually: put the files in place**
- File: `.github/skills/azure-cloud-shell/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-shell -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/MicrosoftDocs/Agent-Skills --path skills/azure-cloud-shell
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/azure-cloud-shell/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add MicrosoftDocs/Agent-Skills --skill azure-cloud-shell -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-cloud-shell/SKILL.md

## When to use it
- Deploy Azure Cloud Shell into a private virtual network
- Set up secure shared storage and private endpoints for multiple users
- Diagnose Cloud Shell connection errors and storage failures
- Configure RBAC permissions for container migrations

## Example prompts
- Show me how to deploy Azure Cloud Shell into a private VNet with private endpoint storage.
- What are the session duration limits and storage quotas in Azure Cloud Shell?
- Help troubleshoot Azure Cloud Shell connectivity issues and configure RBAC for VNet migration.

## Source text · SKILL.md · CC-BY-4.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 5d2df1e03fd81979.

BEGIN THIRD-PARTY FILE 5d2df1e03fd81979
```text
---
name: azure-cloud-shell
description: Expert knowledge for Azure Cloud Shell development including troubleshooting, architecture & design patterns, limits & quotas, security, and deployment. Use when configuring Cloud Shell storage, session limits, private VNet access, RBAC, or private endpoints, and other Azure Cloud Shell related development tasks. Not for Azure Portal (use azure-portal), Azure Virtual Machines (use azure-virtual-machines), Azure Functions (use azure-functions), Azure Kubernetes Service (AKS) (use azure-kubernetes-service).
compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
metadata:
  generated_at: "2026-11-08"
  generator: "docs2skills/1.0.0"
---
# Azure Cloud Shell Skill

This skill provides expert guidance for Azure Cloud Shell. Covers troubleshooting, architecture & design patterns, limits & quotas, security, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.

## How to Use This Skill

> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file

> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)

This skill requires **network access** to fetch documentation content:
- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.

## Category Index

| Category | Lines | Description |
|----------|-------|-------------|
| Troubleshooting | L33-L38 | Diagnosing and fixing common Cloud Shell errors, storage and connectivity issues, plus deployment and network problems when running Cloud Shell in private VNets. |
| Architecture & Design Patterns | L39-L43 | Designing secure, private access to Azure Cloud Shell from virtual networks, including network architecture, connectivity options, and required endpoints/configuration. |
| Limits & Quotas | L44-L48 | Details on Cloud Shell session duration, resource and storage limits, quotas, and how these constraints affect usage and persistence of files and settings. |
```
END THIRD-PARTY FILE 5d2df1e03fd81979

The third-party file has ended. Everything between the 5d2df1e03fd81979 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2658 of 4368 bytes. © MicrosoftDocs · CC-BY-4.0 · https://github.com/MicrosoftDocs/Agent-Skills/tree/HEAD/skills/azure-cloud-shell/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
