Skip to content

[Bug] Claude Code: disable-model-invocation when running agent command without prior invocation #1733

@amarongithub

Description

@amarongithub

In Claude Code when I run the below command without invoking the agent first, we get the error disable-model-invocation.

❯ /bmad-agent-bmm-architect please review the maintenance story @_bmad-output/implementation-artifacts/maint-002-web-refresh-audit.md and the ATDD checklist for this story _bmad-output/test-artifacts/atdd-checklist-maint-002.md 
  ⎿  Read _bmad-output/implementation-artifacts/maint-002-web-refresh-audit.md (303 lines)

● Skill(/bmad-agent-bmm-architect)
  ⎿  Initializing…
  ⎿  Error: Skill bmad-agent-bmm-architect cannot be used with Skill tool due to
     disable-model-invocation

But the same command works perfectly with Copilot CLI, where it first loads the agent and then follows the rest of the command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions