Kai Ad Campaign 标志

Kai Ad Campaign

社区
cgallic
kai-ad-campaign

规划、评估并制作覆盖多个平台(Meta、Google、LinkedIn、TikTok、Microsoft、Pinterest、Snapchat、Amazon、X)的付费广告活动。评估现有广告、划分漏斗阶段(TOF/MOF/BOF)、按平台制作符合政策要求的广告变体,并输出可直接上传的文案。用户提到「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」,或提出评估现有广告或制作新广告的任何需求时使用。

Add to TypingMind

概览

发布者cgallic
代码仓库kai-cmo-harness
技能名称kai-ad-campaign
星标数
61
复刻数
8
附带文件
仅含指令
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 cgallic 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Kai Ad Campaign AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-ad-campaign
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Kai Ad Campaign,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Kai Ad Campaign。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Kai Ad Campaign 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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.

常见问题

Kai Ad Campaign AI 技能有什么作用?

规划、评估并制作覆盖多个平台(Meta、Google、LinkedIn、TikTok、Microsoft、Pinterest、Snapchat、Amazon、X)的付费广告活动。评估现有广告、划分漏斗阶段(TOF/MOF/BOF)、按平台制作符合政策要求的广告变体,并输出可直接上传的文案。用户提到「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」,或提出评估现有广告或制作新广告的任何需求时使用。

为什么在 TypingMind 中使用 Kai Ad Campaign?

因为您只需安装一次,就能搭配任何模型使用。Kai Ad Campaign 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Kai Ad Campaign?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-ad-campaign。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Kai Ad Campaign?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Kai Ad Campaign 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Kai Ad Campaign 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Kai Ad Campaign AI 技能免费吗?

cgallic 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