[Bug] Mid-line skill invocation ignored for skills with disable-model-invocation: true

Resolved 💬 3 comments Opened Feb 18, 2026 by laramarcodes Closed Feb 21, 2026

Bug Description
Skills that have disable-model-invocation: true in their YAML frontmatter (e.g., a /new-skill skill) are not recognized when invoked mid-line in a prompt. The new mid-line slash command feature appears to skip these skills entirely — only beginning-of-line invocation works.

Additionally, when the model attempts to invoke such a skill via the Skill tool, it fails with:

Skill new-skill cannot be used with Skill tool due to disable-model-invocation.

Expected Behavior
Mid-line /new-skill should still trigger the skill since it is a user-initiated invocation, not a model-initiated invocation.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.45
  • Feedback ID: 8882cc42-4dc9-4a4b-af92-26db322927c9

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/sfinnerty/.local/share/claude/versions/2.1.45 (expected in multi-process scenarios)\n    at azR (/$bunfs/root/claude:3442:2098)\n    at BjA (/$bunfs/root/claude:3442:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-18T02:35:19.101Z"},{"error":"Error: LSP server plugin:typescript-lsp:typescript failed to start: Executable not found in $PATH: \"typescript-language-server\"\n    at start (/$bunfs/root/claude:2317:22314)\n    at async H (/$bunfs/root/claude:2317:24762)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-18T02:35:19.711Z"},{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/claude:2317:20844)\n    at H (/$bunfs/root/claude:2317:24762)\n    at _ (/$bunfs/root/claude:2317:32538)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-18T02:35:19.711Z"},{"error":"Error: Failed to start LSP server plugin:typescript-lsp:typescript: Executable not found in $PATH: \"typescript-language-server\"\n    at <anonymous> (/$bunfs/root/claude:2317:32560)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-18T02:35:19.711Z"},{"error":"Error: Tool mcp__excalidraw__read_me not found\n    at vt_ (/$bunfs/root/claude:2096:7936)\n    at W8 (/$bunfs/root/claude:682:20800)\n    at Q8 (/$bunfs/root/claude:682:39205)\n    at CTT (/$bunfs/root/claude:682:49828)\n    at Fv (/$bunfs/root/claude:682:86110)\n    at LTT (/$bunfs/root/claude:682:85081)\n    at pp (/$bunfs/root/claude:682:84905)\n    at gp (/$bunfs/root/claude:682:81323)\n    at fA (/$bunfs/root/claude:682:6409)\n    at mT (/$bunfs/root/claude:682:4906)","timestamp":"2026-02-18T03:10:54.558Z"},{"error":"Error: Tool mcp__excalidraw__create_view not found\n    at vt_ (/$bunfs/root/claude:2096:7936)\n    at W8 (/$bunfs/root/claude:682:20800)\n    at Q8 (/$bunfs/root/claude:682:39205)\n    at CTT (/$bunfs/root/claude:682:49828)\n    at Fv (/$bunfs/root/claude:682:86110)\n    at LTT (/$bunfs/root/claude:682:85081)\n    at pp (/$bunfs/root/claude:682:84905)\n    at gp (/$bunfs/root/claude:682:81323)\n    at fA (/$bunfs/root/claude:682:6409)\n    at mT (/$bunfs/root/claude:682:4906)","timestamp":"2026-02-18T03:10:54.558Z"},{"error":"Error: Tool mcp__excalidraw__export_to_excalidraw not found\n    at vt_ (/$bunfs/root/claude:2096:7936)\n    at W8 (/$bunfs/root/claude:682:20800)\n    at Q8 (/$bunfs/root/claude:682:39205)\n    at CTT (/$bunfs/root/claude:682:49828)\n    at Fv (/$bunfs/root/claude:682:86110)\n    at LTT (/$bunfs/root/claude:682:85081)\n    at pp (/$bunfs/root/claude:682:84905)\n    at gp (/$bunfs/root/claude:682:81323)\n    at fA (/$bunfs/root/claude:682:6409)\n    at mT (/$bunfs/root/claude:682:4906)","timestamp":"2026-02-18T03:10:54.559Z"},{"error":"Error: Tool mcp__excalidraw__create_view not found\n    at vt_ (/$bunfs/root/claude:2096:7936)\n    at W8 (/$bunfs/root/claude:682:20800)\n    at Q8 (/$bunfs/root/claude:682:39205)\n    at CTT (/$bunfs/root/claude:682:49828)\n    at Fv (/$bunfs/root/claude:682:86110)\n    at LTT (/$bunfs/root/claude:682:85081)\n    at pp (/$bunfs/root/claude:682:84905)\n    at gp (/$bunfs/root/claude:682:81323)\n    at fA (/$bunfs/root/claude:682:6409)\n    at mT (/$bunfs/root/claude:682:4906)","timestamp":"2026-02-18T03:10:54.561Z"},{"error":"Error: Tool mcp__excalidraw__export_to_excalidraw not found\n    at vt_ (/$bunfs/root/claude:2096:7936)\n    at W8 (/$bunfs/root/claude:682:20800)\n    at Q8 (/$bunfs/root/claude:682:39205)\n    at CTT (/$bunfs/root/claude:682:49828)\n    at Fv (/$bunfs/root/claude:682:86110)\n    at LTT (/$bunfs/root/claude:682:85081)\n    at pp (/$bunfs/root/claude:682:84905)\n    at …

Note: Content was truncated.

View original on GitHub ↗

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