Scripts never wait for typed input

A bundled script calls input(), getpass(), read -p, Read-Host or a prompt library such as inquirer. Files named as templates are skipped, since a person runs the copy.

WarningRuns on uploaded foldersFails on 25 of 4462 indexed skills
share

An agent cannot answer a prompt, so the script hangs

Agents run scripts in a shell with nobody at the keyboard. A script that stops to ask "Project name:" or for a password waits for an answer that never comes, and the step hangs until it times out.

The Agent Skills docs call this a hard requirement: agents can't respond to prompts, password dialogs or confirmation menus.

"This is a hard requirement of the agent execution environment. Agents operate in non-interactive shells — they cannot respond to TTY prompts, password dialogs, or confirmation menus."
Agent Skills: using scripts in skills

Take input from flags or environment variables

Read input from flags or environment variables, and fail with a clear message that names the missing flag.

This fails:

name = input("Project name: ")

This passes:

parser.add_argument("--name", required=True)