Surely that would be better written as
cat PROMPT.md | cat | npx --yes @sourcegraph/amp
Aside from losing the loop (the whole point of the command), why the double `cat`?
You've removed the loop. This pipeline executes once and then halts.
Aside from losing the loop (the whole point of the command), why the double `cat`?