copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

When adding skills local path is always prepended even when full path is passed

Open lolodi opened this issue 9 months ago • 0 comments

Describe the bug

If I try to run /skills add C:\Users\myuser\.agents\skills\my-skill-name I get ✗ Failed to add directory: Error: Directory does not exist: C:\Users\myuser\"C:\Users\myuser\.agents\skills\my-skill-name"

Affected version

GitHub Copilot CLI 0.0.412-2

Steps to reproduce the behavior

  1. Type /skills add C:\Users\myuser\.agents\skills\my-skill-name
  2. Check output with error ✗ Failed to add directory: Error: Directory does not exist: C:\Users\myuser\"C:\Users\myuser\.agents\skills\my-skill-name"

Expected behavior

It recognizes that is a full path and doesn't try to prepend the current path.

Additional context

No response

lolodi avatar Feb 19 '26 18:02 lolodi