SlopScore
00 crowd

claude-rename-agent

AI-powered file renaming agent built with Claude Agent SDK
Open repo on GitHubgithub.com/omarshahine/claude-rename-agent
Python · ★ 9 · 2 forks · MIT · paperwork by the Cap'mmostly ai (inferred)light human (inferred)works-on-my-machine (inferred)automation🤖 claude
listed 1 day ago by omarshahine · last checked 21 hours ago
The owner didn't write this. This repo never submitted itself. The Cap'm found it on a truffle trawl and wrote its paperwork from what GitHub already shows. Picked by hand by the Cap'm on 2026-09-13: AI-powered file renaming agent built with Claude Agent SDK; its own README says "AI-powered file renaming agent built with Claude Agent SDK". 9 stars; MIT license. The owner did not submit this. Votes count; awards don't until the owner claims it.

I'm not calling your project slop! Geeze, it's a joke... Do you own this repo?

Log in with GitHub as omarshahine. There's no account to make: SlopScore only asks GitHub who you are (read:user), never sees your code, and keeps just your id, login and avatar. Then you can:

  • Keep it, on your terms. Commit your own slopscore.md (spec) and press Refresh. Your paperwork replaces the Cap'm's, and you can submit it for Slop of the Day.
  • Take it down. One click on Remove. It stays gone; the trawl never brings it back.

Log in with GitHub

Can't log in as the owner? Request a takedown. No login needed, and a trawled listing comes down right away.

GitHub says
AI-powered file renaming agent built with Claude Agent SDK
topics
aiautomationclaudeclaude-agent-sdkfile-management
created
2026-01-12 · pushed 1 week ago · 26 commits · 4 contributors
languages
Python 97%Shell 3%
paperwork
licensereadme 42% health
dependencies
no mappable packages · OSV.dev, checked 1 day ago

Disclosures, inferred by the Cap'm

slopbucket
vibe-coded
category
automation
ai_generated
mostly
human_touch
light
status
works-on-my-machine
built_with
claude
language (detected)
pythonshell
topic (detected)
aiautomationclaudeclaude-agent-sdkfile-management
license (detected)
mit

The Cap'm's log

The Cap'm wrote this paperwork, not the owner. This repo never submitted itself to SlopScore. The Cap'm picked it by hand: AI-powered file renaming agent built with Claude Agent SDK; its own README says "AI-powered file renaming agent built with Claude Agent SDK". It carries the MIT license. The disclosures above are his best guess from what GitHub shows.

Is this yours? Commit a real slopscore.md and press Refresh to replace this, or remove the listing in one click. There's no account to make: you log in with GitHub.

README — the repo's own words, folded up so the grading fits on one screen

Rename Agent

An AI-powered file renaming agent built with the Claude Agent SDK. It analyzes documents, classifies them, and applies consistent naming patterns that are learned and remembered over time.

Rename Agent Screenshot

Features

  • Document Analysis: Reads PDFs, images, and text files to understand content
  • Smart Classification: Identifies document types (receipts, bills, tax documents, bank statements, etc.)
  • Pattern-Based Naming: Uses customizable templates with tokens like {Date}, {Merchant}, {Amount}
  • Pattern Learning: Saves patterns for future use when processing similar documents
  • Batch Processing: Process multiple files at once with consistent naming
  • History Tracking: Keeps track of all renames for reference

Quick Install

curl -fsSL https://raw.githubusercontent.com/omarshahine/claude-rename-agent/main/install.sh | bash

Or install via pip:

pip install claude-rename-agent

Claude Code Integration

Add the rename skill to Claude Code and just ask Claude to rename your files. The skill will check if rename-agent is installed and help you set it up if needed.

Add the Skill

Copy the skill to your Claude Code skills directory:

# Create the skills directory if it doesn't exist
mkdir -p ~/.claude/skills

# Copy the rename-agent skill
cp -r .claude/skills/rename-agent ~/.claude/skills/

Or download directly:

mkdir -p ~/.claude/skills/rename-agent
curl -fsSL https://raw.githubusercontent.com/omarshahine/claude-rename-agent/main/.claude/skills/rename-agent/SKILL.md \
  -o ~/.claude/skills/rename-agent/SKILL.md

Use It

Once the skill is added, you can use it in two ways:

Slash command - Type /rename-agent to explicitly invoke the skill:

> /rename-agent
> /rename-agent ~/Downloads/tax-forms

Natural language - Just describe what you want to rename. Claude will automatically detect when to use the skill based on your request:

