setup-app-insights

setup-app-insights is a skill for Claude Code from microsoft/power-platform-skills. It costs 45 tokens per session (3,304 once invoked), scanned A, original, MIT.

A setup procedure for optional Application Insights telemetry in a Power Apps mobile app. Application Insights is an Azure service that records app usage and diagnostic data, and telemetry is data sent about an app’s operation.

In plain words
What is it for?
Use it to enable, change, or disable an existing Azure Application Insights resource for a generated mobile app.
Why use it?
It keeps telemetry off until explicitly enabled and limits changes to the app’s telemetry configuration rather than its screens, data model, or connectors.

Skill for Claude Code ✓ vendor

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import appConfig from '../app.json';.

Part of the mobile-app plugin — 23 skills, 5 agents shipped together

Good fit Use it to enable, change, or disable an existing Azure Application Insights resource for a generated mobile app.

Compare 6 skills from other repositories ↓
About the project

microsoft/power-platform-skills is a plugin marketplace containing reusable skills, agents, and commands for developing with Microsoft Power Platform. Developers use it to build and deploy Power Pages sites, model-driven Power Apps, and related solutions through Claude Code or GitHub Copilot. The catalogue entries are the marketplace's included skills, agents, plugins, and other agent components.

microsoft/power-platform-skills · 1,015 stars · on GitHub · aka.ms

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/microsoft/power-platform-skills
agentmods
npx agentmods add skills/microsoft/power-platform-skills/setup-app-insights

Made for: Claude Code.

Or install mobile-app, the plugin that ships this one along with the rest of its 23 skills, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-app-insights

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/power-platform-skills/setup-app-insights/github.svg)](https://agentmods.dev/skills/microsoft/power-platform-skills/setup-app-insights)
Your own site
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/setup-app-insights"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/setup-app-insights/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-app-insights

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/power-platform-skills/setup-app-insights"><img src="https://agentmods.dev/badge/skills/microsoft/power-platform-skills/setup-app-insights.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,304 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.03304
Opus 5.5 $0.00018 $0.01322
Sonnet 5.5 $0.00009 $0.00661
Haiku 4.5 $0.00005 $0.00330

Measured 7d ago against content hash c9c5ed058185, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-app-insights scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mobile-apps/skills/setup-app-insights/SKILL.md · 300 lines

How it starts

The opening of the file, as written. The whole thing — 300 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plugin check: Run node "${PLUGIN_ROOT}/scripts/check-version.js" - if it outputs a message, show it to the user before proceeding.

Shared instructions: shared-instructions.md — read first.

Set up Application Insights

Configures the generated app's optional, customer-owned Application Insights telemetry through app.json → expo.extra.appInsightsConfig. This is host/runtime configuration, not a connector or plan section — it never touches the data model, native-capability matrix, connector list, or screens.

Application Insights is off by default. Invoking this skill (or approving its mutation) is the explicit opt-in; consent is never inferred from an app description.

When to use

  • /setup-app-insights — enable, change, or disable Application Insights on an existing app.
  • Invoked by /edit-app when the request is only an Application Insights change (its Step 0.5 fast path delegates here).
  • Examples: "Enable Application Insights for this app", "Change the Application Insights resource this app uses", "Disable Application Insights for this app".

When NOT to use

  • Adding or changing custom events in app screens → configure Application Insights here first, then continue through /edit-app for those source changes.
  • Data model / connector / native / design / screen changes → the respective /add-*, /setup-*, /edit-app, or /design-system skills.
  • Provisioning a new Azure Application Insights resource → out of scope; this skill discovers or accepts an existing resource.

Inputs

  • working_dir — absolute path to the project root (auto-detected from cwd, or passed by an orchestrator).
  • --action <enable|change-resource|disable> — optional; when omitted, inferred from current state and one question.

Step 1 — Detect invocation mode

Telemetry checkpoint: resolve_app_insights_mode

1. Check MOBILE_APP_ORCHESTRATING=1 AND explicit edit-app caller context
   → Mode A (invoked by /edit-app). Use the passed --working-dir. Return a status block.

2. Else resolve working_dir from cwd (must contain app.json with an expo object)
   → Mode B (standalone). Return a human summary.

Read the full file on GitHub · 300 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +4 lines c9c5ed058185
  2. 8d ago Changed d06b632fd089
  3. 9d ago Changed 01f728a4e629
  4. 18d ago Changed · +2 lines d92d6a025766
  5. 1mo ago First seen · 294 lines · 45 tokens per session scan A 5b2fb97e7398

Subscribe to this mod's changes

setup-app-insights is a skill published in the GitHub repository microsoft/power-platform-skills (1,015 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 3,304 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-17.

Related

Other skills, from other repositories

canvas-apps-ui-gen

Generates paste-ready Power Apps Canvas App YAML. Invoke when the user wants to replicate a UI mockup, improve an existing Canvas app screen, or build a new screen from a text description. Also invoke when the user asks to "improve", "redesign", or "generate YAML" for a Canvas app screen.

ToluVictor/canvas-apps-tools · 71 tokens

ios-hig-design

Design native iOS interfaces following Apple Human Interface Guidelines. Use when the user mentions "iPhone app", "iPad layout", "SwiftUI", "UIKit", "Dynamic Island", "safe areas", "HIG compliance", "SF Symbols", "haptic feedback", "iOS accessibility", "make my app feel native", or "follow Apple design guidelines".…

wondelai/skills · 145 tokens

fec-pwa-implementation

A guide for adding Progressive Web App features to a website. A Progressive Web App, or PWA, is a website that can be installed like an app and can offer limited offline use through a web app manifest and a service worker.

bovinphang/frontend-craft · 87 tokens

validate-mobile

Run a Maestro flow on an explicitly selected iOS or Android device and report behavioral evidence.

johnkozaris/jko-claude-plugins · 20 tokens

swiftui-expert

This skill should be used when the user is building, reviewing, or debugging SwiftUI views and apps. Detects iOS and Swift version from the project. Covers creating views, state management with @Observable, NavigationStack routing, animations, accessibility, performance optimization, Liquid Glass adoption, design…

mathisk2095/jko-claude-plugins · 162 tokens

eng-unity-mobile-optimization

Mobile-specific Unity optimization patterns for memory, battery, thermal, and performance.

IdoCohen560/claude-unity-game-studio · 22 tokens