superpowers icon indicating copy to clipboard operation
superpowers copied to clipboard

When I swap in a custom model inside CC, using /superpowers:brainstorm afterwards gives an “unknown skills” error.

Open neohob opened this issue 10 months ago • 4 comments

Describe the bug When I swap in a custom model inside CC, using /superpowers:brainstorm afterwards gives an “unknown skills” error.

To Reproduce Steps to reproduce the behavior:

  1. Replace the CC switch model
  2. Restart CC
  3. Enter /superpowers:brainstorm

Expected behavior A clear and concise description of what you expected to happen. Hope I can keep using /superpowers:brainstorm

Logs If applicable, add logs to help explain your problem.

Additional context Add any other context about the problem here.

neohob avatar Jan 14 '26 04:01 neohob

Just tell claude you have an idea. It should auto-trigger.

But also, what do you mean by "custom model"? Please attach the claude --debug output from a session where this happens

obra avatar Jan 14 '26 18:01 obra

This is good advice thank you.

sandoreclegane avatar Jan 15 '26 09:01 sandoreclegane

Technical Analysis: Custom Model + "Unknown Skills" Error

I can help break down what's happening here and provide multiple solutions.

Root Cause

When you swap to a custom model in Claude Code, you're likely:

  1. Changing the model provider/endpoint in CC settings (e.g., from Anthropic Claude to a local LLM, OpenAI-compatible endpoint, or custom API)
  2. Using a different model that may not have the same context/system instructions
  3. Losing the Superpowers skill registration that was loaded with the original model

The "unknown skills" error occurs because:

  • Superpowers skills are registered during Claude Code startup with specific model configurations
  • When you switch models mid-session or restart with a different model config, the skill manifest may not reload properly
  • The custom model may not have access to the MCP (Model Context Protocol) server that hosts Superpowers skills

Solution 1: Trigger Skill Discovery (Recommended Quick Fix)

As @obra mentioned, you can manually trigger skill loading:

Simply say: "I have an idea" or "Let's brainstorm"

This forces Claude to recognize the brainstorming context and reload available skills.

Solution 2: Full Restart Sequence

If the quick trigger doesn't work:

# 1. Fully quit Claude Code (not just close window)
# Windows: Right-click system tray > Exit
# Mac: Cmd+Q

# 2. Clear skill cache (optional but recommended)
# Windows:
del "%APPDATA%\Claude\skill-cache\*" /q

# Mac:
rm -rf ~/Library/Application\ Support/Claude/skill-cache/*

# 3. Restart Claude Code
# 4. Verify Superpowers loaded before switching models

Solution 3: Check MCP Server Connection

Custom models need proper MCP configuration:

# Check if MCP server is running
ps aux | grep superpowers  # Mac/Linux
tasklist | findstr superpowers  # Windows

# Verify MCP server config in Claude settings
# Settings > Developer > Model Context Protocol
# Ensure superpowers server is enabled and connected

Solution 4: Debug Output (As @obra Requested)

To help diagnose further, run Claude Code with debug logging:

# Mac
/Applications/Claude.app/Contents/MacOS/Claude --debug > ~/claude-debug.log 2>&1

# Windows
"%LocalAppData%\Programs\Claude\Claude.exe" --debug > %USERPROFILE%\claude-debug.log 2>&1

# Linux
claude --debug > ~/claude-debug.log 2>&1

Then reproduce the issue and share the log, specifically looking for:

  • [MCP] - MCP server connection logs
  • [Skills] - Skill loading/registration
  • [Model] - Model switching events
  • Any error messages mentioning "superpowers" or "brainstorm"

Solution 5: Model-Specific Configuration

If using a custom model endpoint, ensure it supports MCP:

// In your Claude Code model config (Settings > Models > Custom)
{
  "model": "your-custom-model",
  "endpoint": "http://localhost:11434",  // example
  "capabilities": [
    "mcp",  // <- Must include MCP support
    "function_calling"
  ]
}

Clarification Request

@neohob - Can you clarify what you mean by "custom model"?

  1. Custom API endpoint (OpenAI-compatible, Ollama, LM Studio)?
  2. Different Anthropic model (Claude 3 Opus → Sonnet)?
  3. Fine-tuned model hosted elsewhere?
  4. Local LLM running on your machine?

This will help us provide a more targeted fix!

Expected Behavior

After applying one of these solutions:

  • ✅ Type /superpowers:brainstorm → Should execute without "unknown skills" error
  • ✅ Skills should persist across model switches
  • ✅ MCP server should remain connected

Workaround Until Fixed

If none of the above work consistently:

  1. Always use /superpowers:brainstorm with the default Claude model first
  2. Then switch to your custom model for other tasks
  3. Or use the natural language trigger: "Let's brainstorm about..." instead of the slash command

Let me know if you need help with any of these steps!

nabilW avatar Jan 16 '26 15:01 nabilW

Closing as stale. This is a Claude Code platform issue with custom/non-standard model configurations, not something superpowers can fix. If you're still seeing this on a current version, please open a new issue with details about your model setup.

— Claude Opus 4.6, Claude Code 2.1.72

obra avatar Mar 10 '26 17:03 obra