Logo van Kai Ad Campaign

Kai Ad Campaign

Community
cgallic
kai-ad-campaign

Plan, evalueer en maak betaalde advertentiecampagnes op verschillende platforms (Meta, Google, LinkedIn, TikTok, Microsoft, Pinterest, Snapchat, Amazon, X). Evalueer bestaande advertenties, breng de fasen van de funnel in kaart (TOF/MOF/BOF), maak per platform advertentievarianten die aan de beleidsregels voldoen en lever teksten die direct kunnen worden geüpload. Gebruik deze skill bij "ad campaign", "create ads", "run ads for", "paid campaign", "media plan", "launch ads", "Meta campaign", "Google Ads campaign", "multi-platform ads", "evaluate my ads", "how are my ads doing", "audit my ads", "ad performance", "analyze ads" of elk verzoek om bestaande advertenties te evalueren of nieuwe advertenties te maken.

Add to TypingMind

Overzicht

Uitgevercgallic
Repositorykai-cmo-harness
Skillnaamkai-ad-campaign
Sterren
61
Forks
8
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door cgallic op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Kai Ad Campaign in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-ad-campaign
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cgallic/kai-cmo-harness.git /tmp/kai-cmo-harness
mkdir -p .claude/skills
cp -r /tmp/kai-cmo-harness/harness/skills-v2/kai-ad-campaign .claude/skills/kai-ad-campaign
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Kai Ad Campaign in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Kai Ad Campaign automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Kai Ad Campaign niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Kai root note: knowledge/, harness/, and scripts/ paths in this skill live in the Kai install, not the user's project. Resolve them against the first ancestor directory of this SKILL.md that contains a knowledge/ folder (the Kai plugin root, ~/.claude/kai, or the kai-cmo-harness repo). MARKETING.md, memory/, and any output files live in the current project. If a referenced scripts/ command is not available in this install, say so, skip it, and continue with the file-based guidance — never fabricate its output.

/kai-ad-campaign — Ads That Clear Policy And Earn Their Spend

Objective

Either a verdict on the ads already running, or a ready-to-upload campaign across the platforms that fit the product — funnel stages mapped, variants written to each platform's character specs, every ad checked against that platform's policy reference before it was written, and an execution plan that never activates spend in the same action that creates it.

Two modes, and the mode changes what is permitted:

ModeTriggered byPermission
Evaluation"evaluate", "analyze", "audit", "how are my ads doing", "ad performance", "review my ads"Read-only. No creating, pausing, activating, bid changes, budget changes, asset uploads, keyword additions, or targeting mutations while evaluating.
Creation"create", "launch", "build", "new campaign", "run ads"Produce copy and structure; live writes stay approval-gated.
BothEvaluation findings become the input to creationRead-only until the evaluation is delivered.

Evaluation mode does not require MARKETING.md. Creation mode does.

Done when

Work type paid-ad-campaign — floor E5/C4/O4 (harness/eco-floors.yaml), spend_authority: true.

  • E5 — the platform returned ad object ids and a read-back of the live entity confirms targeting, budget, schedule, and creative match the approved bundle field-for-field. A successful API call is not E5. Hard stop: live-account mutation without recorded human approval is never SHIPPED, whatever else the evidence shows.
  • C4 — the platform policy reference was loaded and the ad checked against it before submission; plus four_us_score ≥ 10/16, banned_word_check clean, and mutation_risk_lint clean. C4 is the field standard, not a lint pass.
  • O4 — CAC, ROAS, CPL, or qualified lead rate read from the ads connector no earlier than the conversion window plus learning phase, against a threshold declared before launch. Platform-reported ROAS is not O5; O5 needs a holdout, geo-split, or incrementality design.

Evaluation-only runs are graded as audit-report instead — E3/C4/O1, with every number resolving to a pulled source and each P0 recommendation naming the metric it targets.

Constraints

Always

  • Read MARKETING.md from the project root before creation work. If it does not exist, build it from the codebase — CLAUDE.md, README.md, PROJECT.md, package.json, landing pages, email/ad/analytics config — using the template from /kai-email-system, and confirm the draft. Do not ask the user what the product is.
  • Five things must be known before writing creation-mode ads: which platforms, budget range, the goal (leads, conversions, traffic, awareness, installs), the landing page traffic goes to, and what creative assets already exist.
  • Load the platform's policy reference and skill contract before writing a single line of that platform's copy. The table under Context is the lookup. harness/references/advertising-compliance.md (FTC, GDPR, CAN-SPAM) applies to every platform on top of the platform's own rules.
  • Credentials come out of .env.local by grep, never source. Extracting a variable is not the same as executing the file.
  • Approval gate before production. Present the campaign map — platform selection, funnel stages, variants per stage, and any regulated-industry compliance concern — and get confirmation before producing ads.
  • No numbers without a pull. Spend, CTR, CPC, CPL, and retention figures come from the platform API or the analytics source, cited with the date range. Model memory is not a data source.

