github / github/copilot-cli

Skills token limit impact on context window

Đang mở
#1,130 1 bình luận 5 reaction 0 người được giao Xem trên GitHub
area:context-memory
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

## Issue Description

When attempting to use a skill, it may not be visible in the system prompt due to token limits, even though the skill loads successfully.

## Steps to Reproduce

1. Have multiple skills installed (e.g., 49 skills)
2. Invoke a skill using the skill tool
3. Skill loads successfully with message: `Skill "skill-name" loaded successfully. Follow the instructions in the skill context.`
4. However, the skill is not visible in the `` section of the system prompt

## Current Behavior

- Only a subset of skills are shown in the system prompt (31 of 49 in this case)
- Skills that are hidden due to token limits can still be invoked
- This creates confusion as the AI cannot see the skill instructions until after invocation

## Expected Behavior

All available skills should be accessible to the AI, or there should be a better mechanism for handling skill discovery and loading when many skills are installed.

Not sure why there are such limitations to the number of skills. But I would expect that since the context for them is significantly less than MCP, they should be able to be properly visible to the cli tool.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.