pi-quote-copy

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

Packages

Package details

extension

Install pi-quote-copy from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-quote-copy
Package
pi-quote-copy
Version
0.1.0
Published
Oct 25, 2026
Downloads
402/mo · 402/wk
Author
ferologics
License
MIT
Types
extension
Size
12.8 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

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

Trigger Behavior
/quote Copy a block from the last response
Ctrl+Shift+X Same 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