ebay-organize-photos

ebay-organize-photos is a command for Claude Code from jbwashington/ebay-mcp. It costs 10 tokens per session (689 once invoked), scanned A, original, MIT.

A command that sorts product photos from an iCloud inbox into folders for eBay listings. It groups photos by time, identifies product details, moves the files, and writes product metadata.

In plain words
What is it for?
It is for organizing JPG, JPEG, PNG, and HEIC photos, previewing the result with a dry run, and preparing grouped products for listing creation.
Why use it?
It removes the manual work of sorting a large batch of listing photos and naming their folders.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/setup-photo-workflow.sh.

Part of the ebay-listing-automation plugin — 13 commands, 3 hooks shipped together

Good fit It is for organizing JPG, JPEG, PNG, and HEIC photos, previewing the result with a dry run, and preparing grouped products for listing creation.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jbwashington/ebay-mcp
agentmods
npx agentmods add commands/jbwashington/ebay-mcp/ebay-organize-photos

Made for: Claude Code.

Or install ebay-listing-automation, the plugin that ships this one along with the rest of its 13 commands, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ebay-organize-photos

README.md
[![agentmods](https://agentmods.dev/badge/commands/jbwashington/ebay-mcp/ebay-organize-photos/github.svg)](https://agentmods.dev/commands/jbwashington/ebay-mcp/ebay-organize-photos)
Your own site
<a href="https://agentmods.dev/commands/jbwashington/ebay-mcp/ebay-organize-photos"><img src="https://agentmods.dev/badge/commands/jbwashington/ebay-mcp/ebay-organize-photos/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ebay-organize-photos

Your own site · 80×15
<a href="https://agentmods.dev/commands/jbwashington/ebay-mcp/ebay-organize-photos"><img src="https://agentmods.dev/badge/commands/jbwashington/ebay-mcp/ebay-organize-photos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00689
Opus 5 $0.00005 $0.00345
Sonnet 5 $0.00002 $0.00138
Haiku 4.5 $0.00001 $0.00069

Measured 11d ago against content hash a068f2f8f398, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ebay-organize-photos scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/ebay-organize-photos.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Organize Photos from Inbox

Manually trigger the photo organization process. Scans the iCloud eBay inbox folder for new photos, groups them by time, analyzes products, and creates organized folders ready for listing creation.

Usage

# Organize all photos in inbox
/ebay-organize-photos

# Check inbox first
/ebay-organize-photos --dry-run

What It Does

  1. Scans inbox for new photos (*.jpg, *.jpeg, *.png, *.heic)
  2. Groups photos by time gaps (5+ minutes = new item)
  3. Analyzes products using AI to identify brand, model, colorway
  4. Creates folders in organized/ with descriptive names
  5. Moves photos from inbox to organized folders
  6. Generates metadata.json with product info
  7. Sends notification when complete

Example Output

🔍 Found 12 photos in inbox
📊 Grouped into 2 items
🤖 Analyzing item 1...
   └─ Nike Air Jordan 1 Chicago
📁 Created: organized/nike-air-jordan-1-chicago-size-10/
📸 Moved 8 photos
🤖 Analyzing item 2...
   └─ Adidas Yeezy 350 Bred
📁 Created: organized/adidas-yeezy-350-bred-size-9.5/
📸 Moved 4 photos
✅ Organization complete!

Automatic Mode

Instead of running manually, you can enable automatic organization:

# Setup automatic watching (one-time setup)
bash scripts/setup-photo-workflow.sh

# Photos will auto-organize when added to inbox
# You'll get macOS notifications when complete

Next Steps

After organization:

# See what's ready for listing
/ebay-list-ready

# Create listings
/ebay-analyze organized/nike-air-jordan-1-chicago-size-10
/ebay-draft organized/nike-air-jordan-1-chicago-size-10
/ebay-publish [offer-id]

Troubleshooting

No photos found:

  • Check inbox path: ~/Library/Mobile Documents/com~apple~CloudDocs/eBay/inbox
  • Ensure photos are synced from iCloud
  • Verify file extensions (.jpg, .png, .heic)

Wrong product detection:

  • Rename folder manually after organization
  • Or use: /ebay-reanalyze [folder]

Photos not grouping correctly:

  • Adjust time gap in script (default: 5 minutes)
  • Manually move photos between folders

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 105 lines · 10 tokens per session scan A a068f2f8f398

Subscribe to this mod's changes

ebay-organize-photos is a command published in the GitHub repository jbwashington/ebay-mcp (14 stars, last pushed 6mo ago), licensed MIT. It adds 10 tokens to every session and 689 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.