← Catalog

pi-quote-copy

Copy a quoted or fenced block from Pi's last response as raw Markdown

Package

Install

Install with PiG

pig install npm:pi-quote-copy

Install with Pi

pi install npm:pi-quote-copy
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.

pi-quote-copy

Copy a quoted (>) or fenced (```) block from the last response as raw Markdown. Useful for prompts, handoffs, and templates that the agent writes for you to paste somewhere else.

Usage

TriggerBehavior
/quoteCopy a block from the last response
Ctrl+Shift+XSame as /quote (Pi's built-in Ctrl+X copies the whole message)
  • "Last response" means every assistant message since your last prompt.
  • One block: copied immediately.
  • Several blocks: pick one from a list (newest first, with kind, line count, and first line).
  • Quotes are copied without their > markers; fenced blocks without their fences. Blocks nested in list items count; a fenced block inside a quote stays part of the quote.

Install

From npm (standalone package):

pi install npm:pi-quote-copy

From git:

pi install git:github.com/ferologics/pi-quote-copy

Or use the bundled package:

pi install npm:@ferologics/pi-extensions
# or
pi install npm:pi-shit

After updating your package, reload Pi:

/reload