Skip to content

gooseworks-ai/goose-skills / skills/video/render-street-interview

render-street-interview

Verified

Write a street-interview ad from a complete inspected commercial interaction and current brand facts. Render product guessing, or prepare mic-only, prepared-sample or visible-task conversation script/prompt previews. Premise, actions and ad connection vary; capture rules stay fixed. Conversation media delivery is unverified.

FileKindSize
REFERENCE.mdmarkdown7.4 KB
SKILL.mdskill md16.7 KB
TAKES.mdmarkdown1.5 KB
brands/demo-tallgrass-oat.jsonconfig3.9 KB
brands/fizzroot-ep3-a.jsonconfig2.2 KB
brands/fizzroot-ep3-b.jsonconfig2.6 KB
brands/fizzroot-ep3-c.jsonconfig2.3 KB
brands/grimwater.jsonconfig4.6 KB
brands/oleara-ep1-a2.jsonconfig2.5 KB
brands/oleara-ep1-b.jsonconfig2.7 KB
brands/oleara-ep1-c.jsonconfig2.5 KB
episodes/fizzroot-ep3.jsonconfig1009 B
episodes/oleara-ep1.jsonconfig784 B
references/cast-writing.mdmarkdown9.6 KB
references/h3-generation.mdmarkdown2.2 KB
references/model-behaviors.mdmarkdown5.0 KB
references/reference-format-rules.mdmarkdown7.5 KB
references/reference-ledger-items-01-23.mdmarkdown15.6 KB
references/reference-ledger-items-17-28.mdmarkdown13.2 KB
references/reference-ledger-items-29-42.mdmarkdown14.3 KB
references/reference-pipeline.mdmarkdown7.3 KB
references/street-reference-library.jsonconfig6.6 KB
references/street-script-writing.mdmarkdown16.7 KB
scripts/bench.pyscript18.2 KB
scripts/brandkit.pyscript19.3 KB
scripts/build.pyscript8.0 KB
scripts/build_episode.pyscript77.5 KB
scripts/build_looks.pyscript32.2 KB
scripts/check-cut.pyscript66.3 KB
scripts/conversation.pyscript12.8 KB
scripts/edit_timeline.pyscript7.6 KB
scripts/falsify-all.pyscript19.8 KB
scripts/fit_grade.pyscript7.7 KB
scripts/format_spec.pyscript93.2 KB
scripts/measure-pace.pyscript2.8 KB
scripts/media_proxy.pyscript56.8 KB
scripts/paths.pyscript3.0 KB
scripts/phone_look_video.pyscript7.2 KB
scripts/prepare_script_context.pyscript12.0 KB
scripts/recut.pyscript26.5 KB
scripts/selftest.pyscript23.5 KB
scripts/single_gen.pyscript24.9 KB
scripts/variants_gen.pyscript14.0 KB
skill.meta.jsonconfig656 B
tests/READINESS.mdmarkdown13.3 KB
tests/fixtures/brands/grimwater-4816.jsonconfig4.6 KB
tests/fixtures/brands/grimwater-4817.jsonconfig2.3 KB
tests/fixtures/brands/grimwater-4818.jsonconfig2.6 KB
tests/fixtures/brands/grimwater-4819.jsonconfig2.1 KB
tests/fixtures/brands/grimwater-4820.jsonconfig2.8 KB
tests/fixtures/brands/grimwater-4821.jsonconfig2.8 KB
tests/fixtures/brands/grimwater-4822.jsonconfig2.5 KB
tests/fixtures/brands/grimwater-4823.jsonconfig2.3 KB
tests/fixtures/brands/grimwater-4824.jsonconfig4.1 KB
tests/fixtures/brands/grimwater-4827.jsonconfig4.6 KB
tests/fixtures/brands/grimwater-4828.jsonconfig4.3 KB
tests/fixtures/brands/grimwater-4829.jsonconfig3.8 KB
tests/fixtures/brands/grimwater-4830.jsonconfig3.9 KB
tests/fixtures/brands/grimwater-4831.jsonconfig4.2 KB
tests/fixtures/brands/grimwater-4832.jsonconfig3.5 KB
tests/fixtures/brands/grimwater-4833.jsonconfig3.7 KB
tests/fixtures/brands/grimwater-4834.jsonconfig3.9 KB
tests/fixtures/brands/grimwater-4835.jsonconfig3.9 KB
tests/fixtures/episodes/grimwater-ep1.jsonconfig2.2 KB
tests/fixtures/episodes/grimwater-ep2.jsonconfig2.2 KB
tests/fixtures/episodes/grimwater-ep2fix-v2.jsonconfig4.9 KB
tests/fixtures/episodes/grimwater-ep2fix-v3.jsonconfig5.7 KB
tests/fixtures/episodes/grimwater-ep2fix.jsonconfig3.7 KB
tests/fixtures/episodes/grimwater-ep3.jsonconfig2.5 KB
tests/fixtures/episodes/grimwater-ep3b.jsonconfig2.3 KB
tests/fixtures/episodes/grimwater-ep3c.jsonconfig2.3 KB
tests/fixtures/episodes/grimwater-ep4.jsonconfig3.7 KB
tests/fixtures/prompt-snapshots.jsonconfig20.3 KB
tests/smoke-test.mdmarkdown627 B
tests/test_cast_advice.pyscript3.6 KB
tests/test_conversation.pyscript20.5 KB
tests/test_edit_timeline.pyscript8.6 KB
tests/test_finishing.pyscript10.9 KB
tests/test_h3_provider_route.pyscript9.2 KB
tests/test_opt_in_hold_grammar.pyscript4.7 KB
tests/test_prompt_budget.pyscript10.5 KB
tests/test_recut_media.pyscript6.2 KB
tests/test_selector_route.pyscript8.7 KB
tests/test_single_gen_rejection.pyscript7.6 KB
tests/test_skin_and_voice_options.pyscript4.1 KB