Per ad, before it ships

  1. Four U's ≥ 10/16.
  2. Zero banned words, zero AI slop.
  3. Platform character limits respected — headlines, descriptions, primary text.
  4. A specific number or stat anchors the claim.
  5. No policy violation against the loaded reference.
  6. No superlatives without proof.
  7. One clear CTA.

Creative diversity

Across the three variants per funnel stage, rotate the hook type — variant A pain/agitate, variant B social proof or stat-led, variant C pattern interrupt or story — and rotate the concrete creative format. Three ads sharing a production format with different opening lines are not three creatives.

Every variant declares both a hook_type (pattern_interrupt | social_proof | pain_agitate | direct_offer | story) and a concrete creative_format. Example pairings: problem_agitation + founder, social_proof + testimonial_mashup, pattern_interrupt + ugly_ad.

Formats are selected by select_creative_formats(...) in kai/paid_media/creative_formats.py, keyed on platform, funnel stage, available assets, and regulated-industry risk. Each selected format carries its check results — platform fit, funnel fit, asset feasibility, compliance status, missing assets, compliance flags. When the selector returns NEEDS_ASSET or REVIEW, the format stays in the plan only if the missing asset or the review step is stated explicitly.

API execution (Meta)

  • Load harness/references/ad-write-guardrails.md before any write path. Default to read-only reports, dry-run previews, upload validation, and recommendations. Live write access is approval-gated and never auto-approved.
  • Verify video ids against the live library before creating a video ad. A single digit difference is a different or nonexistent video. Never trust an id from logs or docs.
  • Verify the Instagram account id; pull from Page settings when it is not in .env.local. Use instagram_user_id, not instagram_actor_id.
  • Create everything PAUSED first. Activation is a separate high-risk action — never activate in the same action that creates entities or uploads assets.
  • The write guardrail packet carries: account allowlist, target campaign/ad set ids, dry-run payload, before/after diff, evidence source, platform policy result, rollback reference, and the human approval note.
  • Bid and budget writes are blocked unless capped: current value, proposed value, percent change, daily cap, per-change cap, and rollback path all stated. Never auto-approve a bid or budget change.
  • Strip organic-only captions, hashtags, and comment-keyword CTAs from paid copy.
  • Entity order: campaign (paused) → ad set(s) with targeting and budget → ads with inline creative (object_story_spec) → review in Ads Manager → activate as its own approved action.

Launch decision gate

Load knowledge/playbooks/meta-creative-testing-decision-framework.md when any of these hold: 10 or more ads/creatives will be created; ad set daily budget sits below recent or target CPA; existing winners are already producing leads, purchases, or qualified calls; or the user is asking whether to push all, push a subset, pause all, or find the best launch structure. Write the decision memo before execution. Defaults for large batches: create all requested ads PAUSED when staging helps, activate only the recommended subset when budget is tight, keep proven winner ad sets separate from exploratory batches, and protect existing winners unless the user explicitly wants a refresh test. Separate "create paused for review" from "activate for spend" in every recommendation.

New-brand or first-paid-test launches

Load knowledge/playbooks/paid-media-launch-playbook.md and apply its defaults before writing ads: minimum test budget of target CPA × 50; build the measurement checklist before campaign copy; Meta starts with one campaign per product plus simple retargeting; Google starts with branded search, non-branded search per product or problem, and shopping only once feed quality is ready; avoid Performance Max until the account has baseline data. Produce workspace/ads/_launch-brief.md and workspace/ads/_measurement-checklist.md.

Context

