Passing a prompt into the CLI agent as an arg causes duplication

Hey, thanks for the report. This is a known issue, and the team is already working on a fix.

Temporary workaround: use interactive mode instead of passing the prompt as an argument:

cursor-agent
# then enter your prompt in interactive mode

A similar bug was documented here: CLI weird prompt repetition after response when I supply the prompt as an argument