What problem does it solve?
This skill provides local file management capabilities, enabling opening files with their default applications, revealing files in the system explorer (Finder on macOS, Explorer on Windows, or the Linux equivalent), and searching for files by name or pattern. It enforces a security policy that requires user approval for operations outside the workspace.
Core Features & Use Cases
- Open File: Launch a file with its default application.
- Reveal in Explorer/Finder: Show and select a file in the system file manager.
- Search for Files: Locate files by name or pattern across directories.
- Get File Info: Retrieve details such as size, dates, path, and type.
Use Case: You need to quickly access a document or image that is scattered across your drives, reveal it in the file manager, or locate related files without manual navigation.
Quick Start
- Open a file: python scripts/file_ops.py open "/path/to/document.pdf"
- Reveal a file: python scripts/file_ops.py reveal "/path/to/file.txt"
- Search for files: python scripts/file_ops.py search "*.pdf" --location ~/Documents
- Get file info: python scripts/file_ops.py info "/path/to/file.txt"