[BUG] `keybindings-help` skill always loaded even when CLI options forbid it, polluting the context

Resolved 💬 4 comments Opened Feb 8, 2026 by jaenw Closed Mar 17, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

keybindings-help skill is being loaded even though no setting sources are enabled and --disable-slash-commands is enabled.

What Should Happen?

No skills should be enabled, as the documentation for Claude officially states: "Disable all skills and slash commands for this session".

Error Messages/Logs

debug log:


2026-02-08T11:04:53.746Z [DEBUG] Loading skills from: managed=/etc/claude-code/.claude/skills, user=/home/user/.claude/skills, project=[]
2026-02-08T11:04:53.761Z [DEBUG] getPluginSkills: Processing 0 enabled plugins
2026-02-08T11:04:53.761Z [DEBUG] Total plugin skills loaded: 0
2026-02-08T11:04:53.761Z [DEBUG] Loaded 0 unique skills (managed: 0, user: 0, project: 0, additional: 0, legacy commands: 0)
2026-02-08T11:04:53.761Z [DEBUG] getSkills returning: 0 skill dir commands, 0 plugin skills, 2 bundled skills
2026-02-08T11:04:53.859Z [DEBUG] Watching for changes in skill/command directories: /home/user/.claude/commands, /home/user/.claude/commands...
2026-02-08T11:04:54.432Z [DEBUG] Sending 1 skills via attachment (initial, 1 total sent)

Steps to Reproduce

$ claude --no-session-persistence --model=sonnet \
  --tools= --setting-sources= --system-prompt= --strict-mcp-config --disable-slash-commands --print \
  'what skills do you have available? exactly copy their definition into a ``` code block' 

keybindings-help: Use when the user wants to customize keyboard shortcuts, rebind keys, add chord bindings, or modify ~/.claude/keybindings.json. Examples: "rebind ctrl+s", "add a chord shortcut", "change the submit key", "customize keybindings".

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.37 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Xterm

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