Explore errors in Application Insights — exceptions, failed requests, and failed dependencies. Use this when asked to find errors, investigate failures, identify reliability issues, or recommend which errors to fix.
npx skills add https://github.com/microsoft/code-optimizations-skills --skill error-exploration
When asked to explore errors or investigate failures in Application Insights, follow these steps:
investigation-notes.md with the confirmed values. If only a resource ID is available, resolve the app ID using resolve-app-id.md.$lookbackHours parameter to widen or narrow the window as needed.> ⚠️ CLI query pitfalls: Before running or modifying any query script, read az CLI query pitfalls. Key points: (1) --offset is mandatory, (2) always use --output json, (3) flatten KQL to a single line.
success == false), grouped by operation name and result code. This surfaces user-facing failures with duration statistics that can reveal timeout patterns.AffectedOperations to measure blast radius — how many distinct operations are impacted by each dependency failure.> Running all three queries: Run steps 3, 4, and 5 in sequence. Each query targets a different telemetry table and provides a different perspective on errors. Together, they give a comprehensive picture of the application's error landscape.
How to present the results:
TimeoutException in the caller correlates with a failed HTTP dependency to the same target). These correlated patterns are the most actionable.> Why present before deep-diving: The user may have context about which errors are known issues, which are expected, and which are the most impactful. Let them choose what to investigate further.
problemId to filter: exceptions | where problemId == "<PROBLEM_ID>" | take 5 | project timestamp, outerMessage, details.deep-analysis skill with a specific operation ID to see the full distributed trace for a failed request — including all dependency calls and their timing.perf-optimization skill to correlate error patterns with profiler data and identify whether the failures are timeout-related.deep-analysis skill to trace the operation from the caller's perspective into the downstream service.deep-analysis skill with the operation ID to trace the full request flow across services.perf-optimization skill to check whether the errors are timeout-related.For the investigation notes format and read/write protocol, see:
For known az monitor app-insights query CLI issues, see:
For detailed guidance on finding Application Insights resources, see:
For how to rank and prioritize errors, see:
Integration with protocols.io API for managing scientific protocols. This skill should be used when working with protocols.io to search, create, update, or publish protocols; manage protocol steps and materials; handle discussions and comments; organize workspaces; upload and manage files; or integrate protocols.io functionality into workflows. Applicable for protocol discovery, collaborative protocol development, experiment tracking, lab protocol management, and scientific documentation.
Analyzes job descriptions and generates tailored resumes that highlight relevant experience, skills, and achievements to maximize interview chances
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
Build and distribute Expo development clients locally or via TestFlight
Use when you have a written implementation plan to execute in a separate session with review checkpoints
Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.
Benchling R&D platform integration. Access registry (DNA, proteins), inventory, ELN entries, workflows via API, build Benchling Apps, query Data Warehouse, for lab data management automation.
Comprehensive molecular biology toolkit. Use for sequence manipulation, file parsing (FASTA/GenBank/PDB), phylogenetics, and programmatic NCBI/PubMed access (Bio.Entrez). Best for batch processing, custom bioinformatics pipelines, BLAST automation. For quick lookups use gget; for multi-service integration use bioservices.
Take microsoft/error-exploration from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.