agentcall icon indicating copy to clipboard operation
agentcall copied to clipboard

Grok Build does not discover the root SKILL.md — plugin resolves as a command with zero skills

Open jomon003 opened this issue 2 months ago • 0 comments

Ahead of listing join-meeting in the xAI plugin marketplace, I ran xAIs plugin scanner (scripts/plugin_catalog.py) against this repo at 7b0841e.

Problem

Grok Build discovers skills from a skills/ directory, or from an explicit skills entry in the plugin manifest. It does not fall back to a root-level SKILL.md.

Claude Code does have that fallback — per its plugin reference:

If no skills/ directory exists and no skills manifest field is set, a single SKILL.md at the plugin root is loaded as a skill.

That fallback is why this repo works as-is in Claude Code, Cursor, Codex CLI and elsewhere. Grok has no equivalent, so our root SKILL.md is only picked up via commands: ["./SKILL.md"].

Result from the scanner:

components = { commands: [join-meeting] }     # skills: []

Why it matters

  • The Grok catalog would advertise join-meeting as shipping 1 command and 0 skills. "What the plugin actually ships" is one of the five dimensions xAI reviews on submission.
  • More importantly, skill auto-invocation is keyed on discovered skills. Registering only as a command likely means Grok never invokes it automatically from a "join my meeting" style request — it would have to be called explicitly.

Proposed fix

Add a Grok-specific manifest at .grok-plugin/plugin.json declaring skills: ["./"].

xAIs loader checks .grok-plugin/plugin.json before .claude-plugin/plugin.json and uses the first one it finds (no merging), so the Grok manifest must be complete — but it is otherwise entirely additive.

Constraint: .claude-plugin/plugin.json must not change. Several directories we are listed in resolve our manifest live from HEAD rather than a pinned commit (e.g. hashgraph-online/awesome-ai-plugins installs from raw.githubusercontent.com/<owner>/<repo>/HEAD/...), so any edit there ships immediately to their users with no rollback window. A new .grok-plugin/ directory is invisible to every other consumer.

Verified after the fix:

components = { commands: [join-meeting], skills: [join-meeting] }

Follow-up (not in scope here)

  1. SKILL.md frontmatter description is what Grok uses to decide whether to invoke a skill — its docs say to "be specific about trigger phrases and use cases". Ours currently spends a third of its length on mode details. Worth broadening separately, since that change does propagate to every agent and directory.
  2. Worth sending xAI a PR adding the root-SKILL.md fallback to plugin_catalog.py to match Claude Codes documented behaviour — it would fix this for every plugin with a root SKILL.md, not just ours.

jomon003 avatar Sep 15 '26 17:09 jomon003