Dev & Engineering ✓ Microsoft · Official debug-log-analysisjsonlcopilot-chatvscodeagent-troubleshooting

Copilot Chat Troubleshooter

Explain unexpected agent behavior, latency, and tool failures from Copilot Chat debug logs.

FollowSkills review · FSRS-2.0
Not recommended
49/ 100 5-point scale 2.5 / 5
Trust12 / 25 · 2.4/5

The skill restricts analysis to Copilot debug logs and explicitly requires evidence-based conclusions rather than guessing. However, it does not explain redaction, minimization, retention, or user confirmation for potentially sensitive prompts, messages, tool arguments, authentication, and network data. Its diagnostic command may expose authentication and network status, so points are deducted for incomplete permission, data-flow, and recovery safeguards.

Reliability8 / 20 · 2.0/5

The log format, event types, correlation rules, and investigation workflow are described coherently, with some guidance for errors, latency, and missing files. It lacks explicit failure behavior for malformed JSONL, oversized logs, invalid paths, missing fields, or unavailable tools. Static review cannot verify reproduction, so the score remains below the 10-point static ceiling.

Adaptability10 / 15 · 3.3/5

Trigger scenarios and the target log scope are clear, covering latency, tool calls, subagents, customization loading, and model selection. Non-fit boundaries, input validation, structured output expectations, and Chinese-language support are not defined. Network diagnostics and external documentation may also have reachability limitations for mainland-China users.

Convention9 / 15 · 3.0/5

The document is layered into purpose, data source, event reference, workflow, network investigation, documentation references, and response guidance, with substantial examples. The repository provides MIT licensing, Microsoft attribution, version metadata, and a security-reporting path. The skill itself lacks a version, changelog, named maintainer, and independent update path, so points are deducted.

Effectiveness6 / 15 · 2.0/5

For users with readable logs and the required tools, the workflow can produce a root cause, supporting evidence, and remediation advice with useful direct value. Its outcome depends on complete logs, the runtime environment, and sometimes external documentation, and it provides no verified final-output template or representative execution evidence. Static calibration therefore limits the score to the 7-point range.

Verifiability4 / 10 · 2.0/5

The skill specifies concrete files, fields, correlation rules, commands, and examples, making parts of the process auditable. This review has only source-file evidence; there is no dedicated test suite or third-party reproduction record covering the skill's key paths. The cited repository CI primarily tests other components, so the score is kept below the static 5-point ceiling.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
Before you use it
  • Debug logs may contain user prompts, system prompts, tool arguments, file paths, and authentication or network status; obtain authorization and redact data before processing or sending it to external services.
  • When logs are missing, malformed, truncated, or inaccessible, the skill should explicitly report insufficient evidence instead of inferring a root cause.
  • Network diagnostics and external documentation may be unreachable from mainland-China networks; provide guidance that does not require external access.
See the full review method →

What it does & when to use it

This skill analyzes direct Copilot Chat debug logs to explain unexpected chat-agent behavior. It covers slow requests, tool and subagent usage, failed tool calls, and missing instructions, skills, or agents. Conclusions are required to come from log evidence rather than guesses. It is designed around Visual Studio Code Copilot Chat session logs, not general-purpose application monitoring.

Reads the target session's debug logs, starting with the primary conversation log and consulting model, system-prompt, tool-definition, or child-session logs when relevant. Uses shell commands such as grep and jq, or PowerShell equivalents, to filter errors, slow events, discovery records, tool calls, and model requests. For suspected network or authentication issues, it can run Visual Studio Code's github.copilot.debug.collectDiagnostics command and consult the specified Copilot Issues wiki when no clear cause is found.

  1. A developer needs to explain why a Copilot Chat request was unusually slow.
  2. A user wants to determine why a tool or subagent was called, skipped, blocked, or failed.
  3. A maintainer is diagnosing why an instruction, skill, or agent file did not load.
  4. A Copilot Chat user is investigating timeouts, authentication errors, or failed model requests.

Pros & cons

Pros
  • Uses evidence from a specific session rather than speculation.
  • Covers latency, tool calls, subagents, model availability, and customization-file loading.
  • Provides an additional diagnostic path for network and authentication problems.
Limitations
  • Requires Copilot Chat debug logs and the target session directory.
  • Some diagnostics depend on a Visual Studio Code-specific command or the Copilot Issues wiki.
  • The source provides no test suite, standalone installer, or cross-platform validation details.

How to install

The skill is located at extensions/copilot/assets/prompts/skills/troubleshoot/SKILL.md in the microsoft/vscode repository. The README states that the repository is MIT-licensed and bundles multiple skills; the supplied source does not provide a standalone installation command or procedure for this skill.

How to use

In an environment with the target Copilot Chat session's debug logs available, ask a concrete question such as “Why was this request so slow?” or “Why did the tool call fail?”. The skill uses the logs to explain the cause and suggest next steps. The supplied source does not define a standalone command-line entry point or a procedure for setting the log path.

FAQ

Can it analyze an issue without Copilot Chat debug logs?
Not reliably. The skill requires direct debug-log evidence and explicitly says not to guess.
Does it automatically modify configuration or source files?
The source only describes reading logs, running diagnostics, and providing explanations or suggestions; it does not describe automatic file changes.
Does using it require network access?
Core analysis targets local files, but the full workflow may use network-related diagnostics and online documentation or wiki content.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

Trace session, transport, and host failures in Agent Host debug exports.

Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

Dev & Engineering ✓ Microsoft · Official

Code OSS Launch & Debug

Launch a built-from-source VS Code with isolated profiles, Playwright control, and multi-process debugging ports.

Dev & Engineering ✓ Microsoft · Official

VS Code Accessibility Development Guide

A practical specification for accessible interactive features in VS Code.

Design & Frontend ✓ Microsoft · Official

VS Code CSS Layout Standards

Build reliable VS Code-style CSS layouts and text truncation behavior

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Performance Lab

Benchmark chat rendering and detect memory growth across VS Code builds.

Dev & Engineering ✓ Microsoft · Official

Component Fixtures for Screenshot Testing

Create stable, theme-aware VS Code component fixtures for isolated screenshot testing.

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

Run, filter, and debug VS Code end-to-end smoke tests.

Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

Turn native VS Code crash dumps into readable backtraces with method names.

Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

Validate VS Code workbench and Agents window changes in a local vscode.dev instance.

Dev & Engineering ✓ Microsoft · Official

Feedback Action

Reads current-session feedback and applies the requested code changes.

Related skills