gooseworks-ai/goose-skills / skills/video/ugc-fixloop
ugc-fixloop
Verifiedthe UGC fix-loop toolkit — surgically re-render a bad window/beat of a single-take UGC master (stitch_replacement.py, pure FFmpeg) and GPT cross-model review a Seedance prompt before render (vet_seedance_prompt.py, routed through the openai-proxy). Fetch it into a one-shot UGC recipe so both scripts resolve on any machine and the vet call charged to your GooseWorks credits.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.4 KB |
| scripts/stitch_replacement.py | script | 6.4 KB |
| scripts/vet_seedance_prompt.py | script | 5.9 KB |
| skill.meta.json | config | 221 B |
| tests/smoke-test.md | markdown | 1.7 KB |
tests/smoke-test.md
View on GitHub# ugc-fixloop smoke test
## Purpose
Confirm the fix-loop toolkit fetches and both scripts are runnable on a fresh machine.
## Steps
1. **Fetch the capability.** From a one-shot UGC recipe's fix-loop step, run:
```
gooseworks fetch ugc-fixloop
```
Expect the scripts under `/tmp/gooseworks-scripts/ugc-fixloop/scripts/`.
2. **stitch_replacement.py present + arg-parses.**
```
python3 /tmp/gooseworks-scripts/ugc-fixloop/scripts/stitch_replacement.py --help
```
Expect the usage block listing `--master`, `--replacement`, `--output`, `--window-start`, `--window-end`, `--replace-beat`, `--scene-threshold`, `--fit`, `--dry-run`. Requires `ffmpeg` + `ffprobe` on PATH (no API key).
3. **stitch dry-run** (with any two short mp4s):
```
python3 /tmp/gooseworks-scripts/ugc-fixloop/scripts/stitch_replacement.py \
--master M.mp4 --replacement R.mp4 --output O.mp4 --replace-beat 1 --dry-run
```
Expect a printed ffmpeg command and exit 0; no file written.
4. **vet_seedance_prompt.py present.**
```
python3 /tmp/gooseworks-scripts/ugc-fixloop/scripts/vet_seedance_prompt.py
```
Without GooseWorks credentials (no `GW_MEDIA_PROXY_TOKEN` and no `~/.gooseworks/credentials.json`), expect exit code 3 and no output: the recipe then falls back to an inline self-review. With credentials, expect the review printed to stdout.
## Pass criteria
- Both scripts resolve under `/tmp/gooseworks-scripts/ugc-fixloop/scripts/` after fetch.
- `stitch_replacement.py --help` and `--dry-run` succeed with no network/API dependency.
- `vet_seedance_prompt.py` either produces a review (key present) or exits FATAL cleanly (key/env absent) — it never blocks the fix loop.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |