New to Claude Skills? Learn how to install them →

github on GitHub

AppInsights Instrumentation

OfficialFree

Enable telemetry for Azure web apps with ease.

by github37.7k stars on github/awesome-copilot
2 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What AppInsights Instrumentation does

The AppInsights Instrumentation skill is designed to facilitate the integration of Azure Application Insights into web applications. This skill is particularly useful for developers looking to enhance their application's observability by sending telemetry data to Azure App Insights. By leveraging this skill, users can gain insights into their application's performance and health, which is crucial for maintaining high-quality user experiences.

To utilize this skill, developers must ensure that their application is hosted in Azure and falls under one of the supported frameworks: ASP.NET Core, Node.js, or Python. The skill provides a structured approach to instrumenting the application, offering both auto-instrumentation and manual instrumentation options. For ASP.NET Core apps, the skill recommends using the AUTO guide for a streamlined setup, while Node.js and Python applications require manual code modifications as outlined in the respective guides.

The skill includes practical resources such as example Bicep templates and PowerShell scripts to assist users in creating the necessary App Insights resources within Azure. This ensures that developers can effectively manage their telemetry data within a well-organized resource group, enhancing overall resource management. By following the guidelines provided, users can ensure that their applications are properly instrumented to capture valuable telemetry data, leading to better monitoring and troubleshooting capabilities.

Overall, the AppInsights Instrumentation skill is a valuable tool for developers seeking to implement telemetry in their Azure-hosted web applications, providing clear instructions and resources to facilitate the process.

When to use it

Use this skill when you need to instrument a web application hosted in Azure to collect telemetry data.

When not to use it

This skill is not suitable for applications not hosted in Azure or those not using the specified frameworks.

What you can build with it

Instrumenting an ASP.NET Core App

A developer uses the skill to auto-instrument their ASP.NET Core application hosted in Azure, following the provided AUTO guide.

Setting Up Telemetry for Node.js

A team member manually instruments their Node.js application by modifying the code as per the skill's guidelines.

Creating App Insights Resource

A developer adds Azure Application Insights to their existing Bicep template to streamline resource management.

How to install AppInsights Instrumentation

View source

1. Install with the skills CLI

npx skills add github/awesome-copilot/appinsights-instrumentation --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by github

AppInsights instrumentation

This skill enables sending telemetry data of a webapp to Azure App Insights for better observability of the app's health.

When to use this skill

Use this skill when the user wants to enable telemetry for their webapp.

Prerequisites

The app in the workspace must be one of these kinds

  • An ASP.NET Core app hosted in Azure
  • A Node.js 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.

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.

Frequently asked questions about AppInsights Instrumentation

Similar skills