Scriptwriting

From real-simple-labs/parker-brain · View interactive version

Scriptwriting is an AI agent skill from the GitHub repository real-simple-labs/parker-brain. Write ad scripts that sound spoken, not written, by adapting proven reference ads into the brand's own voice fingerprint. AI cannot write good scripts cold — references are the default input and the brand script-voice profile is the sound. Every script passes the spoken-script-voice AI-tells check a

How to use this skill

Skill file

Scriptwriting

Goal

Write ad scripts that match the brand, the audience, the awareness stage, and the format — grounded in proven reference ads from the global database. The default flow is reference-finding plus adaptation. AI cannot reliably produce good scripts from cold context; proven references provide the structural skeleton that adaptation then dresses in the brand's voice and product.

This skill writes scripts. It does not write hooks in isolation (route to hooks skill — though scripts contain hooks), write headlines (route to headlines skill), generate AI video prompts (route to ai-ad-generation), or iterate on existing winning scripts (route to iterations).

What you are working from

Scriptwriting runs on the canonical methods, routed by parker-system/creative-strategy-context/expertise-routing.md: spoken-script-voice.md, the human-voice doctrine and AI-tells audit, mandatory before writing any words; scriptwriting.md and adapting-scripts.md for the craft and the 1:1 adaptation method; visual-vocabulary-method.md for per-beat visual direction, with visuals.md as its why-layer; and hooks.md for the opener. When the script casts a persona or hands off to a creator, creative-consumption-analysis.md reads the native content she already watches so casting and setting blend in, and creator-briefs.md carries the terminology and story-structure the brief needs. Reference ads and customer language pull through the Parker tools inventoried in parker-system/system/parker-tools.md.

The default flow is reference-driven adaptation

Adaptation is the default because AI cannot write good net-new scripts cold. Left to invent from scratch, AI produces clean, written-sounding, AI-tell-ridden copy that dies when read aloud. Proven references supply the structural skeleton; the brand's own voice fingerprint supplies the sound. Net-new is the rare fallback, not a co-equal path. The full flow:

  1. Build or load the brand script-voice profile. Run build-brand-voice-profile. Pull the brand's own winning scripts, read them out loud, and extract the voice fingerprint — pacing, diction, signature moves, direct-address habit, CTA shape, and the banned-by-absence list. This profile is the brand baseline; everything generated must read and sound as belonging to it. If a current profile exists, load and refresh it.
  1. Load brand context. Brand profile, ICP, personas, voice of customer, compliance, what has been tested.
  1. Load hook context before writing the first three seconds. If the script contains a hook, load the hooks skill strategy, the shared hook doctrine, and the brand's latest hook audit or hook history. The opener is not a decorative line at the top of a script; it is the creative gate. Do not write the hook from memory or justify it after the fact.
  1. Find reference ads. Pull a handful of relevant reference ads via Parker MCP, in source order: the brand's own account scripts first, then the competitor and inspo scripts already captured in the brand's vault, then the niche's top organic library, then the public ad library (search_competitor_facebook_ads) and the team's swipe file (search_swipe_file); the global AI-tagged DB has no tool available to users. Filter by the AI tags that match the user's request — format, angle, awareness stage, persona, hook type, brand type. Pick the single strongest candidate. The find-reference-ads process handles this.
  1. Adapt the reference. Use adapt-existing-script against the chosen reference. Preserve the structural skeleton — beat count, pacing, emotional arc, proof type. Rewrite every word in the brand's voice fingerprint. Adaptation is 1:1 against the one reference, not blended across multiple.
  1. Net-new only when references fail. If no good references exist for the request, route to one of the net-new processes. This is the exception, not the rule — AI cannot write good net-new, so even net-new scripts are held to the spoken-script-voice doctrine.

How this skill runs

  1. Determine the path. Run strategy.md. Reference-driven adaptation is the default. Net-new is the fallback when references are not available or the user explicitly requests fresh-from-scratch.
  1. Build or load the brand script-voice profile, load brand context, and load hook context. Always. Run build-brand-voice-profile for the voice fingerprint; load the brand profile, ICP, personas, voice of customer, compliance, hook strategy, shared hook doctrine, and the brand's latest hook audit or hook history. These are foundational.

And load the strategy first, above all of it. The brand's committed strategy — strategy/, the working thesis, the strategic roadmap, the who/what/say/show calls — is the high-level frame every tactical choice sits inside; read it before deciding what to write. Then the idea bank (idea-bank/, including its evaluated ideas) as the baseline of what's worth executing: a script request that matches an idea-bank entry executes from that entry, carrying its source examples and reasoning, instead of re-inventing the concept cold. A request that cuts against the committed strategy is surfaced to the user with the conflict named, not silently executed. If the brain has no strategy/ or idea bank yet, say so in one line and proceed from brand context.

  1. For reference-driven adaptation: find-reference-ads → adapt-existing-script. find-reference-ads pulls in source order — brand's own account, then captured vault competitor/inspo, then niche organic, then the public ad library and the swipe file.
  1. For net-new: pick the right framework process — problem/solution, story-arc, VSL, awareness-staged, style-based, sophistication-matched, emotional-depth.
  1. Source customer language. Every script — adapted or net-new — pulls language from real reviews, comments, surveys, voice of customer data. Marketing voice fails.
  1. Self-check as you draft — read every line aloud, watch for AI-tells per parker-system/creative-strategy-context/spoken-script-voice.md. This is your own pre-pass while writing. It is not the gate, and it does not replace the two review agents below. Running scripts/voice-lint.py yourself is not the gate either — the linter is a tool the gate agents run inside their own context. Your own lint plus your own read is the writer grading the writer's paper, which is exactly what the gates exist to stop.
  1. You run the two gates yourself, now, before you show the user anything — this is a step you execute, not a thing that happens for you. Read "automatically" as without being asked, never as without you doing it: nothing and no one else spawns these agents, so if you do not spawn them, they never run and the script is not done. They are not optional, not a "second opinion," and never offered as a choice. You do not ask the user whether to review — you spawn both agents, apply what they return, and only then present. The moment you notice yourself about to write "want me to run it through the reviewer" or "I should have run the review" — stop and spawn the agent right then; that sentence is the failure, not a plan. (Use the runtime's independent spawning tool when available, including in Codex, and give each reviewer its .claude/agents/ method file to read. If spawning is unavailable, execute the applicable review method in a separate inline pass that re-reads the sources, and label the receipt inline. Grounding always runs; voice review follows this skill's customer-facing-copy condition. The cross-runtime contract is parker-system/system/codex-support.md.) Spawn them in order, because grounding can change the content and voice only changes the lines:

7a. Grounding gate. Spawn the context-grounding-review agent (.claude/agents/context-grounding-review.md) with the user's task, the draft, the brain root, and the tool pulls made this session. It independently reads the routed method docs, runs scripts/grounding-check.py, and checks the draft was built from the right context, nothing fabricated, the methods applied not just cited. A bounced verdict means re-pull and regenerate the affected parts — never annotate around it — then re-run. Every bounce is captured through self-improvement-intake as a one-line trace (task shape + what was missed) so the routing layer learns.

7b. Voice gate. Spawn the creative-voice-review agent (.claude/agents/creative-voice-review.md) on the grounded draft with the brand voice profile and deliverable type. It runs the mechanical lint and the judgment pass independently, in a context that did not write the draft. Apply every rewrite it returns, whatever the verdict, and re-run while the verdict is flagged, handing it its last return, for three passes at most. ships ends the gate. So does needs-corpus: the lines are clean but generic because the voice input is thin, which no rewrite fixes, so ship them with the agent's RESIDUAL naming the corpus that would fix it, and add that gap to running-notes/missing-context.md unless it's already listed. If the third pass still comes back flagged, stop and ship with the flags it still lists shown in the Voice Review block as unresolved, never as passed. A flag that conflicts with sourced customer language or the reference structure keeps the source, with the reason carried into the Voice Review block.

