Logo Kai Ad Campaign

Kai Ad Campaign

Cộng đồng
cgallic
kai-ad-campaign

Lập kế hoạch, đánh giá và tạo chiến dịch quảng cáo trả phí trên nhiều nền tảng (Meta, Google, LinkedIn, TikTok, Microsoft, Pinterest, Snapchat, Amazon, X). Đánh giá quảng cáo hiện có, xác định các giai đoạn phễu (TOF/MOF/BOF), tạo nhiều phiên bản quảng cáo phù hợp với từng nền tảng và tuân thủ chính sách, cung cấp nội dung sẵn sàng tải lên. Dùng khi người dùng nhắc đến "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" hoặc yêu cầu đánh giá quảng cáo hiện có hay tạo quảng cáo mới.

Add to TypingMind

Tổng quan

Nhà phát hànhcgallic
Kho mãkai-cmo-harness
Tên kỹ năngkai-ad-campaign
Sao
61
Bản fork
8
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được cgallic công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Kai Ad Campaign trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-ad-campaign
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Kai Ad Campaign trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Kai Ad Campaign ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Kai Ad Campaign với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Kai Ad Campaign làm được gì?

Lập kế hoạch, đánh giá và tạo chiến dịch quảng cáo trả phí trên nhiều nền tảng (Meta, Google, LinkedIn, TikTok, Microsoft, Pinterest, Snapchat, Amazon, X). Đánh giá quảng cáo hiện có, xác định các giai đoạn phễu (TOF/MOF/BOF), tạo nhiều phiên bản quảng cáo phù hợp với từng nền tảng và tuân thủ chính sách, cung cấp nội dung sẵn sàng tải lên. Dùng khi người dùng nhắc đến "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...

Vì sao nên dùng Kai Ad Campaign trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Kai Ad Campaign là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Kai Ad Campaign trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/cgallic/kai-cmo-harness/tree/main/harness/skills-v2/kai-ad-campaign. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Kai Ad Campaign?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Kai Ad Campaign với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Kai Ad Campaign với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Kai Ad Campaign có miễn phí không?

Kỹ năng này được cgallic phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