---
name: quick-copy
description: Manual capture shortcut (`/quick-copy` in Claude Code, `$quick-copy` in Codex) — capture your most recent long message/plan into a shareable, reviewable Quick link. Delegates to the primary quick skill for login and setup.
disable-model-invocation: true
---

# Capture my last message into a shareable Quick link

You reached this by invoking quick-copy manually (`/quick-copy` in Claude Code, `$quick-copy` in Codex) — the manual front door to the capture
pipe. It takes the agent's most recent long message (the plan, summary, or write-up you just produced),
publishes it as a Quick site, and hands back the no-signup reviewer link.

This is the exception path. When you finish an ExitPlanMode plan, the equipped
`quick site capture --from claude-hook` PostToolUse hook already captures it with zero steps — you only reach
`/quick-copy` for a message that was not a plan.

1. Capture your most recent substantial message **verbatim** — the exact plan or write-up you just sent.
   Do NOT rewrite, retitle, summarize, or restructure it into a fresh doc; the point is to share what you
   already said. If it is not obvious which message, ask the user which one to share.
2. Write that message to a scratch file and pipe the file into `quick site capture --open`:
   `quick site capture --open < msg.md` (equivalently `cat msg.md | quick site capture --open`). Piping a file is the
   robust path — it preserves the backticks, pipes, and `$` in your markdown that an inline
   `quick site capture --open "<text>"` shell string would mangle (reserve the inline form for a single short line).
   It publishes the text under a `plans/` site, prints the no-signup `?k=` review link, opens it (`--open`).
3. Hand **that** `?k=` link back to the user — the site is private, and that link is what lets someone
   open it and comment as a guest, no signup.
4. Offer to pull back the review with `quick comment list <site>` (the command prints the site name to use).
5. If the user then revises the message, re-publish it with `quick site capture --name <site> < msg.md` —
   the site name printed in step 2. That updates the plan at the URL reviewers already hold. Capturing again
   without `--name` would mint a second site and leave the first showing the old version.

Not logged in yet, or no box bound? `quick site capture` degrades to a local file and tells the user to run
`quick auth login`. Defer to the primary `quick` skill — it owns login, first-time setup, and box selection.
