claude-code - 💡(How to fix) Fix Available skills list re-injected as <system-reminder> on tool results, bloating context [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54715Fetched 2026-04-30 06:38:02
View on GitHub
Comments
2
Participants
3
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×2
RAW_BUFFERClick to expand / collapse

The full list of available skills (with descriptions) is being re-emitted as a <system-reminder> block in tool results during a session, not just loaded once at session start. In a session with the Vercel plugin enabled (~40 skills) plus ~30 personal skills, this is ~10–15k tokens repeated multiple times across Edit, Bash, and WebSearch tool results in a single conversation.

This appears to be a sibling of #32057 (rules files re-injected on every tool call), but with the available-skills list as the payload rather than .claude/rules/ files. I did not find an existing issue specifically tracking the skills-list variant.

Repro signal

In a single conversation:

  • The same <system-reminder> block listing all ~75 skills appeared multiple times across different tool results
  • Same content each time — re-injection rather than incremental
  • Disabling the Vercel plugin (40 skills) immediately halved the size of subsequent reminders, confirming the contents track installed-skill count rather than relevance

Environment

  • Claude Code CLI, interactive mode (not headless / -p)
  • macOS Darwin 23.4.0
  • Vercel plugin v0.40.0 enabled at time of repro
  • ~30 user skills under ~/.claude/skills/ and project .claude/skills/

Expected

Skills list loaded once at session start (or on plugin reload), not re-emitted on tool results.

Impact

In long edit-heavy sessions, this compounds with the rules-file re-injection in #32057 to consume a substantial fraction of the context window.

extent analysis

TL;DR

Disabling the Vercel plugin or optimizing the skills list loading mechanism may help mitigate the issue of repeated emission of the available skills list in tool results.

Guidance

  • Investigate the loading mechanism of the skills list to determine why it is being re-emitted on every tool call, rather than being loaded once at session start.
  • Consider optimizing the skills list to only include relevant skills for each tool result, rather than including the full list of ~75 skills.
  • Verify that disabling the Vercel plugin, as done in the repro signal, consistently reduces the size of subsequent reminders.
  • Review the code changes made in #32057 to address the rules files re-injection issue, as this may provide insight into resolving the skills list re-emission issue.

Example

No code snippet is provided as the issue does not include specific code references.

Notes

The issue appears to be related to the loading mechanism of the skills list, and optimizing this mechanism may help resolve the issue. However, without further information about the code, it is difficult to provide a more specific solution.

Recommendation

Apply workaround: Disabling the Vercel plugin or optimizing the skills list loading mechanism may help mitigate the issue, as it has been shown to reduce the size of subsequent reminders.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Available skills list re-injected as <system-reminder> on tool results, bloating context [2 comments, 3 participants]