jev-skill-suggestion: setup blocks skills that their authors let the model run

Author: erikpr1994Created Sep 27, 2026Updated Sep 27, 2026

We use jev-skill-suggestion in our repository. /jev-skill-suggestion:setup writes "user-invocable-only" in skillOverrides for every user skill and project skill. The Claude Code settings reference says that this value means "Claude doesn't see the skill, but you can still type /name". That is the same block as disable-model-invocation: true in the frontmatter of the skill. So the setup replaces the decision of each skill author, also for skills whose authors let the model run them.

The mod itself follows the frontmatter. modelInvocable() in hooks/policy.ts never suggests a skill with disable-model-invocation: true. Only the setup ignores it.

What stops working after the setup

  • The model cannot load a skill with the Skill tool. Only the one skill that the mod attaches to the prompt loads.
  • A skill whose instructions tell the model to load a second skill fails at that step.
  • A project instruction such as "run /code-review before you commit" fails when the model follows it.
  • Subagents cannot load the hidden skills either.
  • When the mod picks the wrong skill for a prompt, or no skill, the model has no way to load the correct one.

Why the override is not necessary

With hideListing on (the default), the prompt.attachment handler already keeps the skill listing out of the context of the main loop. The override adds a second effect that the setup prompt does not tell the user about: the Skill tool refuses every hidden skill.

Proposed fix

One of these:

  1. setupPlan() writes "name-only" in place of "user-invocable-only". The settings reference says that Claude then sees the name without the description, and the Skill tool still loads the skill.
  2. setupPlan() leaves out each skill whose author lets the model run it. The mod already reads the frontmatter with modelInvocable().
  3. The setup prompt and the README say clearly that the model can no longer load any hidden skill, and that a skill that loads another skill stops working.

What we did

We restored the backup that the setup wrote ("skillOverrides": {}). The mod still withholds the listing and still attaches one skill per prompt. The model can load other skills by name again.

Source: davila7/claude-code-templates