DJPalefaceSD/rostech-mods/tree/main/plugins/pop
pop
添加 /pop 斜杠命令,用系统原生打开程序(Start-Process、open、xdg-open)打开网页链接或文件;地址作为环境值传入,不插入命令行。
关于这个 mod
Pop
直接从提示框把链接或文件放到独立应用的独立窗口中打开。终端中的链接通常无法点击,Pop 会替你打开,不必复制出来。
- /pop example.com 打开网页;裸域名前会自动加上 https。
- /pop C:/notes/plan.md 使用系统为该文件选择的应用打开文件。
它使用系统自己的打开程序:Windows 上是 Start-Process,macOS 上是 open,Linux 上是 xdg-open。地址作为环境值传给程序,不会拼进命令行。不会向其他地方发送内容。
已在 Windows 上的 Claude Code 2.1.287 测试。
安装
请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。
claude plugin marketplace add DJPalefaceSD/rostech-mods claude plugin install pop
原文 / README
Pop
Open a link or a file in its own app, in a window of its own, straight from the prompt. A link in a terminal is often not clickable, so Pop opens it for you instead of leaving you to copy it out.
/pop example.comopens a web page. A bare domain gets https in front./pop C:/notes/plan.mdopens a file in the app your system uses for it.
It uses your system's own opener: Start-Process on Windows, open on macOS, and xdg-open on Linux. The address goes to that program as an environment value, never pasted into a command line. Nothing is sent anywhere else.
Tested with Claude Code 2.1.287 on Windows.
