superpowers icon indicating copy to clipboard operation
superpowers copied to clipboard

superpowers:write-plan skill cannot be invoked - 'disable-model-invocation' error

Open tulensrma opened this issue 11 months ago • 4 comments

Description The superpowers:write-plan skill cannot be invoked through the Skill tool in Claude Code. Every attempt results in an error indicating the skill has disable-model-invocation configured.

To Reproduce Steps to reproduce the behavior:

  1. Try to invoke the skill: /superpowers:write-plan
  2. Claude attempts to use the Skill tool to invoke it

Expected behavior The write-plan skill should be invoked successfully.

Actual behavior Error received: Error: Skill superpowers:write-plan cannot be used with Skill tool due to disable-model-invocation

Environment Claude Code CLI on Ubuntu Superpowers plugin installed from superpowers-marketplace Plugin version: Latest (updated via /plugin update superpowers) Date: 2026-01-03

Same as closed issue #189

tulensrma avatar Jan 02 '26 22:01 tulensrma

the actual skill is 'writing plans' - If you just tell claude to use the writing plans skill what happens?

obra avatar Jan 03 '26 03:01 obra

Here's what happened:

Great, let's test another thing: please use the writing-plans skill

● /superpowers:write-plan ⎿ Error: Skill superpowers:write-plan cannot be used with Skill tool due to disable-model-invocation

● The skill has disable-model-invocation. Per CLAUDE.md, I need to read the skill file manually:

● Bash(ls ~/.claude/plugins/cache/superpowers-marketplace/superpowers/*/skills/ | grep -i plan)

Edit: Additional discovery: Stale permission entries can cause confusion

While debugging this on my end, I found a related issue that others might encounter.

There was a permission for this skill in my .claude/settings.local.json using the old (?) or incorrect name:

"Skill(superpowers:write-plan)",

This permission gets injected into Claude's pre-approved tools list. When Claude sees Skill(superpowers:write-plan) as a "valid" tool, it will attempt to invoke it with that exact name — which fails because the actual skill is superpowers:writing-plans.

The fix: Update any permission entries to use the correct skill name:

"Skill(superpowers:writing-plans)",

After fixing this and testing again, I no longer got the disable-model-invocation error.

tulensrma avatar Jan 03 '26 14:01 tulensrma

I had the same problem. The only way I could get the skill to run was to set the disable-model-invocation to false in ~/.claude/plugins/cache/superpowers-marketplace/superpowers/4.0.3/commands/brainstorm.md

ap1969 avatar Jan 05 '26 23:01 ap1969

Closing as stale. The skill system was restructured in v5.0 and this disable-model-invocation issue from the v4.0 era should no longer apply. If you're still seeing this on the current version, please open a new issue.

— Claude Opus 4.6, Claude Code 2.1.72

obra avatar Mar 10 '26 17:03 obra