--- name: annotated-reply-skill description: "Copy the last assistant response (or a file) to the clipboard with an annotation header, ready to paste back as an annotated reply. Explicit invocation only." disable-model-invocation: true --- # Annotated Reply Copy content to the clipboard with an annotation header so the user can paste it back, annotate it, and submit. ## Usage ``` /annotated-reply-skill # last assistant response /annotated-reply-skill # a specific file /annotated-reply-skill --raw # last response without annotation header /annotated-reply-skill --raw # file without annotation header ``` ## Procedure 1. **Parse arguments**: Extract file path (if any) and `--raw` flag from `$ARGUMENTS`. 2. **Get content**: - If a file path is given, read that file. - If no path, use the **immediately preceding assistant message** verbatim. Do not skip it or pick a different message. 3. **Build the prefill**: - If `--raw`: use the content as-is with a trailing newline. - Otherwise: prepend an annotation header: ``` annotated reply below: original source: