← Back to library

Feed agents approved templates when making video ads

u/tgdn's command-line tool lets an agent scrape competitors, generate media, edit and publish, with a guard against low-quality output: viral examples become manually approved templates that the agent must use as references. We keep the approved-template library and human taste check as the reusable pattern.

  • OutcomeGive a marketing agent a library of manually approved examples so generated videos and posts follow formats that worked.
  • SetupAn afternoon+
  • LevelAdvanced
  • Creditu/tgdn on r/ClaudeAI
View original
Works with
Claude CodeClaudeCustom agent

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 23, 2026

When should you use it?

  • You generate short-form video or image ads
  • Outputs look generic
  • Several accounts need consistent formats

Not for: Copying competitors' creative wholesale; Publishing without review

What do you need, and what do you get?

You need

  • Example videos you like
  • Brand rules
  • Publishing accounts

You get

  • Approved template library
  • Drafts built from templates
  • Review queue

How does it work, step by step?

  1. Collect examplesGather posts that performed well in your niche.
  2. Describe structureWrite each as a template: hook, beats, length, captions, music style.
  3. Approve by handOnly templates a person approves enter the library.
  4. Generate from templatesRequire the agent to cite the template it used.
  5. Review before postingA person approves every draft and records results per template.

The prompt

Our own prompt, inspired by u/tgdn on r/ClaudeAI and written to work in Claude Code, Claude and Custom agent. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt5 variables
Create a {length}-second video script for {product} using approved template {template_id}: {template}.
Follow its hook and beat structure. Use only product facts from {facts}.
Return script, shot list, captions, and the template ID used. Mark claims needing proof.

Inspired by u/tgdn on r/ClaudeAI: I let Claude Code run marketing for real brands - one video hit 5.3M views on Instagram. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Bad generations stay bad; reject rather than patch.
  • Templates describe structure; do not reuse others' footage.

Our take

The author is candid that taste stays human and bad generations stay bad. The approved-template library is how that taste gets encoded so the agent can use it without reinventing structure each time. Add per-template result tracking so winners rise and weak templates retire. Collect examples carefully and respect copyright and platform rules when analyzing competitors. Approve every template by hand before it enters the library. Generate from templates, then review before posting. Do not auto-publish until the library has proven itself across several campaigns. Track spend on generation models separately from ad spend. Keep brand and legal claims on a deny list the agent cannot override. Refresh templates when platform formats change. Measure click and conversion by template, not only by campaign. Store rejected generations briefly so you can teach the scorer what bad looks like, then delete them. Have a second person spot-check new templates before they enter rotation for paid spend.

Where the time goes back: Fewer generic drafts reach review because the agent starts from formats you approved.

FAQ

Why a command-line tool?
Stable text in and out makes agent runs predictable compared with clicking through web apps.
Do templates kill creativity?
They set a floor; people still pick ideas.

Source and credit

Inspired by u/tgdn on r/ClaudeAI. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
I let Claude Code run marketing for real brands - one video hit 5.3M views on Instagram
Creator
u/tgdn on r/ClaudeAI
Published on
Reddit
Original date
Apr 10, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
Claude Code
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 23, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Marketing

All 97 Marketing playbooks →

Related playbooks

MarketingSkill✓ AI dry run

Set up or fix conversion tracking with an agent skill

Get form fills, bookings, calls and purchases counted correctly in GA4 and your ad platforms, or find out exactly why the numbers are off.

Credit: coreyhaines31

Under an hour
MarketingWorkflow✓ AI dry run

Write hundreds of landing page headlines with two agents

Point two coding agents at the same customer research (chat logs, call transcripts and your best ads), have each draft a large batch of headline and subheadline options, collect them in a simple review app where you swipe and leave notes, then narrow the pile yourself to a short list for split testing.

Credit: James Camp (@JamesonCamp)

An afternoon+
MarketingPrompt✓ AI dry run

Find verified free backlink submission opportunities

Research up to thirty free, legitimate listing or resource pages for your site, each with a real submission URL, effort rating and a seven-day pursuit order you run yourself.

Credit: Grant O (@2whazzuup)

Under an hour
MarketingWorkflow✓ AI dry run

Gate AI marketing with a quality score and spend caps

Score every generated post before it publishes and put hard budget ceilings on any agent that can touch ad spend.

Credit: u/ProbablyCh on r/buildinpublic

An afternoon+
MarketingSkill✓ AI dry run

Let an agent submit your product to directories safely

Use the directory-submissions skill from Corey Haines' marketingskills collection with Claude Code or another agent to check that your product pages are ready, pick the directories that fit, fill a listing kit once, vary the description by directory type, fill each web form with a browser tool, pause for your approval before every submit and log each attempt so nothing is sent twice.

Credit: coreyhaines31

An afternoon+