prompt-user-parameterlisted
Install: claude install-skill the-cloud-clockwork/agentihooks
# Prompt User Parameter
The operator types the value into a pane only he sees. The value reaches the
command that needs it through the environment of a throwaway script and never
passes through your context, a log, a status file or a command argument.
Run it when the operator asks for the value; no typed phrase and no guard gate
it. When he is away, wait until he writes: no agent writes to him first, and the
ledger refuses agent priorities.
## Steps
1. Create the scratch folder with `agentihooks scratch new`, then
`mkdir -p <folder>/inputs`. Write the throwaway script there as
`<folder>/inputs/<name>.sh`, never under `/tmp`. The opener refuses a
script outside `~/scratchpad` and a caller outside a herdr pane.
2. In the script, read each value with the runner's helper and use it only
through its variable:
```bash
read_secret TS_AUTHKEY "Tailnet auth key"
some-cli login --auth-key-env TS_AUTHKEY
```
Never echo, log, write to a file or pass the value as an argument of a
long lived process. Use a tool's environment variable or stdin option when
it has one. The script runs with `bash -e`, so the first failing step ends
it; an empty value fails `read_secret`.
3. Open the pane: `bash <skill dir>/scripts/open_param_pane.sh <script> "<pane title>"`.
It prints `pane=<id>` and `status=<file>`.
4. Tell the operator in plain words what to type in the new pane, then start
a Monitor on the status file that emits its first line and exits when t