mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-27 03:54:49 +02:00
Pass `skills=[]` to ClaudeAgentOptions so the SDK's built-in plugin skills (/init, /review, /security-review, /simplify, /loop, /schedule, /update-config, /keybindings-help, /fewer-permission-prompts, /claude-api) are hidden from the model and rejected by the Skill tool. These skills are inappropriate in OpenSwarm: half mutate ~/.claude config files (settings.json, keybindings.json) that OpenSwarm doesn't read, and the rest expose slash commands the backend never intercepts — causing the model to falsely claim capabilities it can't actually use. OpenSwarm's own skills system injects skill content directly into the user prompt via _resolve_attached_skills, bypassing the Skill tool entirely, so user-attached skills are unaffected. Also adds a regression test that pins the `skills=[]` assignment so it can't be silently dropped in a future refactor.