← ClaudeAtlas

save-locallisted

Move a rendered short into ./output/<source-video-name>/. Auto-creates the per-source folder. Use as the final step so all shorts from one source video land in one browseable folder.
jperrello/C0BALT_CUT · ★ 2 · Code & Development · score 63
Install: claude install-skill jperrello/C0BALT_CUT
# save-local Final-stage delivery. Local filesystem only (no Drive, no cloud). ## Inputs - `input`: rendered short path - `source`: original source video path (used to derive folder name when `subdir` is omitted) - `name` (optional): destination filename, defaults to `<input basename>` - `subdir` (optional): destination folder under `OUTPUT_DIR`. When given, overrides the source-stem derivation — the pipeline passes a kebab slug of the source title so shorts land in `output/<title-slug>/` instead of the generic `source` stem. ## Output Path to the saved file: `<OUTPUT_DIR>/<subdir-or-source-stem>/<name>`. Returns the path. ## How 1. Read `OUTPUT_DIR` from `.env` (default `./output`). 2. Folder = `subdir` if given, else `Path(source).stem`. 3. `mkdir -p <OUTPUT_DIR>/<stem>`. 4. Copy (not move — preserve the render in its working dir) the file in. 5. Print the absolute destination path so the user can open it. ## Status Implemented — `save-local.sh`.