The Grounding Review and Voice Review blocks in the output are the agents' returned verdicts, verbatim — you cannot write them yourself. A script with no verdict blocks did not pass the gates and is not done.

  1. Format output per the structure below.

Output structure

The output leads with the reasoning, then the script, then only what earns its place. No label lists — a strategist briefing a founder talks in plain sentences, not a form.

Why this script

Two to five sentences, up front, before the script. This is the idea gate, said out loud: who it's for, the opening it fills that the account or the market is leaving on the table, why now, and the bet the script is making. Fold in the awareness stage, the emotion, and the sophistication read only where they explain the choice — as reasoning a founder would nod at, never as standalone labels. If a reader can't tell from this paragraph why this script is worth filming over any other, it isn't done. This is the part the user actually reads first, so it carries the weight.

The Script

The full script, beat by beat, with timing. Includes:

Every beat's visual direction sources from the brand's visual vocabulary doc at sub-context-docs/visual-vocabulary.md when it exists, and carries three markings, per the method at parker-system/creative-strategy-context/visual-vocabulary-method.md:

What it's built from

Short and only what informs — three plain lines, not a form:

Compliance flags, if any, go here in one line. Don't restate the brand context you used — the "Why this script" section already carried the reasoning.

Grounding Review

The grounding gate's returned verdict, verbatim from the context-grounding-review agent — you do not write this, the agent does. Its verdict, one or two lines on what it checked, and if it bounced, what was re-pulled and regenerated. No block here means the gate never ran, which means the script is not done.

Voice Review

The voice gate's returned verdict, verbatim from the creative-voice-review agent. Its verdict (for needs-corpus, the corpus that would fix it; after a third flagged pass, the open flags marked unresolved), the lint density before and after, what was flagged and fixed, and any flag kept with its reason. No block here means the gate never ran.

Output contract precedence

The user's format comes first, for the deliverable they gave it for. When the user gives a format or template for a brief or a script (in the conversation, or saved as a standing rule), deliver that deliverable in their format: their sections, their order, their labels, with this skill's work inside it. Don't add sections they left out, and don't swap their structure for the one above. The What it's built from, Grounding Review and Voice Review blocks still follow after their format, as they are, so the customer-language attribution and the illustrative label never drop out. Compliance rules still win over the user's wording. A brief template doesn't reshape other deliverables: a 1:1 reference adaptation still ships the four parts from adapting-scripts.md unless the user gave a format for that adaptation itself.

If they say to use the format from now on, save it where that deliverable already looks: a brief template goes word for word into briefs/_brief-template.md, which every brief follows. Any other standing format goes through self-improvement-intake, which decides whether it is a brand rule or a personal one.

When the user hasn't given a format for this deliverable, the output structure above governs every path in this skill. parker-system/creative-strategy-context/adapting-scripts.md carries its own four-part output format; that format governs only the reference-adaptation path where a source script is being traced 1:1. On the idea paths and net-new frameworks, load adapting-scripts.md for its craft, but deliver in this skill's output structure.

Two gates before any script gets written

The idea gate. Nobody just writes a script. A script request starts with the read: the brand's committed strategy and idea bank first, then what is working in the account right now, what competitors are running, what the customer keeps saying. The idea comes out of that read, and the first thing the output says, in plain language, is why this script and why now — naming the idea-bank entry it executes when there is one. If the reasoning cannot be stated in two sentences a brand founder would follow, the idea is not ready.

The format gate. The format is a decision, not a default. Before choosing, pull the account's current format performance: which formats carry spend, which are winning right now, which the brand has proven it can produce. The chosen format carries its reasoning from that evidence. Choosing a format because it is the easiest one to write is banned. Choosing it because the account's current winners prove the lane, and the script's talent and tone fit it, is a decision, and the output states that reasoning in plain terms.

Hard rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.