/cadre slash command execution failures - shell commands not found and missing SKILL.md
/cadre Slash Command Execution Failures
Summary
The /cadre slash command fails to execute with two critical errors:
- Shell commands (
bashandsh) report "command not found" - Required
SKILL.mdfile 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
- Execute slash command:
/cadre "Select material for compressed air" - Command expands and attempts to locate plugin using find-plugin.sh
- 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
- find-plugin.sh script should execute successfully using bash or sh
- Plugin directory should be located and returned as PLUGIN_DIR
- SKILL.md should be readable from
$PLUGIN_DIR/skills/cadre/SKILL.md - Workflow instructions should execute, routing request to appropriate Cadre agent
Questions
- Shell commands: Is this a sandboxing issue, or are bash/sh genuinely unavailable in the execution environment?
- SKILL.md location: Should the cadre skill exist? If so, where should it be located in the plugin structure?
- 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.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