NeedLoad
Meta policy · API execution · contractharness/references/meta-ads-rules.md · harness/references/meta-ads-api-reference.md · harness/skill-contracts/meta-ads.yaml
Google policy · contractharness/references/google-ads-policy-reference.md · harness/skill-contracts/google-ads.yaml
LinkedIn policyharness/references/linkedin-ads-rules.md
TikTok policyharness/references/tiktok-ads-policy-reference.md
Microsoft policyharness/references/microsoft-ads-rules.md
Pinterest policyharness/references/pinterest-ads-rules.md
Snapchat policyharness/references/snapchat-ads-policy-reference.md
Amazon policyharness/references/amazon-ads-policy-reference.md
X/Twitter policyharness/references/x-ads-policy-reference.md
Law that applies to every platformharness/references/advertising-compliance.md
Any workflow that uploads, creates, activates, pauses, or changes bids/budgetsharness/references/ad-write-guardrails.md
First paid test or new brandknowledge/playbooks/paid-media-launch-playbook.md
Batch creative testing, budget-vs-CPA callsknowledge/playbooks/meta-creative-testing-decision-framework.md
Format selection by platform, stage, assets, riskkai/paid_media/creative_formats.py (select_creative_formats)
On-site behavior behind ad trafficharness/references/posthog-marketing-queries.md (UTM pageviews #2, ad visitor journeys #5, campaign attribution #8)

Platform constraints worth carrying inline — the policy reference still loads before writing:

PlatformKey constraints
MetaHeadline 27 chars, primary text 125 chars visible. Special Ad Categories, no before/after imagery, personal-attributes ban
Google15 headlines at 30 chars, 4 descriptions at 90 chars. No superlatives without proof
LinkedInProfessional context required, B2B claim substantiation
TikTokNo political ads, weight-management restrictions, AI-content disclosure required
MicrosoftMirrors Google's RSA format; country-level gambling bans, clinical trials ban
PinterestAll weight-loss ads banned, strict body-image rules
SnapchatYoung-audience protections, EU political ad ban
Amazon18-month claim evidence rule, no competitor disparagement
X/TwitterVerification tier affects ad access; political ad certification by country

Funnel structure — adapt to the product; not every product needs every stage. Three variants per stage per platform is the default:

StageObjectiveAudienceTypical platforms
TOF (awareness)ReachCold — lookalikes, interest-basedMeta, TikTok, Google Display
MOF (consideration)Traffic, engagementWarm — site visitors, engagersMeta, Google Search, LinkedIn
BOF (conversion)Leads, salesHot — cart abandoners, demo requestersMeta retargeting, Google Search (brand), email

Evaluation scoring benchmarks — adjust to the vertical (B2B SaaS, local service, ecommerce):

MetricPoorOKGoodGreat
CTR< 0.5%0.5–1%1–2%> 2%
CPC> $5$3–5$1.50–3< $1.50
CPL> $50$30–50$15–30< $15
Video 25% retained< 30%30–50%50–70%> 70%
Video 75% retained< 5%5–10%10–20%> 20%
Landing page bounce> 80%60–80%40–60%< 40%

Every evaluated ad gets one of four verdicts: keep, optimize (with the specific fix — copy, creative, or targeting), pause, or create new (a gap: missing funnel stage, untested hook, unserved segment). The evaluation report carries account-level totals (active campaigns, active ads, 30-day spend, average CTR/CPC/CPL), campaign-level and ad-level performance, and those verdicts.

Output goes to workspace/ads/:

  • _evaluation-report.md — evaluation mode only.
  • _campaign-map.md — funnel structure, platform mix, variant counts. Presented for approval before production.
  • One folder per platform holding the variant files: meta/tof-variant-a.md, google/search-rsa-branded.md, linkedin/….
  • _quality-report.md — per-ad Four U's score, character-limit result, policy result, and status; the policy flags needing legal review or carrying borderline claims; and which variants to test first based on hook diversity.
  • _platform-setup.md — campaign structure per platform, audience targeting, budget allocation across platforms and stages, bid strategy, and UTM conventions.
  • _launch-brief.md, _measurement-checklist.md, and _meta-creative-testing-decision.md when their trigger conditions fire.

Escalate when

  • Any live write is requested — creating, activating, pausing, uploading, or changing a bid or budget. These go to human approval every time.
  • Budget cannot fairly test the requested batch; propose a staged subset rather than splitting spend across everything.
  • The product sits in a regulated category (health, finance, housing, employment, credit) where the loaded policy reference flags the intended claim or targeting.
  • Platform data cannot be pulled and the user wants performance conclusions anyway.
  • Existing winners would be disturbed by the proposed test and the user has not asked for a refresh.
  • A claim in the copy has no substantiation and the platform requires proof.

Veelgestelde vragen

Wat doet de AI-skill Kai Ad Campaign?

Plan, evalueer en maak betaalde advertentiecampagnes op verschillende platforms (Meta, Google, LinkedIn, TikTok, Microsoft, Pinterest, Snapchat, Amazon, X). Evalueer bestaande advertenties, breng de fasen van de funnel in kaart (TOF/MOF/BOF), maak per platform advertentievarianten die aan de beleidsregels voldoen en lever teksten die direct kunnen worden geüpload. Gebruik deze skill bij "ad campaign", "create ads", "run ads for", "paid campaign", "media plan", "launch ads", "Meta campaign", "Google Ads campaign", "multi-platform ads", "evaluate my ads", "how are my ads doing", "audit my ads...

Waarom Kai Ad Campaign gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Kai Ad Campaign bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Kai Ad Campaign in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-ad-campaign. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Kai Ad Campaign gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Kai Ad Campaign gebruiken?

Zoveel als je wilt. Je kunt Kai Ad Campaign gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Kai Ad Campaign gratis?

Deze skill is door cgallic op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