Official agent skill

Appinsights Instrumentation

by microsoft in microsoft/GitHub-Copilot-for-Azure

Guidance for instrumenting webapps with Azure Application Insights.

OfficialMITAuto-check passedDevOps & Cloud

Install Appinsights Instrumentation

skills CLI
$ npx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation -a claude-code

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

GitHub CLI
$ gh skill install microsoft/GitHub-Copilot-for-Azure appinsights-instrumentation --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/microsoft/GitHub-Copilot-for-Azure.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/azure-skills/skills/appinsights-instrumentation .claude/skills/appinsights-instrumentation && 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
appinsights-instrumentation
GitHub stars
255
Used in
1 other repo
Token cost
~951 tokens
SKILL.md length
441 words
Files
14 (incl. scripts, references)
Skills in repo
61
Repo updated
First seen
Licence
MIT

At a glance

Guidance for instrumenting webapps with Azure Application Insights.

  • Tasks that involve Monitoring and alerting
  • SKILL.md covers When to Use This Skill, When to Use azure-prepare…, Prerequisites and Guidelines, plus 2 more sections
  • Runs PowerShell scripts from its folder

What it does

Appinsights Instrumentation is an agent skill from microsoft/GitHub-Copilot-for-Azure, published by the product's own GitHub organization. Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.

Its SKILL.md is about 950 tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including scripts and reference files (for example `references/aspnetcore.md`, `references/auto.md` and `references/container-apps.md`).

It sits in DevOps & Cloud, covering Monitoring and alerting. It works with Azure Monitor, Microsoft Azure and Bicep. The repository describes itself as: GitHub Copilot for Azure. The licence is MIT.

When your agent uses it

  • Tasks that involve Monitoring and alerting

Example prompts

  • “/appinsights-instrumentation”

Requirements

  • Python 3
  • Node.js
  • PowerShell

What it can do on your machine

Read from SKILL.md and the folder at commit ce94fce. 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

    Ships 1 file in scripts/ (PowerShell), which the agent can run.

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

  • Network

    No URLs in SKILL.md.

    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.

Context cost

Appinsights Instrumentation loads about 951 tokens when it runs, and up to ~5.4k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 441 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~951
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.4k

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); the scripts in this folder are not scanned.

SKILL.md

The full file from microsoft/GitHub-Copilot-for-Azure at commit ce94fce, republished under its MIT licence (© microsoft). 441 words, ~951 tokens.

Download SKILL.mdSave it as .claude/skills/appinsights-instrumentation/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
appinsights-instrumentation
description
Guidance for instrumenting webapps with Azure Application Insights. Provides telemetry patterns, SDK setup, and configuration references. WHEN: how to instrument app, App Insights SDK, telemetry patterns, what is App Insights, Application Insights guidance, instrumentation examples, APM best practices.
license
MIT
metadata.author
Microsoft
metadata.version
0.0.0-placeholder

AppInsights Instrumentation Guide

This skill provides guidance and reference material for instrumenting webapps with Azure Application Insights.

⛔ ADDING COMPONENTS?

If the user wants to add App Insights to their app, invoke azure-prepare instead. This skill provides reference material—azure-prepare orchestrates the actual changes.

When to Use This Skill

  • User asks how to instrument (guidance, patterns, examples)
  • User needs SDK setup instructions
  • azure-prepare invokes this skill during research phase
  • User wants to understand App Insights concepts

When to Use azure-prepare Instead

  • User says "add telemetry to my app"
  • User says "add App Insights"
  • User wants to modify their project
  • Any request to change/add components

Prerequisites

The app in the workspace must be one of these kinds

  • An ASP.NET Core app hosted in Azure
  • An Azure Container App
  • A Node.js app hosted in Azure
  • A Python app hosted in Azure

Guidelines

Collect context information

Find out the (programming language, application framework, hosting) tuple of the application the user is trying to add telemetry support in. This determines how the application can be instrumented. Read the source code to make an educated guess. Confirm with the user on anything you don't know. You must always ask the user where the application is hosted (e.g. on a personal computer, in an Azure App Service as code, in an Azure App Service as container, in an Azure Container App, etc.).

