Dev & Engineering ✓ Microsoft · Official

Copilot Session Troubleshooter

Explain unexpected Copilot CLI behavior from session-log evidence.

51/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 194k
Last updated
11d ago
License
MIT
copilot-clievent-log-analysisagent-debuggingsession-troubleshooting
+1vscode

What does this skill do, and when should you use it?

This skill investigates unexpected behavior in the current Copilot CLI agent session. It analyzes the session event log to explain slow requests, unusual tool usage, missing instructions or skills, and failed tool calls. For connection, timeout, or protocol symptoms, it can also inspect the local VS Code agent-host wire log. It is one of 61 skills bundled in the microsoft/vscode repository, which is licensed under MIT.

The skill locates the target events.jsonl file, checks its size, and reads it through the terminal with a streaming jq or Node.js pass. It counts event types, lists user messages, pairs tool starts with completions, calculates durations, checks failed results, and optionally analyzes VS Code agent-host AHP JSONL frames. It produces an evidence-based explanation of what happened, why it happened, and what to do next.

Good fit
  • A Copilot CLI user wants to know why a request took unusually long and needs turn or tool timing.
  • A user wants to determine why a tool was called or not called and needs session evidence.
  • An instruction, skill, or agent file did not load and the user needs the likely cause.
  • A tool call failed and the user needs the associated failure result investigated.
  • A local VS Code agent host is stuck connecting, timing out, or reporting protocol errors.

How do you install this skill?

Before you use it
  • Logs may contain user prompts, tool arguments, or other sensitive information; the skill gives no redaction, retention, or minimization guidance before presenting findings.
  • Selecting the most recently modified events or wire log can choose the wrong target during multiple sessions, rotation, or concurrent writes; the session path or identifier should be confirmed.
  • The function depends on local Copilot CLI session logs and terminal access; it may fail for remote agent hosts, nonstandard user-data directories, or disabled logging.
  • There are no skill-specific tests, sample logs, or changelog entries, so findings should be treated as assisted diagnosis and reviewed by the user.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • jq or Node.js

The skill is part of the collection in https://github.com/microsoft/vscode at src/vs/sessions/skills/troubleshoot/SKILL.md. The supplied source does not document a standalone installation command for the collection or this skill, so no additional command can be stated accurately.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/microsoft/vscode.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/src/vs/sessions/skills/troubleshoot" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Why was this request so slow?
  • Why was this tool not used?
  • Why did this skill fail to load?

Use it in a Copilot CLI session with a concrete prompt such as “Why was this request so slow?”, “Why was this tool not used?”, or “Why did this skill fail to load?”. If the message provides a Session log path, investigate that path; otherwise discover the most recently modified session log as defined by the skill. Inspect the local VS Code wire log only when the symptom concerns the agent host or transport layer.

What are this skill's strengths and limitations?

Pros
  • Requires conclusions to be supported by session-log evidence rather than guesses.
  • Covers request latency, tool calls, loading failures, and tool errors.
  • Uses a streaming approach suitable for large logs and includes event and duration analysis.
Limitations
  • Its scope is specifically the current Copilot CLI agent session, not arbitrary application logs.
  • It requires terminal access and local filesystem access to the session logs.
  • The wire log applies only to a local agent host and may be disabled by default in VS Code.
  • The supplied source provides no test suite or standalone installation workflow.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Copilot Session Troubleshooter this page ✓ Microsoft · Official 51 · Use with care ★ 194k 11d ago MIT
Copilot Chat Troubleshooter ✓ Microsoft · Official 49 · Use with care ★ 194k 11d ago MIT
VS Code Agent Customization Assistant ✓ Microsoft · Official 55 · Use with care ★ 194k 11d ago MIT
Code OSS Launch & Debug ✓ Microsoft · Official 54 · Use with care ★ 194k 11d ago MIT
VS Code Crash Dump Symbolicator ✓ Microsoft · Official 53 · Use with care ★ 194k 11d ago MIT

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
51/ 100 5-point scale 2.6 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust15 / 25 · 3.0/5

