Preface¶
Mobile phones, cameras, and screenshot tools often clutter a single directory with photos bearing chaotic filenames. Manually renaming them by date, checking for duplicates, and categorizing them is slow and prone to omission. Common workarounds involve writing throwaway scripts or installing desktop organization tools, but this often leaves you to maintain the rules and statistical criteria yourself.
Below is an introduction to the SkillHub community Skill “Photo Organizer Pro” (@user_96e46ec7/photo-organizer-pro). It codifies the organization workflow into a universal SKILL.md, enabling Agents that support Skills (such as Cursor and Claude Code) to handle “organizing only new additions, renaming by rules, deduplicating, and summarizing statistics” based on a consistent set of conventions.
What is This¶
“Photo Organizer Pro” is a community-sourced Skill (source: community) published on SkillHub, located at @user_96e46ec7/photo-organizer-pro. The current listed version is v1.0.0, and the publisher account is user_96e46ec7 (displayed as author Apollo). The SkillHub category is knowledge-management, with a subcategory of “Data Organization.”
The official page does not provide an overview description (overviewMd is empty); capability descriptions are based on the SKILL.md within the package. The tag requires_api_key=false indicates that no additional API key is required for installation or use.
Core Functions¶
The following capabilities are derived from the SKILL.md and README.md within the Skill package:
- Incremental Organization: Processes only new photos; files that have already been organized are not processed repeatedly.
- Intelligent Renaming: Generates filenames in the format
{time}_{content_tag}_{location}; missing fields are skipped, and segments are joined with underscores. - Deduplication: Automatically removes duplicates, retaining the version with higher pixel resolution.
- Statistical Feedback: Returns total count, duplicate count, remaining count, and classification statistics by content tag after organization is complete.
- Formats & Languages: Supports JPG / JPEG / PNG / HEIC / HEIF / RAW; documentation supports both Chinese and English.
- Runtime Environment: Documentation specifies support for Windows / macOS / Android / iOS (specific execution is performed by the Agent combining the package scripts with the local environment).
The package includes a Python reference implementation (main.py.txt, utils.py.txt, config.py.txt) and depends on exifread>=3.0.0 and Pillow>=10.0.0. The entry function organize_photos(folder_path, lang="zh") executes the aforementioned workflow on the specified folder.
Installation and Activation¶
The official SkillHub installation instructions require reading SkillHub Installation and Priority Source Configuration before installing this Skill.
1. Install SkillHub CLI (if not already installed)¶
command -v skillhub && skillhub --version
If not installed, execute the full installation script (see official docs):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
2. Install to the current Agent’s skills directory¶
When installing, you must use --dir to point to the skills directory recognized by your current Agent; otherwise, it defaults to ./skills/ and may not be loaded. Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
skillhub install user_96e46ec7/photo-organizer-pro --dir ~/.cursor/skills/
Replace ~/.cursor/skills/ with the directory you are actually using. You can also obtain photo-organizer-pro-1.0.0.zip via “Download Zip Package Install” on the SkillHub detail page (the download URL looks like https://api.skillhub.cn/api/v1/download?slug=@user_96e46ec7/photo-organizer-pro).
3. Let the Agent install according to official prompts¶
The installation prompt provided on the SkillHub page is:
Please install @user_96e46ec7/photo-organizer-pro according to https://skillhub.cn/install/skillhub.md.
You can send the above content to an AI client that supports Skill installation, allowing the Agent to complete the CLI and directory configuration according to the documentation. After installation, restart or refresh the Skills list as required by the client.
Typical Usage¶
The Skill documentation does not provide specific dialogue examples, but SKILL.md and the reference scripts clarify the behavioral boundaries. After activating the Skill, you can tell the Agent the local photo album directory you want to organize and specify the language (e.g., zh or en). The Agent should follow the naming format and incremental strategy in the Skill and report statistics upon completion.
The example entry in main.py.txt within the package for direct execution calls the organization on ./test_photos (for understanding the flow only; specify the actual path in your conversation):
res = organize_photos("./test_photos", lang="zh")
print(res["message"])
The organization logic traverses files in the directory that match SUPPORTED_FORMATS and are not marked as organized. After deduplication, it generates tags and locations based on time and EXIF/recognition results, then renames them and writes the organized record.
Use Cases and Notes¶
Target Audience: Users who need to hand over “incremental album archiving + unified naming + deduplication + summarization” to an Agent for repeated execution; the SkillHub side shows this Skill has 2667 downloads (statistics from SkillHub page data).
Usage Notes:
- The overview on the official SkillHub detail page is empty; it is recommended to verify capabilities based on the
SKILL.mdinside the Zip package before use. - The
skill.jsoninside the package listsskill_version: "2.0.0", which is inconsistent with the SkillHub listed version 1.0.0; use the 1.0.0 version published on SkillHub as the installation version number. - Renaming and deduplication of original files involve data changes. Verify in a copy directory during the first use and back up important photos yourself.
- Content tags depend on package configuration and image analysis logic; tags may require manual spot-checking in complex scenarios.
- The SkillHub security scan result is “Safe, No Risks” (Keen / three-step detection report displayed on the page). As this is community-published content, please use it according to your own compliance requirements.
Conclusion¶
“Photo Organizer Pro” integrates incremental organization, unified naming, deduplication, and statistics into an Agent Skill. It is suitable for handling local photo directories within existing Coding Agent workflows without needing to rewrite organization scripts every time.
Official SkillHub Page: https://www.skillhub.cn/skills/user_96e46ec7/photo-organizer-pro
Skill Coordinates and API Entry: https://api.skillhub.cn/user_96e46ec7/photo-organizer-pro