claude-code - 💡(How to fix) Fix [Bug] Plugin agent loader silently filters agents below undocumented system prompt length threshold [1 comments, 2 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#47165Fetched 2026-04-13 05:39:43
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3commented ×1

Error Message

[{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\code-quality-scorer for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\datastore-performance-auditor for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\memory-auditor for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\Users\Cyano\AppData\Local\Temp\claude\C--src-Roblox-Claude-Code-Skills\dfe20b21-246e-467d-a051-f219582dc0de\tasks\aea08e04e73bf35de.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-13T01:30:15.264Z"},{"error":"MaxFileReadTokenExceededError: File content (12385 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at O (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:30:28.899Z"},{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\code-quality-scorer for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\datastore-performance-auditor for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\memory-auditor for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Request was aborted.\n at uR8 (B:/~BUN/root/src/entrypoints/cli.js:1325:12089)\n at next (native:1:11)\n at mm_ (B:/~BUN/root/src/entrypoints/cli.js:7964:9109)\n at next (native:1:11)\n at Um_ (B:/~BUN/root/src/entrypoints/cli.js:7969:12068)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:45:20.814Z"},{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\code-quality-scorer for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:58:19.155Z"},{"error":"Error: Plugin component file not found: C:\Users\Cyano\.claude\plugins\cache\rccs-marketplace\rccs\efa0a1956df1\skills\datastore-performance-auditor for rccs\n at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n at processTicksAndRejec…

Fix Action

Fix / Workaround

Bug Description Plugin agent loader silently drops agents whose system prompt body falls below an undocumented length threshold. Agents ship to the plugin cache and pass YAML validation but never appear in /agents or as dispatchable subagent_type values.

Code Example

[{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\code-quality-scorer for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\datastore-performance-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\memory-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Cyano\\AppData\\Local\\Temp\\claude\\C--src-Roblox-Claude-Code-Skills\\dfe20b21-246e-467d-a051-f219582dc0de\\tasks\\aea08e04e73bf35de.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-13T01:30:15.264Z"},{"error":"MaxFileReadTokenExceededError: File content (12385 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:30:28.899Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\code-quality-scorer for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\datastore-performance-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\memory-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Request was aborted.\n    at uR8 (B:/~BUN/root/src/entrypoints/cli.js:1325:12089)\n    at next (native:1:11)\n    at mm_ (B:/~BUN/root/src/entrypoints/cli.js:7964:9109)\n    at next (native:1:11)\n    at Um_ (B:/~BUN/root/src/entrypoints/cli.js:7969:12068)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:45:20.814Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\code-quality-scorer for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:58:19.155Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\datastore-performance-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejec…
RAW_BUFFERClick to expand / collapse

Bug Description Plugin agent loader silently drops agents whose system prompt body falls below an undocumented length threshold. Agents ship to the plugin cache and pass YAML validation but never appear in /agents or as dispatchable subagent_type values.

Observed empirically in the rccs plugin (CyanoTex/Roblox-Claude-Code-Skills):

  • 23-line, ~1,173-char bodies consistently filtered out
  • 69-line, ~7,355-char bodies register
  • 107-line, ~10,910-char bodies register

All filtered and non-filtered agents had identical YAML frontmatter (name, description: |, model: inherit), UTF-8 encoding, valid YAML. Only difference was body prose length and content. Filtered bodies tended to read as "invoke the X skill" thin wrappers.

Neither the sub-agents docs (https://code.claude.com/docs/en/sub-agents) nor plugins-reference (https://code.claude.com/docs/en/plugins-reference) mention a minimum-body rule or a content-based heuristic. Please either document the threshold (exact value, whether it's char/line/token-based, whether frontmatter counts) or remove the filter so plugin authors can ship thin wrapper agents when delegation to a skill is the intentional design.

Environment Info

  • Platform: win32
  • Terminal: null
  • Version: 2.1.104
  • Feedback ID: 16683388-9d15-4ea2-87fe-af1356e95a3d

Errors

[{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\code-quality-scorer for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\datastore-performance-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\memory-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-12T13:23:07.859Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Cyano\\AppData\\Local\\Temp\\claude\\C--src-Roblox-Claude-Code-Skills\\dfe20b21-246e-467d-a051-f219582dc0de\\tasks\\aea08e04e73bf35de.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7823:299)","timestamp":"2026-04-13T01:30:15.264Z"},{"error":"MaxFileReadTokenExceededError: File content (12385 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at _O_ (B:/~BUN/root/src/entrypoints/cli.js:4500:12874)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:30:28.899Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\code-quality-scorer for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\datastore-performance-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\memory-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:44:37.962Z"},{"error":"Error: Request was aborted.\n    at uR8 (B:/~BUN/root/src/entrypoints/cli.js:1325:12089)\n    at next (native:1:11)\n    at mm_ (B:/~BUN/root/src/entrypoints/cli.js:7964:9109)\n    at next (native:1:11)\n    at Um_ (B:/~BUN/root/src/entrypoints/cli.js:7969:12068)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:45:20.814Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\code-quality-scorer for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-13T01:58:19.155Z"},{"error":"Error: Plugin component file not found: C:\\Users\\Cyano\\.claude\\plugins\\cache\\rccs-marketplace\\rccs\\efa0a1956df1\\skills\\datastore-performance-auditor for rccs\n    at TD_ (B:/~BUN/root/src/entrypoints/cli.js:4729:13397)\n    at processTicksAndRejec…

Note: Content was truncated.

extent analysis

TL;DR

The plugin agent loader may be silently dropping agents due to an undocumented length threshold, so increasing the body length of the agents or adjusting the loader's configuration might resolve the issue.

Guidance

  1. Verify the length threshold: Check if the issue is indeed caused by the length of the agent's body by testing with different lengths.
  2. Adjust agent body length: Increase the body length of the agents that are being filtered out to see if they are then registered.
  3. Check for configuration options: Look for any configuration options in the plugin agent loader that might allow adjusting or disabling the length threshold.
  4. Consult documentation and support: Review the documentation for the plugin agent loader and sub-agents, and consider reaching out to support for further guidance on the length threshold and how to work around it.

Example

No specific code example is provided due to the lack of detailed information about the plugin agent loader's configuration or API.

Notes

The exact nature of the length threshold (whether it's based on characters, lines, or tokens) and how it's enforced is not specified in the provided information. The solution may involve adjusting the agent's body content or finding a configuration option to change the threshold.

Recommendation

Apply a workaround by adjusting the agent's body length to exceed the apparent threshold, as the exact configuration or removal of the filter is not currently possible without further documentation or support.

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 [Bug] Plugin agent loader silently filters agents below undocumented system prompt length threshold [1 comments, 2 participants]