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

perf: cut what reaches the orchestrator's context across plugin skills, hooks and agents

Đang mở
#6,322 1 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
22/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell

Hướng nghiên cứu

This is a scan-and-cut program, not one patch: walk plugin orchestration paths for skills, hooks, agents, handoff/compaction/resume. Compare against the listed patterns (long skill bodies, verbose subagent returns like discovery:research’s file-pointer-plus-summary, per-turn hook text from context-guard and rate-limit-guard, large command output). Measure with /context-budget:audit and /harness-ops:observability plus session transcripts; file each concrete cut separately. Related: issue #6316 and the forthcoming context-guard 128K/250K band PR.

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

Current long-context data says an orchestrating session degrades well before its window fills. Claude Opus 5 holds 91.3% on Context Arena's 8-needle MRCR at 128K but averages 45.7% across the full 1M window (https://contextarena.ai/?needles=8, fetched 2026-10-04). Practitioners put the start of degradation at about 125-150K tokens whatever the window size (Matt Pocock's AI Hero smart-zone entry, Geoffrey Huntley). context-guard now ships 128K/250K token bands on 1M windows to match.

An orchestrator that reads verbose output, re-reads large skill bodies or files, or relays subagent transcripts reaches those edges early and has to hand off or compact. Subagents and workflow agents are fine to use: each has its own window. The orchestrator's window is the scarce one.

Ask

Scan the plugins' orchestration paths and cut what reaches the orchestrator's context:

  • Skills that load long bodies or reference files the orchestrating session does not act on (progressive disclosure, smaller hubs).
  • Skills and agents whose subagent returns are verbose; they should return a file pointer plus a short summary, as discovery:research does.
  • Hook and mod text sent to the model on every turn or tool call (context-guard, rate-limit-guard, others): only what Claude acts on, in the fewest tokens.
  • Commands in skill bodies whose output is large (logs, diffs, listings) where a filter, a count or a subagent would do.
  • Handoff, compaction and resume flows that re-load more than the next step needs.

Measure before and after (/context-budget:audit, /harness-ops:observability, session transcripts), and file each concrete cut as its own change.

Related

  • #6316 (rate-limit and context-guard defaults)
  • The context-guard 128K/250K band change (PR to follow)

🤖 Generated with Claude Code

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

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.