🧪 Skills

O

Short alias skill for quickly suggesting OS-specific commands to open files, folders, URLs, logs, or repositories from the command line or file explorer. Use...

v1.0.0
❤️ 0
⬇️ 29
👁 1
Share

Description


name: o description: Short alias skill for quickly suggesting OS-specific commands to open files, folders, URLs, logs, or repositories from the command line or file explorer. Use when the user wants to open something and prefers a concise, minimal answer.

o(Open 简写)

这是一个精简版的“打开” Skill,用一个字母 o 作为名称,方便被快速触发。它的目标是:

  • 帮助选择合适的打开方式(命令或动作)
  • 根据用户操作系统(尤其是 Windows PowerShell)给出最简命令
  • 回答尽量简短,不做过多解释

适用场景

当用户说:

  • “打开某个文件 / 目录 / 日志”
  • “帮我打开这个链接 / 页面”
  • “想在资源管理器里打开这个项目 / 仓库”
  • “how do I open this from the terminal”

并且上下文中能看出要打开的目标时,应使用本 Skill 的指引。


Windows(PowerShell / CMD)推荐

  • 打开当前目录到资源管理器

    start .
    
  • 打开指定目录

    start "C:\path\to\folder"
    
  • 用默认程序打开文件

    start "C:\path\to\file.txt"
    
  • 打开 URL(默认浏览器)

    start "https://example.com"
    

路径或 URL 可能包含空格时,一律加引号。


macOS(仅在用户使用 macOS 时建议)

open .
open /path/to/folder
open /path/to/file.txt
open "https://example.com"

Linux(桌面环境)

xdg-open .
xdg-open /path/to/folder
xdg-open /path/to/file.txt
xdg-open "https://example.com"

使用风格

  • 答案要短:优先只给 1–2 行命令,不写长篇解释。
  • 尊重用户 OS:根据会话中已知的操作系统给命令(当前用户是 Windows 10 + PowerShell)。
  • 不做危险操作:只给“打开”的命令,不附带修改 / 删除行为。

Reviews (0)

Sign in to write a review.

No reviews yet. Be the first to review!

Comments (0)

Sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

Compatible Platforms

Pricing

Free

Related Configs