Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

feat(context-budget): keep plugin skill descriptions visible when the skill listing overflows

Đang mở
#6,458 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
28/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
json, shell

Hướng nghiên cứu

Start from the problem statement: skill listings are truncated by skillListingBudgetFraction and skillListingMaxDescChars (defaults and this repo's .claude/settings.json). Related issue #6093 covers measure-only /context-budget:audit. Do not implement until maintainers pick a fleet-wide budget, a plugin description cleanup (including disable-model-invocation), and whether the audit should list dropped skills. Done is those decisions plus the matching settings and listing behavior, not a one-file patch.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

needs-human needs-triage

Problem

The skill listing loaded at session start has a character budget: skillListingBudgetFraction, default 0.01 of the context window, with a per-skill cap set by skillListingMaxDescChars, default 1536 (https://code.claude.com/docs/en/settings-reference). When the listing goes over budget, descriptions are dropped. A dropped description means the model cannot tell when to invoke that skill.

Measured on 2026-10-05 with Claude Code 2.1.289, 30 headless runs on claude-haiku-4-5-20251001:

  • The listing overflowed in every run, even with every plugin disabled.
  • With a full melodic install, 317 of 329 skills lost their descriptions.
  • Turning plugins off saves almost no tokens, because overflowing descriptions are dropped anyway. The real per-session costs are agent listings, SessionStart hook text and MCP tool names.

The budget fraction is set inconsistently: 0.05 in this repo's .claude/settings.json, 0.03 in medley, and the default elsewhere.

Decide

  1. A fleet-wide skillListingBudgetFraction value, measured on Opus 5.5 and Fable 5.1 as well as Haiku. The budget scales with context size, so the overflow on a 1M-context model is unmeasured.
  2. A description cleanup across the melodic plugins:
    • shorter, sharper trigger text for model-invocable skills
    • disable-model-invocation on skills that only a person runs, so they leave the listing
  3. Whether /context-budget:audit should report listing overflow: which skills are dropped at a given budget.

Related: #6093 (measure-only audit mode). The plugin profiles design is the other lever: fewer active plugins per task.

🤖 Generated with Claude Code

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
5 giờ 4 phút
Pull request đã merge (30 ngày)
825

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

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.