Doesn't turn off permission prompts

Finds --dangerously-skip-permissions, --dangerously-bypass-approvals-and-sandbox, danger-full-access, --yolo and bypassPermissions on a line that runs an agent CLI or sets a permission mode, unless the same file says it runs in a container or VM.

WarningFails on 17 of 4462 indexed skills
share

The agent runs every command with no prompt

Flags such as --dangerously-skip-permissions and modes such as bypassPermissions turn off the prompts that ask you before the agent edits files or runs commands. Claude Code's docs say this mode skips permission prompts and safety checks, and that it is for isolated containers and VMs only.

A skill that starts an agent this way on your own machine hands it your files, your shell and your signed-in accounts. The check only fires when the flag is on a line that runs an agent or sets a permission mode, and it stays quiet when the same file says the run happens in a container or VM. A skill that only explains what the flag does won't fail.

"bypassPermissions mode disables permission prompts and safety checks so tool calls execute immediately … Isolated containers and VMs only"
Claude Code: permission modes

Pre-approve the few commands the skill needs

Pre-approve the specific commands the skill needs with allowed-tools or the agent's allow list. If the skill has to run unattended, say that it only runs inside a container or VM.

This fails:

claude -p "$TASK" --dangerously-skip-permissions

This passes:

claude -p "$TASK" --allowedTools "Bash(npm test)"

Skillland's call: The flag list is Skillland's. The Codex and other agent flags are included because they do the same thing.