Problem
When Claude Code loads the mgrep skill, it displays:
Base directory for this skill: /Users/.../.claude/plugins/cache/Mixedbread-Grep/mgrep/0.0.0/skills/mgrep
This can mislead AI agents into thinking they need to cd into the skill directory and run ./mgrep, which fails with "no such file or directory" since the skill directory only contains SKILL.md.
Example of the failure
⏺ Bash(cd /Users/soup/.claude/plugins/cache/Mixedbread-Grep/mgrep/0.0.0/skills/mgrep && ./mgrep --web --answer "query")
⎿ Error: Exit code 127
(eval):1: no such file or directory: ./mgrep
Suggested fix
Add a note to SKILL.md clarifying that mgrep is a globally installed CLI command. Something like:
## Important
`mgrep` is a globally installed CLI command. Run it directly from any directory:
\`\`\`bash
mgrep "query"
\`\`\`
If unsure where it is installed, run `which mgrep` to find its path.
Do NOT attempt to run `./mgrep` from this skill directory - this directory only contains documentation.
This would prevent agents from misinterpreting the "Base directory for this skill" message.
Problem
When Claude Code loads the mgrep skill, it displays:
This can mislead AI agents into thinking they need to
cdinto the skill directory and run./mgrep, which fails with "no such file or directory" since the skill directory only containsSKILL.md.Example of the failure
Suggested fix
Add a note to
SKILL.mdclarifying thatmgrepis a globally installed CLI command. Something like:This would prevent agents from misinterpreting the "Base directory for this skill" message.