@djoeyg/pi-md

/md: save the last assistant message as a Markdown file

Packages

Package details

extension

Install @djoeyg/pi-md from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@djoeyg/pi-md
Package
@djoeyg/pi-md
Version
0.2.0
Published
Oct 13, 2026
Downloads
175/mo · 175/wk
Author
djoeyg
License
MIT
Types
extension
Size
3.9 KB
Dependencies
0 dependencies · 1 peer
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-md

/md saves the last assistant message's text as a Markdown file.

/md                # ./last_message.md
/md notes/design   # ./notes/design.md

Paths resolve against the working directory. .md is appended when missing, and parent directories are created.

Install

pi install npm:@djoeyg/pi-md