Prefer auto-instrument if possible

If the app is a C# ASP.NET Core app hosted in Azure App Service, use AUTO guide to help user auto-instrument the app.

Manually instrument

Manually instrument the app by creating the AppInsights resource and update the app's code.

Show full SKILL.md (174 more words)Show less
Create AppInsights resource

Use one of the following options that fits the environment.

  • Add AppInsights to existing Bicep template. See examples/appinsights.bicep for what to add. This is the best option if there are existing Bicep template files in the workspace.
  • Use Azure CLI. See scripts/appinsights.ps1 for what Azure CLI command to execute to create the App Insights resource.

No matter which option you choose, recommend the user to create the App Insights resource in a meaningful resource group that makes managing resources easier. A good candidate will be the same resource group that contains the resources for the hosted app in Azure.

Modify application code
  • If the app is an ASP.NET Core app, see ASPNETCORE guide for how to modify the C# code.
  • If the app is a Node.js app, see NODEJS guide for how to modify the JavaScript/TypeScript code.
  • If the app is a Python app, see PYTHON guide for how to modify the Python code.

SDK Quick References

Platform-Specific Guides

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 13 other files (scripts, references) in plugins/azure-skills/skills/appinsights-instrumentation of microsoft/GitHub-Copilot-for-Azure.

  • SKILL.md
  • LICENSE.txt
  • examples/appinsights.bicep
  • references/aspnetcore.md
  • references/auto.md
  • references/container-apps.md
  • references/nodejs.md
  • references/python.md
  • references/sdk/azure-monitor-opentelemetry-exporter-java.md
  • references/sdk/azure-monitor-opentelemetry-exporter-py.md
  • references/sdk/azure-monitor-opentelemetry-py.md
  • references/sdk/azure-monitor-opentelemetry-ts.md
  • scripts/appinsights.ps1
  • version.json

Open the folder on GitHubat commit ce94fce

Used in 3 other repositories

We found 4 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in microsoft/GitHub-Copilot-for-Azure, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Appinsights Instrumentation 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.

Appinsights Instrumentation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Appinsights Instrumentation this skillmicrosoft/GitHub-Copilot-for-Azure2551 repos~951Automated safety check: PassMIT
Azure Mgmt Applicationinsights Dotnetmicrosoft/skills3.1k5 repos~4.6kAutomated safety check: PassMIT
Cloud Integrationsgrafana/skills281—~2.5kAutomated safety check: PassApache-2.0
Azure Managed GrafanaMicrosoftDocs/Agent-Skills777—~2kAutomated safety check: PassCC-BY-4.0
Azure Architecture Autopilotgithub/awesome-copilot40k1 repos~1.9kAutomated safety check: PassMIT
Azure Bicep Skilltimothywarner-org/claude-code224—~2.9kAutomated safety check: PassMIT

Similar skills

  • Official

    Azure Application Insights SDK for .NET. An agent skill from microsoft/skills.

    3.1k GitHub starsUsed in 5 repos~4.6k tokens
    DevOps & CloudAuto-check passed
  • Cloud Integrations

    grafana/skills

    Official

    Set up, configure, and troubleshoot Grafana Cloud integrations for AWS, Azure, and other cloud providers.

    281 GitHub stars~2.5k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Azure Managed Grafana

    MicrosoftDocs/Agent-Skills

    Official

    Expert knowledge for Azure Managed Grafana development including troubleshooting, decision making, limits & quotas, security, configuration, and integrations & coding patterns.

    777 GitHub stars~2k tokensUpdated 3 days ago
    DevOps & CloudAuto-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
  • Azure Bicep Skill

    timothywarner-org/claude-code

    A skill your agent uses when authoring, reviewing, or refactoring Azure Bicep code.

    224 GitHub stars~2.9k tokensUpdated 2 mo ago
    DevOps & CloudAuto-check passed
  • Azure Functions

    DataDog/dd-trace-dotnet

    Official

    Dev/test workflow for tracer engineers working on the Datadog .NET tracer — build a local Datadog.AzureFunctions NuGet package, deploy it to a test Azure Function App, trigger it, and analyze…

    573 GitHub stars~4.7k tokensUpdated today
    DevOps & CloudAuto-check passed

More from microsoft/GitHub-Copilot-for-Azure

All 61 skills in this repo
  • Capacity

    microsoft/GitHub-Copilot-for-Azure

    Official

    Discovers available Azure OpenAI model capacity across regions and projects.

    255 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Deploy Model

    microsoft/GitHub-Copilot-for-Azure

    Official

    Unified Azure OpenAI model deployment skill with intelligent intent-based routing.

    255 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Azure Storage

    microsoft/GitHub-Copilot-for-Azure

    Official

    Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake.

    255 GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • Microsoft Foundry

    microsoft/GitHub-Copilot-for-Azure

    Official

    Build, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end.

    255 GitHub starsUsed in 1 repo~6.7k tokens
    Auto-check passed
  • Entra Agent Id

    microsoft/GitHub-Copilot-for-Azure

    Official

    Provision Microsoft Entra Agent Identity Blueprints, BlueprintPrincipals, and per-instance Agent Identities via Microsoft Graph, and configure OAuth 2.0 token exchange (fmipath, OBO, cross-tenant)…

    255 GitHub starsUsed in 2 repos~4k tokens
    Auto-check passed
  • Azure Kubernetes Automatic Readiness

    microsoft/GitHub-Copilot-for-Azure

    Official

    Assess Kubernetes workloads and cluster configuration for AKS Automatic compatibility.

    255 GitHub starsUsed in 1 repo~4.4k tokens
    Auto-check passed

Categories

Questions about Appinsights Instrumentation

What does Appinsights Instrumentation do?

Guidance for instrumenting webapps with Azure Application Insights. Appinsights Instrumentation is an agent skill from microsoft/GitHub-Copilot-for-Azure, published by the product's own GitHub organization. Guidance for instrumenting webapps with Azure Application Insights.

When should I use Appinsights Instrumentation?

Appinsights Instrumentation fits situations like: tasks that involve Monitoring and alerting.

How do I install Appinsights Instrumentation in Claude Code?

Run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation -a claude-code`. Or copy the skill folder (plugins/azure-skills/skills/appinsights-instrumentation in microsoft/GitHub-Copilot-for-Azure) into .claude/skills/appinsights-instrumentation in your project. Claude Code loads it when a task matches its description.

How do I install Appinsights Instrumentation in Codex?

Run `npx skills add microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation -a codex`. Or copy the skill folder (plugins/azure-skills/skills/appinsights-instrumentation in microsoft/GitHub-Copilot-for-Azure) into .agents/skills/appinsights-instrumentation in your project. Codex loads it when a task matches its description.

Can I use Appinsights Instrumentation 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 microsoft/GitHub-Copilot-for-Azure --skill appinsights-instrumentation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/appinsights-instrumentation, .gemini/skills/appinsights-instrumentation, .github/skills/appinsights-instrumentation and .opencode/skills/appinsights-instrumentation in your project.

What does Appinsights Instrumentation need to run?

Going by SKILL.md and its folder, Appinsights Instrumentation needs PowerShell for the scripts in its folder. Our summary lists: Python 3; Node.js; PowerShell.

Does Appinsights Instrumentation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Appinsights Instrumentation 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Appinsights Instrumentation use?

Appinsights Instrumentation is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Appinsights Instrumentation use?

About 951 tokens (SKILL.md is roughly 3.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.4k tokens, read only when the agent opens those files.

What are the alternatives to Appinsights Instrumentation?

Skills that share tags, products or a category with Appinsights Instrumentation: Azure Mgmt Applicationinsights Dotnet (microsoft/skills, 3.1k stars), Cloud Integrations (grafana/skills, 281 stars), Azure Managed Grafana (MicrosoftDocs/Agent-Skills, 777 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 Appinsights Instrumentation?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/GitHub-Copilot-for-Azure, which has 255 GitHub stars. The repository holds 61 skills in this directory. The repository was last updated on October 9, 2026.

Source: microsoft/GitHub-Copilot-for-Azure on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.