/kai:kai-writefrom Kai Marketing OS
Writes single marketing content pieces (blog posts, LinkedIn articles, emails, cold outreach, press releases, ad copy, TikTok scripts) using the Kai marketing harness frameworks, skill contracts, and quality gates.
Ships in Kai Marketing OS. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Kai root note:
knowledge/,harness/, andscripts/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 aknowledge/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 referencedscripts/command is not available in this install, say so, skip it, and continue with the file-based guidance — never fabricate its output.
Write one piece of content using the marketing harness. Loads the right framework, applies quality gates, outputs ready-to-publish copy.
Check if MARKETING.md exists in the project root (same directory as CLAUDE.md, README.md, package.json).
If it exists: Read it — skip product discovery questions. It has the product name, ICP, value prop, monetization, brand voice, current channels, and competitive landscape.
If it does NOT exist: Auto-explore the codebase to create it in the project root (next to CLAUDE.md). Do NOT ask the user what the product is. Read CLAUDE.md, README.md, PROJECT.md, package.json, landing pages, and any project files. Search for email/ad/analytics config. Then create MARKETING.md using the template from /kai-email-system. Present draft to user for confirmation.
Determine the content format from the user's request, then load the corresponding files from the harness (paths relative to the project root):
| Format | Framework | Contract | Checklist |
|---|---|---|---|
| Blog post | knowledge/frameworks/content-copywriting/algorithmic-authorship.md | harness/skill-contracts/blog-post.yaml | knowledge/checklists/content-checklist.md |
knowledge/channels/linkedin-articles.md | harness/skill-contracts/linkedin-article.yaml | — | |
| Email (lifecycle) | knowledge/channels/email-lifecycle.md | harness/skill-contracts/email-lifecycle.yaml | — |
| Email (cold) | knowledge/channels/email-lifecycle.md + harness/references/cold-email-rules.md | harness/skill-contracts/cold-email.yaml | — |
| Meta ads | knowledge/channels/meta-advertising.md + harness/references/meta-ads-rules.md | harness/skill-contracts/meta-ads.yaml | knowledge/checklists/meta-advertising-checklist.md |
| Google ads | knowledge/channels/paid-acquisition.md + harness/references/google-ads-policy-reference.md | harness/skill-contracts/google-ads.yaml | knowledge/checklists/paid-acquisition-checklist.md |
| Press release | knowledge/channels/press-releases.md | — | knowledge/checklists/pr-checklist.md |
| TikTok | knowledge/channels/tiktok-algorithm.md | — | knowledge/checklists/tiktok-checklist.md |
| SEO content | knowledge/frameworks/content-copywriting/algorithmic-authorship.md + knowledge/frameworks/aeo-ai-search/aeo-ai-search-playbook-2026.md | harness/skill-contracts/blog-post.yaml | knowledge/checklists/seo-checklist.md |
Read the framework file(s) and skill contract before writing. Do not guess at rules — load them.
If the user hasn't provided a brief, create one using harness/brief-schema.md. At minimum, confirm:
knowledge/personas/_persona-index.md?For ad copy, also confirm the platform so the right policy reference gets loaded.
Apply the framework rules. Key universal rules:
For SEO content, also apply Algorithmic Authorship rules:
Score and validate before delivering:
Four U's — Unique, Useful, Ultra-specific, Urgent (each 1-4). Min 12/16 for blog/SEO, 10/16 for email/ads.
Banned words — zero Tier 1 violations
AI slop — zero instances
Voice patterns (programmatic — DO NOT skip) — grep the draft with the Grep tool for these regexes. Any hit fails the gate.
, not [a-z] (catches "X, not Y")— not [a-z] (catches "X — not Y")\bisn'?t [a-z][^.\n]+ — it'?s\b (catches "isn't X — it's Y")\bIt'?s (a\|the\|an) [^.\n]+, not (a\|the\|an)\b (catches "It's a X, not a Y")\bIf you [a-z][^,.]+, [a-z] (catches "If you X, Y")\bHere'?s the thing\b / \bLet that sink in\b / \bHot take\b / \bI'?ll be honest\b (LinkedIn slop)Skip matches inside HTML comments and code fences. Replacements: collapse to a single load-bearing claim, or use parallel-positive contrast where both halves are affirmative.
Format-specific gates — from the skill contract (subject line length, word count, CTA count, etc.).
Hook integration: if the project has .claude/hooks/voice-gate.py, the hook fires PostToolUse on Edit/Write and catches voice violations at draft time. The gate step still runs the regexes — belt and suspenders.
If the piece fails, fix the specific issues and re-score. Max 2 retries. After 2 failures, deliver with failures noted.
Output the content with quality gate scores visible. Save to workspace/ if requested.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
marketing-content, copywriting, content-creation, blog-posts, email-copy, ad-copy
npx claudepluginhub cgallic/kai-cmo-harness --plugin kai64 skills in this plugin
/design-taste-frontendAnti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check./kaiKai Marketing OS router - shows all 49 marketing skills organized by workflow, business stage, and frequency. Use when "kai help", "what marketing skills are available", "how do I use the harness", "marketing help", or any general marketing question where the right skill isn't obvious./kai-abmPlan and execute account-based marketing campaigns for enterprise targets — account selection, personalized outreach, multi-channel touch sequences, and deal acceleration. Use when "ABM", "account-based marketing", "enterprise marketing", "target accounts", "named accounts", "enterprise outreach", "key accounts", or any request to build personalized campaigns for specific companies./kai-ad-campaignPlan, evaluate, and produce paid ad campaigns across platforms (Meta, Google, LinkedIn, TikTok, Microsoft, Pinterest, Snapchat, Amazon, X). Evaluate existing ads, map funnel stages (TOF/MOF/BOF), produce ad variants per platform with policy compliance, output ready-to-upload copy. Use when "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", or any request to evaluate existing or create new advertising./kai-ad-library-scanFind which ad patterns keep getting paid for in a category. Scans the Meta Ad Library (Apify or ScrapeCreators, under a spend cap), computes days running in code, has Jev tag each ad's hook, offer, angle, proof and format, drops off-category ads, measures advertiser-weighted 60+ day survival per tag, then scores LLM-written briefs against the surviving patterns and the brand file. Read-only. Use when "ad library", "competitor ads", "what ads are working in my category", "long-running ads", "winning ad patterns", "swipe file", "which hooks work", "score these ad briefs", or before writing a paid creative bench./kai-analyticsAnalytics and attribution setup — tracking plan, UTM conventions, dashboard design, and attribution model selection. Use when "analytics setup", "attribution", "tracking plan", "UTM", "marketing analytics", "dashboard setup", "measurement strategy", "how do I track", "which metrics", or any request to set up or improve marketing measurement and attribution.Other plugins' skills for the same job