Skip to content

SKILL.md should clarify mgrep is a global CLI command, not an executable in the skill directory #122

@s0up4200

Description

@s0up4200

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.

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