You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Skills from plugins loaded with the Claude --plugin-dir launch arg are missing from the $ and / menus #39895
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Make a local plugin folder, for example /path/to/acme with .claude-plugin/plugin.json ({"name":"acme"}) and skills/qa/SKILL.md.
In T3 Code, set the Claude provider instance's Launch Args to --plugin-dir /path/to/acme.
Start a Claude thread and type $acme or /acme.
Send $acme:qa check the login flow.
Expected behavior
The menu lists acme:qa, the same as when the folder is in CLAUDE_CODE_PLUGIN_DIRS or when you run claude --plugin-dir /path/to/acme. Sending $acme:qa ... runs the skill natively as /acme:qa ....
Actual behavior
The menu does not list acme:qa. The agent does have the skill, because the adapter passes each --plugin-dir to the SDK as a local plugin. $acme:qa is sent as plain text, because planClaudeSkillDispatch only rewrites names that skill discovery returned.
Root cause
discoverClaudeSkills (apps/server/src/provider/Drivers/ClaudeSkills.ts) reads inline plugins from CLAUDE_CODE_PLUGIN_DIRS only. It already parses the instance's launch args, but only for --add-dir. claudeLaunchArgPluginDirectories in ClaudeAdapterV2.ts reads every --plugin-dir for the SDK's plugins option, and discovery never sees those directories.
Activity