Investigate unexpected chat agent behavior by analyzing direct debug logs in JSONL files. Use when users ask why something happened, why a request was slow, why tools or subagents were used or skipped, or why instructions/skills/agents did not load.
$npx -y skills add microsoft/vscode --skill troubleshootInstalls into the current project.
Run `npx skills use "https://github.com/microsoft/vscode" --skill "microsoft/vscode/troubleshoot"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/microsoft/vscode" that are relevant to the current task. Run `npx skills add "https://github.com/microsoft/vscode"` and select the relevant skills, then follow their instructions.