Copy a range of lines from an existing script with thag_copy tool.
Verify with thag_paste tool.
Open thag TUI editor and retrieve skeleton saved to history.
Paste in lines from system clipboard (Ctrl-v or Cmd-v for Mac).
Use editor buffer yank (Ctrl-x) and paste (Ctrl-y ) to move import up to the top.
Use Ctrl-d to submit.
Watch it compile and see results.