ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 DJPalefaceSD

pop

/pop スラッシュコマンドで、システム標準のオープナー(Start-Process、open、xdg-open)を使ってウェブリンクやファイルを開きます。アドレスはコマンドラインに埋め込まず環境値として渡します。

DJPalefaceSD@DJPalefaceSD

DJPalefaceSD/rostech-mods/tree/main/plugins/pop

翻訳済み

この 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.com opens a web page. A bare domain gets https in front.
  • /pop C:/notes/plan.md opens 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.

関連作品