Maker portfolio organizer
A material-management and rule-check tool. It counts, labels, sorts, checks files against school rules, and reports gaps. For written parts (descriptions, questionnaire answers, technical notes) it checks only that they exist and stay within limits. It writes no prose for the student.
Deterministic work runs in scripts/ (inventory, metadata, hashes, git statistics, rule
checks). You do the semantic work: look at images and write labels, pick files for slots,
read the reports, and tell the user what to do next.
All commands: python3 <skill>/scripts/run.py <command> --out <work folder>.
Python 3.9 or later. <skill> is the folder that holds this file.
Ground rules
- Never move, rename, edit, or delete an original file. Scripts only read inputs and write inside the work folder. This keeps reruns identical.
- Labels describe only what is visible: "breadboard circuit, a multimeter probe on a resistor".
No guessed specs, no backstory. Details:
references/labeling.md. - A low-confidence date (file modification time) is never shown as the real date of an event. The scripts keep such files out of the weekly timeline. Keep them out of your summaries too.
- School rules come only from rule files. Never state a school rule from memory.
- Keep the tone of reports and replies neutral and factual. Add no reminders about honesty, copyright, or privacy. Sensitive findings are marked; the user decides.
- Make no assumption about project type, language, folder layout, or OS. Missing parts (no repo, no photos, no schools) are normal: run what applies and list what was skipped.
Step 0 - Get the materials into local folders
If materials are on a phone or in cloud storage, give the user the matching export steps
from references/export-guide.md first, and wait for a local folder path. Exports that keep
original files keep the capture dates; chat-app forwards and screenshots usually lose them.
Step 1 - Configure
python3 <skill>/scripts/run.py init --out WORK \
--repo PATH_OR_URL --media FOLDER --docs FOLDER --logs FOLDER \
--schools mit,caltech --season 2026-2027 --tz Asia/Shanghai \
--student-name "Name" --student-email [email protected]
Pass a project folder without Git to --repo or --docs. Directory scans include
hidden project folders and skip common dependency, build and cache folders.
Repeat input flags or use comma lists. Run init again to add inputs.
--student-* identifies the student's contributions. Use --lang en for English (default zh).
Step 2 - Tools
python3 <skill>/scripts/run.py deps --out WORK --install
If setup prints "use to run all commands", use that Python for the remaining steps. Pillow enables contact sheets, blur checks and burst grouping. Continue with available tools and report any skipped checks and their reasons.
Step 3 - Rules
For each school in the config, check that rules/<school>/<season>.json exists in the work
folder rules/, in a --rules-dir, or in <skill>/rules/. Refresh a rule file when it is
missing, when its fetched_at is more than 30 days old during final mode, or when the user
asks. Follow references/refresh-rules.md: official admissions pages only, unverifiable
fields marked verified: false. Write refreshed files to WORK/rules/ unless the user wants
the bundled copy updated. Validate with python3 <skill>/scripts/rules.py validate --all.
Step 4 - Scan
python3 <skill>/scripts/run.py scan --out WORK
This writes inventory.csv, sensitive.md, repos/*.json, repo_summary.md, and
review/to_label.json. Read inventory.csv with utf-8-sig because it has a UTF-8 BOM.
Reruns reuse cached metadata and labels.
Step 5 - Label
Read review/to_label.json. View each contact sheet (one image shows 9 files with their IDs)
and each video strip, not each photo one by one. Burst and near-duplicate groups show only
one representative. Write or append rows to WORK/labels.csv (id,label,status,flags,note),
following references/labeling.md. Then:
python3 <skill>/scripts/run.py labels --out WORK
Repeat until to_label.json is empty or the remaining items cannot be decoded (they stay
pending and are listed as skipped).
Step 6a - Weekly mode
Use it during the project ("每周整理", "这周新增了什么", "weekly check").
python3 <skill>/scripts/run.py weekly --out WORK
It writes weekly/<date>.md with the records added since the last run and the gaps that
are forming, and updates the timeline. Reply with: what was added this week, the forming
gaps that can still be filled this week, and new flags (sensitive, blurry, unknown dates).
Step 6b - Final mode
Use it near the deadline ("定稿", "按学校整理", "final check").
python3 <skill>/scripts/run.py analyze --out WORK
Read review/slot_candidates.md. For each school, pick files for each slot and write
WORK/selection.json as described in references/selection.md. Then:
python3 <skill>/scripts/run.py build --out WORK
Outputs: portfolio/<school>/ (copied, renamed files plus manifest.csv, manifest.md,
check.json), gaps.md, tech_check.md, facts.md. For a school that does not accept a
portfolio, its folder holds a README that says so with the source; point the user to
facts.md, a fact list for the activity list and essays.
Read gaps.md and tech_check.md before you reply. If a check found a fixable problem in
your own selection (for example a total video length over the limit while a shorter
candidate exists), fix selection.json and run build again.
Reply to the user
Keep it short: the output paths, the top gaps (fixable first, each with its action), the flags that need a decision, and the skipped checks. Do not paste whole reports.
Reference files
| File | Read it when |
|---|---|
references/labeling.md | Step 5, before writing labels |
references/selection.md | Step 6b, before writing selection.json |
references/refresh-rules.md | Step 3, to refresh or add a school |
references/export-guide.md | Step 0, when files are on a phone or in cloud storage |
references/rules-schema.md | to read or write a rule file |
references/data-contracts.md | to debug a script or read an output file in detail |