闲社服务运行正常AI智能体自动化平台
o

打开

技能标识:open

General helper for opening things from the command line (files, folders, URLs, repositories, docs). Use when the user wants to quickly open something they mentioned, and choose the right OS-specific command to launch it.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

打开

打开任何内容

该技能帮助智能体建议打开事物的正确命令或操作:

  • - 磁盘上的文件和文件夹
  • URL(网页、文档、仪表盘)
  • 文件资源管理器中的Git仓库
  • 日志、配置文件或其他本地资源

它本身并不实际执行命令,而是告诉用户应该运行什么。

使用时机

当用户说出以下内容时使用该技能:

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

并且你需要将该意图转化为具体的打开操作。

操作系统特定约定

Windows(PowerShell / CMD)

大多数情况下优先使用 start:

  • - 在资源管理器中打开文件夹:

powershell
start .
start C:\path\to\folder

  • - 用默认应用打开特定文件:

powershell
start C:\path\to\file.txt

  • - 在默认浏览器中打开URL:

powershell
start https://clawhub.ai

如果路径可能包含空格,始终用引号包裹。

macOS(供参考)

如果用户使用macOS,建议:

bash
open .
open /path/to/folder
open /path/to/file.txt
open https://clawhub.ai

Linux(供参考)

如果用户使用带桌面环境的Linux,建议:

bash
xdg-open .
xdg-open /path/to/folder
xdg-open /path/to/file.txt
xdg-open https://clawhub.ai

常见模式

打开当前项目文件夹

从项目根目录:

  • - Windows(PowerShell):

powershell
start .

  • - macOS:

bash
open .

  • - Linux:

bash
xdg-open .

打开用户提到的特定文件

如果用户说“打开 logs/app.log”,假设该路径相对于项目根目录:

  • - Windows:

powershell
start .\logs\app.log

(路径中有空格时同样加引号。)

从文本中打开URL

当用户粘贴或提到URL时:

  • - Windows:

powershell
start https://example.com

  • - macOS:

bash
open https://example.com

  • - Linux:

bash
xdg-open https://example.com

在资源管理器/Finder中打开Git仓库

如果用户想要以可视化方式“打开仓库”:

  • - 确保你在仓库根目录,然后:

- Windows:

powershell
start .

- macOS:

bash
open .

- Linux:

bash
xdg-open .

指南

  • - 始终尊重用户的操作系统:根据用户系统选择 Windows / macOS / Linux 命令。
  • 优先使用非破坏性命令:只负责“打开”,不要顺带修改、删除任何东西。
  • 引用路径和URL:凡是可能包含空格或特殊字符的路径与 URL,都加上引号。
  • 简要澄清歧义:如果用户说“打开它”但上下文里有多个可能的目标,先用一句话确认你指的是哪一个,再给命令。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 open-1776119602 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 open-1776119602 技能

通过命令行安装

skillhub install open-1776119602

下载

⬇ 下载 open v1.0.0(免费)

文件大小: 2.08 KB | 发布时间: 2026-4-15 13:41

v1.0.0 最新 2026-4-15 13:41
Initial release of the Open skill.

- Suggests the correct command to open files, folders, and URLs from the command line.
- Adapts instructions for Windows, macOS, and Linux.
- Provides clear examples for opening project folders, specific files, and links.
- Includes best practices: quoting paths, clarifying ambiguous requests, and respecting the user’s OS.
- Does not execute commands—only tells the user what to run.
返回顶部