The agent may run it because the moment looks right
By default an agent loads a skill whenever a request seems to match its description. That's what you want for a skill that writes tests. It's not what you want for one that deploys to production, publishes a package or sends a message.
Claude Code's docs put it plainly: you don't want Claude deciding to deploy because your code looks ready. Claude Code, Cursor and Codex all let a skill opt out of automatic use, so it runs only when you call it by name.
"Use this for workflows with side effects or that you want to control timing, like /commit, /deploy, or /send-slack-message. You don't want Claude deciding to deploy because your code looks ready."
"Set disable-model-invocation: true to make a skill behave like a traditional slash command"
"allow_implicit_invocation (default: true): When false, Codex won't implicitly invoke the skill based on user prompt; explicit $skill invocation still works."
"Invocation rules: disable-model-invocation (ignored by Codex, Hermes and OpenCode), Codex's agents/openai.yaml implicit-invocation policy (Codex only)"
Turn off automatic invocation
For Claude Code and Cursor, add disable-model-invocation: true to the frontmatter. For Codex, set allow_implicit_invocation: false in agents/openai.yaml.
This fails:
---
name: deploy-prod
description: Deploys the app to production. Use when the user wants to ship.
---This passes:
---
name: deploy-prod
description: Deploys the app to production. Use when the user wants to ship.
disable-model-invocation: true
---Skillland's call: Which words count as side effects is Skillland's list.
44 of 4462 indexed skills fail this check
This check against the 10 that fire most often in the index:
Run the same check on your own skill in the validator, or from a terminal with the skillland CLI.