The skill clearly limits itself to the current Copilot CLI session and requires conclusions to be grounded in session logs; its data source and read mechanism are transparent, with no file writes, deletion, or external side effects. However, logs may contain prompts, tool arguments, and sensitive data, while redaction, data minimization, user confirmation, permission boundaries, and recovery guidance are absent, so points are deducted.

2Reliability7 / 20 · 1.8/5

The workflow, event schema, log discovery, and failure feedback are fairly detailed, covering both ordinary session logs and local agent-host wire logs. However, there are no dedicated tests for the key paths, some discovery depends on a newest-modified-file heuristic, and cross-platform commands, log rotation, and large-log behavior remain unverified. The static ceiling prevents a higher score, so deductions are applied.

3Adaptability10 / 15 · 3.3/5

Triggers, Copilot CLI scope, non-fit cases, and the distinction between ordinary model/tool issues and transport issues are reasonably clear. However, operation depends on access to specific local log paths and terminal tooling, with limited guidance for remote hosts, nonstandard configurations, or Chinese-language users, so points are deducted.

4Convention9 / 15 · 3.0/5

The documentation is well layered across purpose, log discovery, formats, workflow, and response rules; the repository supplies MIT licensing, Microsoft attribution, and version information. The skill itself lacks a version, changelog, explicit maintenance owner or update path, installation notes, FAQs, and representative output examples, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

For explaining tool calls, latency, skill loading, and agent-host connection problems, the intended root-cause and remediation output is clear and potentially useful. However, there is no skill-specific reproducible output or verification record, and completeness depends on the log existing, matching the documented format, and being parsed correctly. The static ceiling therefore requires a conservative deduction.

6Verifiability4 / 10 · 2.0/5

The skill requires key claims to come from the event log and defines event fields and pairing rules, providing some auditability. The supplied CI and test files do not cover this SKILL.md's key paths, and there is no third-party execution evidence or sample-log reproduction, so only limited static verifiability is awarded.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e Review evidence[1][2][3][4][5][6][7][8][9][10][11]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does it require network access?
The source describes reading local session and local VS Code wire logs; it does not specify a network requirement.
Can it diagnose a remote agent host?
The session log can still be analyzed when available, but the wire log is written on the VS Code client and is not reachable from a remote agent host.
What happens if no Copilot CLI session log exists?
The skill should report that the environment is not a supported Copilot CLI session and stop.
How is the VS Code wire log enabled?
The source specifies chat.agentHost.ahpJsonlLoggingEnabled; enable it, restart VS Code, reproduce the issue, and run the diagnosis again.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Copilot Chat Troubleshooter

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

★ 194k FS 49 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

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

★ 194k FS 55 Use with care 11d ago
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.

★ 194k FS 54 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

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

★ 194k FS 53 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Reusable Prompt Creator

Turn recurring tasks into reusable .prompt.md files.

★ 194k FS 45 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

★ 194k FS 59 Recommended 11d ago
Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

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

★ 194k FS 58 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

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

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Chat Customizations Editor Skill

Guides developers through safe changes and testing for VS Code’s chat customization management UI.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Integration Test Runner

Run and filter VS Code repository integration tests with the correct platform scripts.

★ 194k FS 52 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Run Command Builder

Configure and update commands shown in a VS Code Agent Session's Run button.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

VS Code Performance Investigation Workflow

Automate repeatable VS Code scenarios and collect performance and memory evidence.

★ 194k FS 47 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Custom Agent Builder

Create a focused .agent.md agent from a job description and the user’s conversation context.

★ 194k FS 42 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

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

★ 194k FS 55 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Code OSS Development Log Viewer

Locate and inspect the latest Code OSS development logs.

★ 194k FS 51 Use with care 11d ago
Automation & Ops ✓ Microsoft · Official

CI Failure Fixer

Diagnose pull request CI failures and iterate toward a fix.

★ 194k FS 48 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Chronicle Copilot Session Analyst

Turn Copilot session history into standups, usage advice, and searchable records.

★ 194k FS 39 Not recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

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

★ 194k FS 60 Recommended 11d ago
Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

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

★ 194k FS 56 Use with care 11d ago
Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

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

★ 194k FS 53 Use with care 11d ago

Related skills