Skip to content

Skill references trigger unnecessary directory access prompts #1819

Description

@afedyashov

Describe the bug

When a skill includes bundled reference files (under ~/.copilot/skills//references/), Copilot CLI prompts the user for directory access confirmation for each reference file. This is disruptive because:

  1. Skills are explicitly allowed to have references/ — these are bundled resources the skill depends on.
  2. The user already trusted the skill by installing/enabling it.
  3. The prompt fires repeatedly (e.g., "5 remaining"), breaking the agentic flow.

Affected version

0.0.421

Steps to reproduce the behavior

  • Install a skill that has files in its references/ directory (e.g., work-awareness skill with references/meeting-radar.md).
  • Invoke the skill.
  • Observe repeated "Allow directory access" prompts for each reference file.

Expected behavior

The ~/.copilot/skills/<skill-name>/references/ directory should be automatically allowed when a skill is invoked. No user confirmation should be needed for skill-bundled reference files.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:permissionsTool approval, security boundaries, sandbox mode, and directory restrictionsarea:pluginsPlugin system, marketplace, hooks, skills, extensions, and custom agents

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions