Copy Prompt
---
name: copy-prompt
description: "Copy a recently emitted fenced prompt to the OS clipboard"
category: utility
complexity: low
mcp-servers: []
---
# /strategic-partner:copy-prompt — Clipboard Copy for Fenced Prompts
> Reads `.handoffs/last-prompts/` and pipes the selected prompt to the OS clipboard.
> Run immediately after any SP response that contained a `═══ COPY ═══` fence.
## Output Style
Terse. One confirmation line on success; one error line on failure. No extra prose.
## Behavioral Flow
The common case — exactly one saved prompt — is a **single Bash call** (Step 1).
The multi-prompt case adds a selection step (Steps 2–3). Both paths share the same
clipboard-detection logic and the same no-wipe rule.
### Step 1 — Fast path: one saved prompt → one shell call
Run the single self-contained Bash command below. It detects the OS and clipboard
tool, confirms exactly one `.md` exists in `.handoffs/last-prompts/`, pipes it to the
clipboard, and prints the confirmation — all in one invocation, with no descriptor
extraction. It exits with a distinct status when the directory is empty (so Step 2
runs the empty-dir message) or when 2+ prompts exist (so Step 2 lists them):when to use it
Community prompt sourced from the open-source GitHub repo JimmySadek/strategic-partner (MIT). A "Copy Prompt" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
JimmySadek/strategic-partner · MIT