/cadre slash command execution failures - shell commands not found and missing SKILL.md

Resolved 💬 3 comments Opened Oct 29, 2025 by ErikEvenson Closed Oct 29, 2025

/cadre Slash Command Execution Failures

Summary

The /cadre slash command fails to execute with two critical errors:

  1. Shell commands (bash and sh) report "command not found"
  2. Required SKILL.md file not found in plugin structure

Environment

  • OS: macOS (Darwin 24.6.0)
  • Working Directory: /Users/eevenson/Documents/Projects/Cadre Test
  • Date: 2025-10-29
  • Claude Code Version: [User to fill in]

Reproduction Steps

  1. Execute slash command: /cadre "Select material for compressed air"
  2. Command expands and attempts to locate plugin using find-plugin.sh
  3. Errors occur during execution

Error 1: Shell Commands Not Found

When attempting to execute the find-plugin.sh script:

FIND_PLUGIN_SCRIPT=""
for path in \
  ".claude-plugin/plugins/cadre-orchestrator/commands/find-plugin.sh" \
  "$HOME/.claude-plugin/plugins/cadre-orchestrator/commands/find-plugin.sh" \
  "$HOME"/.claude/plugins/marketplaces/*/plugins/cadre-orchestrator/commands/find-plugin.sh
do
  if [ -f "$path" ]; then
    FIND_PLUGIN_SCRIPT="$path"
    break
  fi
done

if [ -z "$FIND_PLUGIN_SCRIPT" ]; then
  echo "ERROR: find-plugin.sh not found in standard locations" >&2
  exit 1
fi

bash "$FIND_PLUGIN_SCRIPT"

Error output:

(eval):18: command not found: bash

Retrying with sh instead of bash:

(eval):18: command not found: sh

Expected: Shell commands should execute normally on macOS
Actual: Both bash and sh report as not found

Error 2: Missing SKILL.md File

Attempted to locate the skill definition file using Glob:

Search patterns:

  • **/.claude/plugins/marketplaces/*/plugins/cadre-orchestrator/skills/cadre/SKILL.md
  • **/.claude-plugin/plugins/cadre-orchestrator/skills/cadre/SKILL.md

Result: No files found

Expected: SKILL.md should exist at one of these locations to define the workflow
Actual: File does not exist in any expected location

Expected Behavior

  1. find-plugin.sh script should execute successfully using bash or sh
  2. Plugin directory should be located and returned as PLUGIN_DIR
  3. SKILL.md should be readable from $PLUGIN_DIR/skills/cadre/SKILL.md
  4. Workflow instructions should execute, routing request to appropriate Cadre agent

Questions

  1. Shell commands: Is this a sandboxing issue, or are bash/sh genuinely unavailable in the execution environment?
  2. SKILL.md location: Should the cadre skill exist? If so, where should it be located in the plugin structure?
  3. Workaround: Is there an alternative way to invoke Cadre orchestration that bypasses the slash command?

Plugin Installation Status

Slash command loads successfully (visible in /help output), which indicates the plugin is installed. However, the skill structure may be incomplete or the execution environment has restricted shell access.

Related Documentation

From user instructions:

2025-10-29: Cadre Contract Discovery Empty - Fall Back to Direct Invocation - When contract discovery fails, use direct agent invocation: Task(subagent_type="cadre-pressure-vessel:material-selector", ...)

This suggests there may be broader issues with the Cadre plugin system beyond this specific slash command.

View original on GitHub ↗

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