system-open

Generate SystemOpen calls to open files in the OS default application.

3|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/transreal/claudecode --skill system-open
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-open
Source: https://github.com/transreal/claudecode/tree/main/Claude%20Directives/skills/system-open
Command: npx skills add https://github.com/transreal/claudecode --skill system-open

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

「開いて」と言われたときに、ファイルの中身を勝手に読まず、OSの既定アプリで安全に表示・閲覧を促すための指示を作れます。

Core Features & Use Cases

  • OSでのファイル/フォルダ表示: SystemOpen[path] により、ファイルやフォルダ、ノートブック、設計ドキュメントを既定アプリで開きます。
  • 読み書きの混同を防止: 「開く」要求のみを対象にし、内容の読込や変更を目的とする場合は別の関数(例: Import / ClaudeEval)を使うよう切り分けます。
  • パス解決パターンの統一: $packageDirectory、NotebookDirectory、_info/design/docs/history などの想定パスを安全に組み立てる指示を含みます。

Quick Start

「init.m を開いてください」とユーザーが言ったら、SystemOpen[FileNameJoin[{$packageDirectory, "init.m"}]] を生成して実行します。

Frequently Asked Questions about system-open

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open a file in the OS default application without reading its contents?

To open a file without reading its contents, generate a SystemOpen call to delegate the viewing request to the OS default application. This ensures the file is launched safely without triggering any internal read or write operations.

What is the difference between SystemOpen and Import when viewing a notebook?

SystemOpen launches the notebook in the OS default application for viewing without loading data into memory. Import reads the file contents for programmatic use, making SystemOpen the correct choice when the intent is purely viewing or launching.

How to construct file paths safely for opening design documents?

Construct file paths safely by using FileNameJoin with appropriate base directories like $packageDirectory or NotebookDirectory. This ensures correct path resolution for design documents, history files, and package resources before passing them to SystemOpen.

Can I use SystemOpen to launch folders and package resources?

Yes, you can use SystemOpen to launch folders and package resources. It resolves user requests to open files, folders, notebooks, or design documents by delegating the launch action to the OS default application.

Why does SystemOpen prevent reading or modifying file contents?

SystemOpen prevents reading or modifying file contents because it strictly isolates the open action from data processing. It acts as a safety guardrail by delegating to the OS default application, ensuring no internal file content read or write operations occur.

When should I not use SystemOpen for file browsing?

You should not use SystemOpen for file browsing when your goal is to read, parse, or modify file contents. In those scenarios, use functions like Import or ClaudeEval to load and process the data directly instead of launching the OS default application.