Open-Source Marketing Harness For Claude Code And Codex
An open-source marketing harness that turns a product repo into a marketing workspace. It gives Claude Code or Codex a marketing team, a source-aware brief, channel playbooks, policy references, quality gates, approval rules, and memory so the next run starts smarter.
Use it when you want an AI operator to create growth plans, landing pages, emails, ads, SEO/AEO work, audits, content calendars, SDR handoff, or repurposed assets from the same files your product team already uses.
The only requirement is Claude Code (or Cursor/Codex) already running. No SaaS account, no API keys, no config files. If your terminal can run /kai-start, you have the whole system.
Built by Connor Gallic — follow on LinkedIn for more agentic marketing systems.
Want this run for your business, with a person behind it? Talk To Gina runs it as a service: talktogina.ai. Email us for an audit if you'd rather see the gaps than go find them.
Try It In 60 Seconds, No API Key
Inside Claude Code:
/plugin marketplace add cgallic/kai-cmo-harness
/plugin install kai@kai-marketing-os
/kai:kai-gate <paste or point at any draft — a landing page, an email, your README>
The gate scores the draft against the Four U's rubric, the banned-word tiers, and platform rules, then returns a scorecard with a pass/fail verdict and specific fixes. Your OAuth session does the judging — nothing leaves your machine, nothing to sign up for.
What The Output Looks Like
Every piece the harness writes must pass the gate before it ships. This is the actual scorecard format, from demo/examples/saas-blog-post/:
Four U's Score: 13/16
| Dimension | Score | Reasoning |
|---|
| Unique | 4/4 | Stage-matched framework (pre-revenue / post-PMF / scaling) not found in any top-10 result. Survey data and switching cost table are original angles. |
| Useful | 3/4 | 30-minute CRM evaluation checklist is immediately actionable. Deducted 1 point: no downloadable comparison template. |
| Ultra-Specific | 3/4 | 23 hours migration time, 73% abandon rate, $14,000 switching cost. Deducted 1 point: some claims cite vendor-published data. |
| Urgent | 3/4 | Switching-tax framing creates cost-of-inaction pressure. Deducted 1 point: no seasonal urgency hook. |
Total: 13/16 — Passes threshold (minimum 12).
Banned Words Check: PASS · SEO Compliance: PASS (1 warning)
Three complete worked examples — brief, draft, and scorecard — live in demo/examples/: a SaaS blog post, a law-firm landing page, and an e-commerce product page.
What You Get
- 49 public
/kai commands for strategy, distribution, content, ads, SEO, CRO, lifecycle, SDR, launches, and analytics.
- 54
kai-* skills with triggers, inputs, outputs, gates, provenance, and failure modes.
- A real knowledge base: 67 playbooks, 37 checklists, 38 frameworks, 31 channel guides, 8 personas, platform policy references, and 33 skill contracts.
- Guardrails built in: Four U's scoring, banned-word checks, SEO lint, policy references, provenance lint, privacy scanning, and mutation-risk lint.
- Local-first by default: use it inside Claude Code from your repo before wiring live channels.
- Approval-led automation: dry-run first, review the artifact, then approve external actions.
- Goals, not just tasks:
/kai-goal takes a business outcome, decomposes it into work items, and keeps going across sessions until a gate says the floor was met.
done Is Not A Verdict
Most agent harnesses call work finished when a file exists. This harness splits that into three claims and lets a gate — not the agent that did the work — decide:
- E — Execution. Did the effect happen at the real target? A draft on disk is E1. A live URL that returns 200 with the approved body is E5.
- C — Craft. Does it clear the gates, the platform policy, and the provenance rule, plus a read by someone who didn't write it?
- O — Outcome. Did the number move, measured against a threshold declared before ship?
Two verdicts: SHIPPED (E and C met, outcome still owed) and CLOSED (all three). The rule that makes it work: the actor may submit evidence, the actor may not issue its own verdict. Evidence whose verifier is the producer gets discarded, and a baseline written after ship is rejected outright.
python -m scripts.quality_gates.eco_gate floors # the floor for each kind of work
python -m scripts.quality_gates.eco_gate debt # what shipped but never got measured
Full standard: docs/system/eco-completion-standard.md · Marketing floors: harness/references/eco-marketing-floors.md