Skip to content

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

@lolodi

Description

@lolodi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions