agentleFS
KilimiaoSixKilimiaoSix/agent-skills/skills/photo-review-workflow/SKILL.md

photo-review-workflow

Skill1 starsChanged 5 months agoMITView on GitHub

Use when organizing a camera photo folder and reviewing JPGs aesthetically: separate RAW files and videos into subfolders, score original JPG photos with one fixed vision-model prompt, export CSV/XLSX/PDF review artifacts, and copy full-quality JPGs into rating folders without modifying originals.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for photo-shoot folders that contain original camera JPGs plus RAW/video sidecars.

    line 10
  2. Very specific:

    Create raw/ and move RAW extensions there: .RAF, .RAW, .CR2, .CR3, .NEF, .ARW, .DNG, .RW2, .ORF, .SRW.

    line 21
  3. Very specific:

    Create 视频/ and move .MOV files there.

    line 22
  4. Distinctive:

    Use one fixed prompt for every image.

    line 24
  5. Distinctive:

    Use any Python 3 interpreter that has Pillow, ReportLab, and pandas/openpyxl-style dependencies installed:

    line 35
  6. Very specific:

    If large image requests disconnect, reduce --max-side to 384 and --jpeg-quality to 70.

    line 60
  7. Very specific:

    After scoring, copy originals by file copy, not image re-encoding.

    line 83
  8. Distinctive:

    Before final response, verify:

    line 112
  9. Distinctive:

    no missing source files

    line 115
  10. Distinctive:

    Do not report API keys in final output or save them into skill files.

    line 120

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Photo Review Workflow

What This Skill Does

Use this skill for photo-shoot folders that contain original camera JPGs plus RAW/video sidecars. It preserves originals, organizes non-JPG files, evaluates only original JPG files with a fixed multimodal prompt, exports review tables, and optionally copies full-quality JPGs into rating folders for Finder browsing.

The bundled script is:

scripts/llm_photo_review.py

Default Workflow

  1. Resolve the real photo directory. On macOS, Finder "图片" is usually ~/Pictures.
  2. Create raw/ and move RAW extensions there: .RAF, .RAW, .CR2, .CR3, .NEF, .ARW, .DNG, .RW2, .ORF, .SRW.
  3. Create 视频/ and move .MOV files there.
  4. Score only original JPG files, normally DSCF*.JPG; ignore generated contact sheets, CSV/XLSX/PDF files, RAW, and videos.
  5. Use one fixed prompt for every image. Do not tune the prompt per image or per scene.
  6. Export:
    • llm_aesthetic_review.csv
    • llm_aesthetic_review.xlsx
    • llm_aesthetic_review_top_200.pdf
    • llm_aesthetic_review_summary.txt
    • llm_aesthetic_review.status.json
  7. Copy full-quality JPGs into rating folders only after scoring is complete.

Scoring Command

Use any Python 3 interpreter that has Pillow, ReportLab, and pandas/openpyxl-style dependencies installed:

PY=python3

For an OpenAI-compatible endpoint:

OPENAI_API_KEY="..." \
OPENAI_BASE_URL="https://your-openai-compatible-endpoint/v1" \
OPENAI_MODEL="gpt-5.4-mini" \
$PY scripts/llm_photo_review.py \
  --photos-dir /path/to/photos \
  --output-prefix llm_aesthetic_review \
  --max-side 384 \
  --jpeg-quality 70 \
  --workers 4 \
  --timeout 120 \
  --max-retries 3

Notes:

  • Include /v1 in OPENAI_BASE_URL for OpenAI-compatible endpoints.
  • If large image requests disconnect, reduce --max-side to 384 and --jpeg-quality to 70.
  • The script supports resume by default: existing CSV rows are skipped.
  • --no-resume forces a fresh run.
  • --skip-errors skips files listed in the errors CSV.
  • --pdf-only regenerates CSV/PDF artifacts from existing rows without API calls.

Fixed Prompt Intent

The script asks the model to act as a strict photography editor for street, travel documentary, and everyday images. Scores are aesthetic selection scores, not technical quality scores.

Core dimensions:

  • subject and reason to look
  • composition and visual form
  • moment and story
  • light and color
  • editing/cropping potential
  • technical floor, without over-rewarding sharp ordinary photos

Expected scoring is strict. A folder may have no A/B images; still use relative rank for selection.

Rating Folder Copy

After scoring, copy originals by file copy, not image re-encoding. Use a folder such as 按评分分类/ under the photo directory.

Recommended folder grouping:

按评分分类/
  C_可留/
  C_一般/
  D_一般/
  D_淘汰/
  E_淘汰/

Recommended filename:

999-score_scoreXXX_rankXXXX_GRADE_ORIGINAL.JPG

Example:

925_score074_rank0001_C_DSCF1568.JPG

999-score makes Finder name-sort place higher scores first while preserving the original filename for lookup.

Validation

Before final response, verify:

  • source original JPG count equals scored row count
  • no missing source files
  • copied JPG count equals scored row count when rating folders are requested
  • status JSON shows pending: 0
  • unresolved errors are zero or clearly reported

Do not report API keys in final output or save them into skill files.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.