tests/test_cast_advice.py

View on GitHub
"""The cast advisory (2026-10-13): thin or copied cast descriptions bring back the same
faces in every brand's video. Advice only: it must never block a take or change a prompt.
Free: no network."""
import copy
import pathlib
import sys
import unittest

SCRIPTS = pathlib.Path(__file__).resolve().parents[1] / "scripts"
sys.path.insert(0, str(SCRIPTS))

import brandkit  # noqa: E402
import format_spec  # noqa: E402

FULL = ("a stocky Black man in his late thirties with a short greying beard and a shaved head, "
        "in a plain grey jumper, with a plain rucksack on one shoulder")
FULL_2 = ("a tall, thin South Asian woman in her sixties with a long grey plait, in a plain navy "
          "coat, with an umbrella")
THIN = "a man in his thirties, grey hoodie, with a plain rucksack"


def cfg():
    return brandkit.load("oleara-ep1-a2")


class CastAdviceTests(unittest.TestCase):
    def test_a_thin_person_is_named_with_what_is_missing(self):
        notes = brandkit.cast_advice(cfg())
        self.assertTrue(any("shot 1" in n and "hair" in n and "build" in n for n in notes), notes)
        self.assertTrue(any("all-white corner" in n for n in notes), notes)

    def test_a_fully_written_cast_gets_no_advice(self):
        c = cfg()
        c["shots"][0]["subject"], c["shots"][2]["subject"] = FULL, FULL_2
        self.assertEqual(brandkit.cast_advice(c), [])

    def test_a_person_copied_from_another_brand_is_flagged(self):
        c = cfg()
        c["shots"][0]["subject"], c["shots"][2]["subject"] = FULL, FULL_2
        notes = brandkit.cast_advice(c, other_subjects=[FULL.upper()])
        self.assertEqual(len(notes), 1, notes)
        self.assertIn("another brand", notes[0])

    def test_the_same_person_twice_in_one_cast_is_flagged(self):
        c = cfg()
        c["shots"][0]["subject"] = c["shots"][2]["subject"] = FULL
        self.assertTrue(any("repeats shot 1" in n for n in brandkit.cast_advice(c)))

    def test_advice_never_blocks_validation_or_changes_the_prompt(self):
        c = cfg()
        brandkit.validate(copy.deepcopy(c))          # a thin cast still validates
        flags = dict(pace=True, guards=True, plain=True, upright=True, one_mic=True, prompt_version=2)
        before = format_spec.build_prompt(copy.deepcopy(c), **flags)
        brandkit.cast_advice(c, brandkit.other_subjects(c))
        self.assertEqual(format_spec.build_prompt(c, **flags), before)

    def test_other_subjects_leaves_out_the_brands_own_configs(self):
        c = cfg()
        own = {s["subject"] for s in c["shots"] if s.get("subject")}
        others = set(brandkit.other_subjects(c))
        self.assertTrue(others)
        self.assertIn(THIN, own)
        # another Oleara config may share it, but no other BRAND's list may supply it
        self.assertNotIn(THIN, others)

    def test_a_garment_or_bag_that_draws_a_logo_is_named(self):
        c = cfg()
        c["shots"][0]["subject"] = FULL.replace("jumper", "hoodie")
        c["shots"][2]["subject"] = FULL_2.replace("an umbrella", "a plain shopping bag")
        notes = brandkit.cast_advice(c)
        self.assertTrue(any("shot 1" in n and "hoodie" in n and "logo" in n for n in notes), notes)
        self.assertTrue(any("shot 3" in n and "shopping bag" in n for n in notes), notes)

    def test_a_cape_is_not_a_cap(self):
        c = cfg()
        c["shots"][0]["subject"], c["shots"][2]["subject"] = FULL + ", capable hands", FULL_2
        self.assertEqual(brandkit.cast_advice(c), [])

    def test_conversation_mode_has_no_cast_advice(self):
        self.assertEqual(brandkit.cast_advice({"mode": "conversation", "shots": []}), [])


if __name__ == "__main__":
    unittest.main()
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: 472kUpdated Claude CodeCodexVerifiedInstall
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: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
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 availableStars: 323kUpdated Claude CodeCodexVerifiedInstall