Claude Image Renamer
Description
AI-powered image renaming script that generates descriptive filenames for screenshots
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-image-renamer
AI-powered image renaming script that generates descriptive filenames for screenshots. Uses OCR text extraction combined with Claude's vision capabilities to analyze image content and rename files to a searchable, lowercase, underscore-separated format.
Features
- Automatically sanitizes macOS screenshot filenames containing special Unicode characters
- Extracts text from images via OCR to improve rename accuracy
- Uses Claude AI to analyze both the image and extracted text
- Generates clean, descriptive filenames (max 64 characters, lowercase with underscores)
- Handles naming conflicts by automatically appending numeric suffixes (
_1,_2, etc.) - Supports batch processing of multiple images in a single invocation
AI Disclaimer
The code in this repository was developed with the assistance of the Claude Sonnet LLM model by Anthropic.
Requirements
- Claude Code CLI (
claude) ocrbinary (optional, macOS only)
Installation
git clone https://github.com/jftuga/claude-image-renamer.git
cd claude-image-renamer
chmod 755 claude-image-renamer.sh
To build the optional OCR tool (macOS only):
- This compiles
ocr.swiftusing the macOS Vision framework. The script will function without theocrbinary, but providing OCR text improves Claude's ability to generate accurate filenames.
make
Usage
# Single file
./claude-image-renamer.sh "Screenshot 2025-12-29 at 10.03.10 PM.png"
# Renames to something like: vscode_python_debug_settings.png
# Multiple files
./claude-image-renamer.sh image1.png image2.png image3.png
# Using shell globbing
./claude-image-renamer.sh *.png
./claude-image-renamer.sh Screenshots/*.png
When processing multiple files, the script displays progress for each file and prints a summary upon completion showing how many files were processed successfully.
How It Works
- Sanitizes macOS screenshot filenames that contain
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI