file-type-defaults

Community

Set macOS file-type defaults quickly.

Authorkevintraver
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you set default applications for file types on macOS using the utiluti command-line tool, streamlining file-type associations across the system.

Core Features & Use Cases

  • File-based method: Set defaults by using a sample file to determine type associations.
  • UTI-based method: Retrieve UTIs for extensions and assign apps accordingly.
  • Finding bundle IDs: Use osascript to obtain application bundle IDs for accurate targeting.

Quick Start

utiluti file set /path/to/existing/file.<extension> <bundle-id>

Or create a sample file and use:

touch /tmp/sample.<extension> utiluti file set /tmp/sample.<extension> <bundle-id>

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: file-type-defaults
Download link: https://github.com/kevintraver/dotfiles/archive/main.zip#file-type-defaults

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository