Yes, you are correct! To implement a REPL for an existing, non-interactive CLI utility, you can create a wrapper script that reads input from the user, passes it to the CLI utility, captures the output, and then displays the output to the user. The wrapper script can then loop through this process to create a continuous REPL.

Here's an example of how this could be done in Python:
``` 
import subprocess

# Start the CLI utility as a subprocess
cli_process = subprocess.Popen(['my_cli_utility'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)

# Loop through the REPL
while True:
    # Read input from the user
    user_input = input('> ')

    # Pass the input to the CLI utility and capture the output
    output = cli_process.communicate(user_input.encode())[0].decode()

    # Display the output to the user
    print(output.strip())

    # Restart the CLI utility as a new subprocess
    cli_process = subprocess.Popen(['my_cli_utility'], stdin=subprocess.PIPE, stdout=subprocess.PIPE)
``` 
In this example, the subprocess module is used to start the CLI utility as a subprocess with its standard input and output streams redirected. The input() function is used to read input from the user, and the communicate() method of the subprocess object is used to pass the input to the CLI utility and capture its output. The output is then printed to the user using the print() function.

Note that this is just a basic example, and you may need to modify it to suit your specific use case.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence