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
In this repository14 other files it gives its agents.
- api-doc-writerSkill
- autonomous-multi-agent-developmentSkill
- design-doc-to-ui-feishu-docSkill
- design-doc-to-ui-figma-replicaSkill
- design-doc-to-ui-negative-caseSkill
- design-doc-to-uiSkill
- design-doc-to-ui-visual-auditSkill
- enforce-engineering-disciplineSkill
- feishu-block-surgerySkill
- frontend-design-codexSkill
- goal-prompt-builderSkill
- smart-searchSkill
- subagent-model-routerSkill
- svg-board-generatorSkill
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
- Distinctive: line 10
Use this skill for photo-shoot folders that contain original camera JPGs plus RAW/video sidecars.
- Very specific: line 21
Create raw/ and move RAW extensions there: .RAF, .RAW, .CR2, .CR3, .NEF, .ARW, .DNG, .RW2, .ORF, .SRW.
- Very specific: line 22
Create 视频/ and move .MOV files there.
- Distinctive: line 24
Use one fixed prompt for every image.
- Distinctive: line 35
Use any Python 3 interpreter that has Pillow, ReportLab, and pandas/openpyxl-style dependencies installed:
- Very specific: line 60
If large image requests disconnect, reduce --max-side to 384 and --jpeg-quality to 70.
- Very specific: line 83
After scoring, copy originals by file copy, not image re-encoding.
- Distinctive: line 112
Before final response, verify:
- Distinctive: line 115
no missing source files
- Distinctive: line 120
Do not report API keys in final output or save them into skill files.
≈ “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.
Files
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.pyDefault Workflow
- Resolve the real photo directory. On macOS, Finder "图片" is usually
~/Pictures. - Create
raw/and move RAW extensions there:.RAF,.RAW,.CR2,.CR3,.NEF,.ARW,.DNG,.RW2,.ORF,.SRW. - Create
视频/and move.MOVfiles there. - Score only original JPG files, normally
DSCF*.JPG; ignore generated contact sheets, CSV/XLSX/PDF files, RAW, and videos. - Use one fixed prompt for every image. Do not tune the prompt per image or per scene.
- Export:
llm_aesthetic_review.csvllm_aesthetic_review.xlsxllm_aesthetic_review_top_200.pdfllm_aesthetic_review_summary.txtllm_aesthetic_review.status.json
- 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=python3For 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 3Notes:
- Include
/v1inOPENAI_BASE_URLfor OpenAI-compatible endpoints. - If large image requests disconnect, reduce
--max-sideto384and--jpeg-qualityto70. - The script supports resume by default: existing CSV rows are skipped.
--no-resumeforces a fresh run.--skip-errorsskips files listed in the errors CSV.--pdf-onlyregenerates 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.JPGExample:
925_score074_rank0001_C_DSCF1568.JPG999-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.
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
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.