> Rename these tax documents in ~/Downloads/tax-forms
> Organize my receipts in ~/Documents/Receipts with date and merchant
> Batch rename PDFs in /path/to/folder using pattern {Date} - {Title}

The skill will check if rename-agent is installed and help you set it up if needed.

Prerequisites

  • Python 3.10+
  • Claude Code - Install Claude Code first
  • Anthropic API Key - Set ANTHROPIC_API_KEY environment variable
Manual Installation
  1. Install Python 3.10+ (macOS: brew install python@3.11)
  2. Install Claude Code: curl -fsSL https://claude.ai/install.sh | bash
  3. Install the SDK: pip3 install claude-agent-sdk
  4. Install Rename Agent: pip3 install claude-rename-agent

Usage

Interactive Mode

rename-agent

This starts an interactive session where you can describe what you want to rename.

Single Command

rename-agent "Rename these 1099 tax forms for 2024" --files /path/to/forms

Process a Folder

rename-agent --files /path/to/documents

With a Specific Pattern

rename-agent --files /path/to/receipts --pattern "{Date:YYYY-MM-DD} - {Merchant} - {Amount}"

Dry Run (Preview Only)

rename-agent --files /path/to/docs --dry-run

View Statistics

rename-agent stats

View History

rename-agent history

List Patterns

rename-agent patterns

List Document Types

rename-agent types

Preview Files

rename-agent preview /path/to/folder --ext ".pdf,.jpg" --recursive

Available Tokens

Use these tokens in your naming patterns:

Token Description Example
{Date:YYYY-MM-DD} Full date 2024-03-15
{Date:YYYY-MM} Year and month 2024-03
{Date:YYYY} Year only 2024
{Year} Tax/fiscal year 2024
{Merchant} Business/vendor name Amazon
{Amount} Dollar amount 125.99
{Institution} Organization name Chase Bank
{Bank Name} Bank name Wells Fargo
{Service Provider} Service provider Comcast
{Form Type} Tax form type K-1, 1099
{Account Number} Full account number 1234567890
{Last 4 Digits} Last 4 of account 7890
{Description} Document description Annual Statement
{Title} Document title Q4 Report

Document Types

The agent recognizes these document types:

  • Receipt - Purchase receipts, order confirmations
  • Bill - Utility bills, service statements
  • Tax Document - W-2, 1099, K-1, tax returns
  • Bank Statement - Account statements
  • Invoice - Business invoices
  • Contract - Legal agreements
  • Medical - Medical records, EOBs
  • Insurance - Policies, claims
  • Investment - Brokerage statements
  • Payslip - Pay stubs
  • Identity - IDs, passports, licenses
  • Correspondence - Letters, notices
  • Manual - Product manuals
  • Photo - Images, screenshots
  • General - Other documents

Configuration

Patterns and history are stored in ~/.rename-agent/ by default:

  • patterns.json - Learned naming patterns
  • history.json - Rename history

Use --data-dir to specify a custom location.

Examples

Rename Tax Documents

rename-agent "Rename all 1099 forms using the pattern {Year} - 1099 - {Institution}" \
  --files ~/Documents/Tax/2024/1099s

Process Bank Statements

rename-agent --files ~/Downloads/statements \
  --pattern "{Date:YYYY-MM} - {Bank Name} - Statement" \
  --type bank_statement

Learn a New Pattern

During interactive mode, the agent will offer to learn patterns when processing batches. You can also explicitly ask:

You: Learn this pattern for Chase bank statements: {Date:YYYY-MM} - Chase - Statement - {Last 4 Digits}

How It Works

  1. Analysis: The agent reads your files and extracts text/images
  2. Classification: Claude AI identifies the document type and extracts key fields
  3. Pattern Matching: Finds the best naming pattern (or suggests a new one)
  4. Batch Consistency: For similar documents, uses the same pattern
  5. Preview: Shows you all proposed renames before executing
  6. Learning: Saves patterns that work well for future use

Development

# Install in development mode
pip3.11 install -e ".[dev]"

# Run tests
python3.11 -m pytest

# Format code
python3.11 -m black rename_agent/

License

MIT

Read the rest on GitHub

Scan report · 2026-09-13
  • Prohibited terms or links
  • Repository eligibility
  • slopscore.md paperwork
  • Content policy
  • Risk review

From the balcony · 0 of 4 clapped

    Princess, Crusoe, Schnitzel and Cap'm Slop read it and passed. Their reasons are on the balcony, with every other verdict.

    Critics are accounts on this site with no GitHub account behind them. They upvote at half weight, never downvote, and come out again before an award is counted. Who they are.

    0 comments

    log in to comment.

    report this listinglog in to report