Official agent skill

Azure Lab Services

by MicrosoftDocs in MicrosoftDocs/Agent-Skills

Expert knowledge for Azure Lab Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations…

OfficialCC-BY-4.0Auto-check passedDevelopment

Install Azure Lab Services

skills CLI
$ npx skills add MicrosoftDocs/Agent-Skills --skill azure-lab-services -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install MicrosoftDocs/Agent-Skills azure-lab-services --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/MicrosoftDocs/Agent-Skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/azure-lab-services .claude/skills/azure-lab-services && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
azure-lab-services
GitHub stars
775
Token cost
~3.9k tokens
SKILL.md length
1,123 words
Files
1
Skills in repo
149
Repo updated
First seen
Licence
CC-BY-4.0

At a glance

Expert knowledge for Azure Lab Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations…

  • Configuring lab plans
  • SKILL.md covers How to Use This Skill and Category Index
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • VM templates/schedules

What it does

Azure Lab Services is an agent skill from MicrosoftDocs/Agent-Skills, published by the product's own GitHub organization. Expert knowledge for Azure Lab Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring lab plans, VM templates/schedules, VNet-integrated labs, GPU/nested virtualization, or Canvas/Teams integration, and other Azure Lab Services related development tasks. Not for Azure DevTest Labs (use azure-devtest-labs), Azure Virtual Machines (use…

Its SKILL.md is about 3.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Requires network access. Uses mcpmicrosoftdocs:microsoftdocsfetch or fetchwebpage to retrieve documentation.

It sits in Development, covering Design patterns and Deployment. It works with Microsoft Azure. The repository describes itself as: Curated Agent Skills for Microsoft & Azure – giving AI coding assistants structured, real-time expertise from Microsoft Learn docs. The licence is CC-BY-4.0.

When your agent uses it

  • Configuring lab plans
  • VM templates/schedules
  • VNet-integrated labs
  • GPU/nested virtualization

Example prompts

  • “/azure-lab-services”

Requirements

  • Python 3
  • Compatibility (from SKILL.md): Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.

What it can do on your machine

Read from SKILL.md and the folder at commit ba74e8f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • learn.microsoft.com
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.

    From compatibility in the SKILL.md frontmatter.

Context cost

Azure Lab Services loads about 3.9k tokens when it runs. Until then it costs about 150 tokens; SKILL.md has 1,123 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~150
When it runs · the whole SKILL.md, loaded when a task matches
~3.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from MicrosoftDocs/Agent-Skills at commit ba74e8f, republished under its CC-BY-4.0 licence (© MicrosoftDocs). 1,123 words, ~3,918 tokens.

Download SKILL.mdSave it as .claude/skills/azure-lab-services/SKILL.md (or your agent's skills folder).
name
azure-lab-services
description
Expert knowledge for Azure Lab Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when configuring lab plans, VM templates/schedules, VNet-integrated labs, GPU/nested virtualization, or Canvas/Teams integration, and other Azure Lab Services related development tasks. Not for Azure DevTest Labs (use azure-devtest-labs), Azure Virtual Machines (use azure-virtual-machines), Azure Virtual Desktop (use azure-virtual-desktop).
compatibility
Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
metadata.generated_at
2026-08-31
metadata.generator
docs2skills/1.0.0

Azure Lab Services Skill

This skill provides expert guidance for Azure Lab Services. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, 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

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

CategoryLinesDescription
TroubleshootingL37-L44Diagnosing and fixing VM access, connectivity, deployment, and lab-creation issues in Azure Lab Services, including when to redeploy or reimage VMs.
Best PracticesL45-L53Governance and setup guidance for lab plans, custom images, nested virtualization, Linux graphical RDP, and preparing optimized Windows template VMs in Azure Lab Services
Decision MakingL54-L63Guidance on when and how to use Azure Lab Services: choosing lab types, planning migrations (physical or to other services), cost estimation, GPU sizing, and running training or hackathon scenarios.
Architecture & Design PatternsL64-L70Core Azure Lab Services architecture, supported networking topologies, and design patterns for building reliable, resilient lab environments and lab plans
Limits & QuotasL71-L78VM capacity and core quotas for labs, how to view usage, request quota increases, and timelines for automatic VM deletion and cleanup.
SecurityL79-L93RBAC roles, lab creator/owner assignment, Azure Policy for compliance and VM size limits, firewall and public IP setup, and educator/student VM password management.
ConfigurationL94-L124Configuring Azure Lab Services: lab plans, regions, images, networking, VM templates, schedules (start/stop/shutdown), capacity, GPU/nested virtualization, and user/educator access.
Integrations & Coding PatternsL125-L138Integrating Lab Services with Canvas and Teams, automating lab creation via Bicep/PowerShell/Python, connecting labs to VNets, and remote access to Linux VMs with X2Go.
DeploymentL139-L148Creating and importing Windows/Linux lab VM images (from Azure VMs, physical labs, or compute galleries), rapidly setting up/publishing labs, and migrating lab accounts to lab plans.
Troubleshooting
TopicURL
Troubleshoot Azure Lab Services VMs by redeploying or reimaginghttps://learn.microsoft.com/en-us/azure/lab-services/how-to-reset-and-redeploy-vm
Troubleshoot access problems for Azure Lab Services VMshttps://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-access-lab-vm
Troubleshoot connectivity issues in Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-connect-lab-vm
Troubleshoot Azure Lab Services lab creation issueshttps://learn.microsoft.com/en-us/azure/lab-services/troubleshoot-lab-creation
Best Practices
TopicURL
Administer lab plans and governance for Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/administrator-guide
Recommended approaches for Azure Lab custom imageshttps://learn.microsoft.com/en-us/azure/lab-services/approaches-for-custom-image-creation
Configure nested virtualization in Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/concept-nested-virtualization-template-vm
Enable graphical remote desktop for Linux labs with optimal performancehttps://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-remote-desktop-linux
Best practices for preparing Windows lab templateshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-prepare-windows-template
Decision Making
Architecture & Design Patterns
Limits & Quotas
Security
TopicURL
Assign Lab Creator role in Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/add-lab-creator
Enforce Azure Lab Services compliance with Azure Policyhttps://learn.microsoft.com/en-us/azure/lab-services/azure-polices-for-lab-services
Use Azure RBAC roles with Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/concept-lab-services-role-based-access-control
Map role assignments from lab accounts to lab planshttps://learn.microsoft.com/en-us/azure/lab-services/concept-migrate-from-lab-accounts-roles
Assign Lab Creator role for Azure Lab Services accountshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-add-lab-creator
Add additional lab owners in Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-add-user-lab-owner
Determine lab VM public IPs for firewall configurationhttps://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-firewall-settings
Configure firewall rules for Azure Lab Services lab VMshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-firewall-settings-1
Set and reset lab VM passwords as an educatorhttps://learn.microsoft.com/en-us/azure/lab-services/how-to-set-virtual-machine-passwords
Students resetting passwords for Azure Lab Services VMshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-set-virtual-machine-passwords-student
Restrict Azure Lab VM sizes using Azure Policyhttps://learn.microsoft.com/en-us/azure/lab-services/how-to-use-restrict-allowed-virtual-machine-sku-sizes-policy
Show full SKILL.md (424 more words)Show less
Configuration
TopicURL
Allow lab creators to choose lab locations in Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/allow-lab-creator-pick-lab-location
Configure allowed regions for Azure Lab Services labshttps://learn.microsoft.com/en-us/azure/lab-services/create-and-configure-labs-admin
Attach or detach Azure compute galleries to lab planshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-attach-detach-shared-image-gallery
Attach or detach Shared Image Gallery to Azure Lab Services accountshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-attach-detach-shared-image-gallery-1
Configure auto-shutdown policies for Azure Lab planshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-auto-shutdown-lab-plans
Configure automatic VM shutdown for Azure Lab Services accountshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-configure-lab-accounts
Connect lab plans to virtual networks with VNET injectionhttps://learn.microsoft.com/en-us/azure/lab-services/how-to-connect-vnet-injection
Create Azure Lab Services labs with shared resourceshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-create-a-lab-with-shared-resource-1
Define lab plans with Bicep or ARM templateshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-plan-bicep
Create a lab plan using Azure PowerShellhttps://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-plan-powershell
Programmatically create lab plans using Python SDKhttps://learn.microsoft.com/en-us/azure/lab-services/how-to-create-lab-plan-python
Create and manage Azure Lab Services VM templateshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-create-manage-template
Configure automatic start/stop schedules for lab VMshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-create-schedules
Enable nested virtualization in Azure Lab Services templateshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-nested-virtualization-template-vm-using-script
Configure automatic shutdown on user disconnect for labshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-enable-shutdown-disconnect
Create, view, and delete Azure Lab Services lab planshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-manage-lab-plans
Configure and manage Azure Lab Services users and usage hourshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-manage-lab-users
Manage Azure Lab Services VM pool capacity and stateshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-manage-vm-pool
Set up GPU-based labs in Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/how-to-setup-lab-gpu-1
Configure Windows lab VMs to prevent OS-level shutdownhttps://learn.microsoft.com/en-us/azure/lab-services/how-to-windows-shutdown
Allow educators to access student VMs in Azure labshttps://learn.microsoft.com/en-us/azure/lab-services/instructor-access-virtual-machines
Configure support contact information for Azure lab accountshttps://learn.microsoft.com/en-us/azure/lab-services/lab-account-owner-support-information
Quickly configure a lab plan for your schoolhttps://learn.microsoft.com/en-us/azure/lab-services/lab-plan-setup-guide
Azure Policy built-in definitions for Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/policy-reference
Configure allowed Azure Marketplace images for labshttps://learn.microsoft.com/en-us/azure/lab-services/specify-marketplace-images
Specify allowed Marketplace images for Azure Lab Services labshttps://learn.microsoft.com/en-us/azure/lab-services/specify-marketplace-images-1
Configure advanced networking for Azure Lab Serviceshttps://learn.microsoft.com/en-us/azure/lab-services/tutorial-create-lab-with-advanced-networking
Integrations & Coding Patterns
Deployment

© MicrosoftDocs, CC-BY-4.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/azure-lab-services of MicrosoftDocs/Agent-Skills.

Open the folder on GitHubat commit ba74e8f

Compare with similar skills

Azure Lab Services next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Azure Lab Services compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Azure Lab Services this skillMicrosoftDocs/Agent-Skills775—~3.9kAutomated safety check: PassCC-BY-4.0
Kouchou AI Developmentdigitaldemocracy2030/kouchou-ai171—~540Automated safety check: NotesAGPL-3.0
Aspiremicrosoft/aspire.dev1964 repos~1.1kAutomated safety check: PassMIT
Library Patternsccashwell/evm-cortex131—~1.6kAutomated safety check: PassMIT
Azure Architecture Autopilotgithub/awesome-copilot40k1 repos~1.9kAutomated safety check: PassMIT
Capacitymicrosoft/GitHub-Copilot-for-Azure2552 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Kouchou AI Development

    digitaldemocracy2030/kouchou-ai

    Local development setup, build and lint commands, environment configuration, and deployment helpers for the kouchou-ai repo.

    171 GitHub stars~540 tokensUpdated yesterday
    DevelopmentAuto-check: notes
  • Aspire

    microsoft/aspire.dev

    Official

    Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps.

    196 GitHub starsUsed in 4 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Library Patterns

    ccashwell/evm-cortex

    Library design patterns for reusable Solidity code. An agent skill from ccashwell/evm-cortex.

    131 GitHub stars~1.6k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Azure Architecture Autopilot

    github/awesome-copilot

    Official

    Designs Azure infrastructure from a natural-language description, or diagrams an existing resource group, then refines the design through conversation and deploys it with Bicep.

    40k GitHub starsUsed in 1 repo~1.9k tokens
    DevOps & CloudAuto-check passed
  • Capacity

    microsoft/GitHub-Copilot-for-Azure

    Official

    Discovers available Azure OpenAI model capacity across regions and projects.

    255 GitHub starsUsed in 2 repos~1.7k tokens
    DevOps & CloudAuto-check passed
  • Aspire Monitoring

    CommunityToolkit/Aspire

    ANALYSIS SKILL - Observe Aspire apps: logs, traces, metrics, resource state, telemetry export, browser telemetry, and the standalone dashboard.

    629 GitHub stars~3.5k tokensUpdated today
    DevOps & CloudAuto-check passed

More from MicrosoftDocs/Agent-Skills

All 149 skills in this repo
  • Azure Personalizer

    MicrosoftDocs/Agent-Skills

    Official

    Expert knowledge for Azure AI Personalizer development including troubleshooting, decision making, security, configuration, and integrations & coding patterns.

    775 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Azure Architecture Advisor

    MicrosoftDocs/Agent-Skills

    Official

    Guides Azure solution design by category, from reference architectures and design patterns to technology choices and migrations, fetching current Microsoft Learn pages over the network.

    775 GitHub stars~15k tokensUpdated yesterday
    Auto-check passed
  • Azure Advisor Guidance

    MicrosoftDocs/Agent-Skills

    Official

    Reference guidance for Azure Advisor work: recommendations, alerts and digests, workbooks, RBAC access and sovereign-cloud limits, fetched from Microsoft Learn.

    775 GitHub stars~1.7k tokensUpdated yesterday
    Auto-check passed
  • Azure AI Vision Reference

    MicrosoftDocs/Agent-Skills

    Official

    Looks up Microsoft Learn guidance for Azure AI Vision: Image Analysis, Read OCR containers, smart-crop thumbnails, background removal and video frame analysis, plus limits and deployment.

    775 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Azure Analysis Services

    MicrosoftDocs/Agent-Skills

    Official

    Expert knowledge for Azure Analysis Services development including troubleshooting.

    775 GitHub stars~608 tokensUpdated yesterday
    Auto-check passed
  • Azure Anomaly Detector

    MicrosoftDocs/Agent-Skills

    Official

    Expert knowledge for Azure AI Anomaly Detector development including troubleshooting, best practices, limits & quotas, configuration, and deployment.

    775 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Azure Lab Services

What does Azure Lab Services do?

Expert knowledge for Azure Lab Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations…. Azure Lab Services is an agent skill from MicrosoftDocs/Agent-Skills, published by the product's own GitHub organization. Expert knowledge for Azure Lab Services development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment.

When should I use Azure Lab Services?

Azure Lab Services fits situations like: configuring lab plans; VM templates/schedules; VNet-integrated labs; GPU/nested virtualization.

How do I install Azure Lab Services in Claude Code?

Run `npx skills add MicrosoftDocs/Agent-Skills --skill azure-lab-services -a claude-code`. Or copy the skill folder (skills/azure-lab-services in MicrosoftDocs/Agent-Skills) into .claude/skills/azure-lab-services in your project. Claude Code loads it when a task matches its description.

How do I install Azure Lab Services in Codex?

Run `npx skills add MicrosoftDocs/Agent-Skills --skill azure-lab-services -a codex`. Or copy the skill folder (skills/azure-lab-services in MicrosoftDocs/Agent-Skills) into .agents/skills/azure-lab-services in your project. Codex loads it when a task matches its description.

Can I use Azure Lab Services in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MicrosoftDocs/Agent-Skills --skill azure-lab-services -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/azure-lab-services, .gemini/skills/azure-lab-services, .github/skills/azure-lab-services and .opencode/skills/azure-lab-services in your project.

What does Azure Lab Services need to run?

SKILL.md names no scripts, command-line tools or credentials: Azure Lab Services is instructions for the agent only. Our summary lists: Python 3. Compatibility (from SKILL.md): Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation..

Does Azure Lab Services access the network?

SKILL.md names 2 domains. As links in the text: learn.microsoft.com and github.com. This is read from the text; nothing was executed.

Is Azure Lab Services safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Azure Lab Services use?

Azure Lab Services is published under the CC-BY-4.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Azure Lab Services use?

About 3.9k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Azure Lab Services?

Skills that share tags, products or a category with Azure Lab Services: Kouchou AI Development (digitaldemocracy2030/kouchou-ai, 171 stars), Aspire (microsoft/aspire.dev, 196 stars), Library Patterns (ccashwell/evm-cortex, 131 stars) and Azure Architecture Autopilot (github/awesome-copilot, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Azure Lab Services?

MicrosoftDocs (a GitHub organization, an official publisher) maintains it in MicrosoftDocs/Agent-Skills, which has 775 GitHub stars. The repository holds 149 skills in this directory. The repository was last updated on October 5, 2026.

Source: MicrosoftDocs/Agent-Skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.