imole

Scan iPhone media files, back up selected files locally with verification, and delete verified files.

83|3|Updated May 30, 2026
One-click install
npx skills add https://github.com/chenhg5/imole --skill imole
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imole
Source: https://github.com/chenhg5/imole/tree/main
Command: npx skills add https://github.com/chenhg5/imole --skill imole

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires libimobiledevice, gphoto2, ifuse, iTunes, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps manage iPhone storage efficiently by scanning, backing up, and cleaning up media files.

Core Features & Use Cases

  • Media Scan: Scan the iPhone's media files for size and age.
  • Smart Backup: Back up photos and videos to the computer with verification.
  • Selective Cleanup: Delete verified media files from the iPhone safely.
  • Device Detection: Detect and connect to the iPhone over USB or via a specific path.
  • Multi-platform Support: Works on macOS (ImageCaptureCore), Linux (gphoto2/ifuse), and Windows (iTunes mount).

Quick Start

Use the imole skill to back up all photos and videos older than 6 months from the iPhone to the current directory.

Frequently Asked Questions about imole

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

FAQPage Schema
How do I back up and clean up iPhone storage using command line tools?

To back up and clean up iPhone storage via command line, this tool scans media files, backs them up to a local path with verification, and safely deletes verified files from the device. It automates the entire media file cleanup process.

Does this iPhone storage optimization tool work on both Linux and Windows?

Yes, this iPhone storage optimization tool supports multiple platforms by using ImageCaptureCore on macOS, gphoto2 and ifuse on Linux, and iTunes mount on Windows to detect and interact with your device.

How do I selectively back up old photos from my iPhone to a local directory?

You can selectively back up old photos by scanning media files for age and size, then backing up files older than a specified period to your current local directory with verification before deleting them from the device.

Do I need iTunes or libimobiledevice to manage iPhone media files via CLI?

Yes, you need dependencies like libimobiledevice, gphoto2, ifuse, or iTunes depending on your OS. These underlying libraries enable the system to mount, detect, and interact with the iPhone over USB to manage media.

What is the safest way to delete media files from an iPhone using a CLI tool?

The safest way to delete media files from an iPhone via CLI is to back them up to a local path first and verify the backup integrity. Only after verification does the tool delete the specific files from the device.

Why does CLI iPhone file cleanup fail to connect to my device?

CLI iPhone file cleanup fails to connect when device permissions are not granted or when dependencies like ifuse or iTunes are missing. You must authorize the USB connection and ensure the required platform libraries are installed.