{"slug": "we-pointed-our-open-source-ai-cmo-at-our-own-site-first-the-architecture-behind", "title": "We Pointed Our Open-Source AI CMO at Our Own Site First: The Architecture Behind BeatCMO", "summary": "A developer released BeatCMO v1.0.0, an open-source, MIT-licensed \"AI CMO\" packaged as 30 Agent Skills that runs in Claude Code, Codex, Cursor and Gemini CLI. The system routes requests through a fixed goal map and enforces an evidence layer: every claim is written to an evidence.json ledger backed by raw API responses, and three gate scripts must exit 0 before a report is delivered, checking for internal leakage, keyword-to-raw-data matches and source citations. The developer says the design targets marketing agents that invent search volumes and competitor prices when no evidence layer forces them to stop.", "body_md": "You run a developer tool. You open Claude Code, Codex, Cursor, or Gemini CLI and ask: \"Audit our site and tell me what to fix for growth.\"\n\nThe answer comes back fast and sounds confident. Keyword volumes. A competitor's pricing. A list of \"quick wins.\"\n\nThen you try to check one of those numbers, and you can't find where it came from.\n\nNothing in the output is obviously wrong. That's the problem.\n\nA search volume with no source. A competitor price that might be last year's. A recommendation that sounds like it could apply to any site.\n\nYou can't take that plan to a meeting, because the first question will be \"where does this number come from?\"\n\nIt's tempting to blame the model and try a bigger one. But the issue is structural.\n\nMost marketing prompts give the agent instructions and no evidence layer. The agent is asked to produce conclusions, and nothing in the workflow forces it to keep the raw data behind each claim, or to stop when a claim has no source.\n\nSo it fills the gaps. Any model would.\n\nA plan built on invented numbers doesn't fail loudly. It fails slowly.\n\nYou write pages for keywords nobody searches. You position against a competitor price that changed. You spend a sprint on \"quick wins\" that were never measured.\n\nThe cost is weeks of engineering and content time pointed at the wrong target.\n\nBeatCMO is an open-source, evidence-first, multimodal AI CMO packaged as Agent Skills. It runs in Claude Code, Codex, Cursor, Gemini CLI, and any Agent Skills host. v1.0.0 shipped on November 27, 2026, under the MIT license.\n\n```\nnpx skills add BeatAPI/BeatCMO\n```\n\nThe rest of this post is about how it's put together, and what happened when we ran it on our own website first.\n\nThe package contains 30 skills: one control plane, `/start-here`, plus 29 specialist skills.\n\nThe specialists are arranged in a closed loop:\n\n```\nSEE (4)  →  BET (4)  →  SHIP (19)  →  LEARN (2)\n```\n\n`growth-diagnosis`, `site-audit`, `competitive-intel`, `audience-research`.` positioning-angles` and `launch-stress-test`.` content-decay-and-links` and `performance-review`.\n`/start-here` onboards a business, keeps a shared strategy base under `./brand/`, and routes requests.\n\nRouting doesn't depend on the model guessing which skill to call next. `route.py` maps requests to 9 fixed goals:\n\n```\ndiagnose · unsure · traffic · leads · convert · saas-cro · authority · launch · retain\n```\n\nEvery goal plan attaches a `bet_tracking` retest contract and closes with `/performance-review`. That skill is the only writer to `./brand/learnings.md`, so learnings come from verified results rather than from whichever skill ran last.\n\n`/start-here` initializes five shared documents: `product-information.md`, `marketing-strategy.md`, `competitor-analysis.md`, `brand-voice.md`, and `content-strategy.md`.\n\n`brand_context.py --refresh` flags documents older than 30 days and compares SHA-256 fingerprints of your live homepage and pricing page. If the site changed, downstream skills know their context may be stale.\n\nThis is the part that addresses the cause above.\n\n`/growth-diagnosis` writes everything into a case folder:\n\n```\nraw/              raw API responses and fetched pages; raw/_calls.jsonl logs every call\nevidence.json     claim-to-source ledger\nrender-data.json  structured report payload\n<company>.html    standalone EN/ZH report\ncase-log.md       internal log, including gate exit codes\n```\n\nBefore the report is delivered, three scripts must all exit `0`:\n\n```\npython3 check_client_html.py <case>/<id>.html\npython3 check_keywords.py <case>\npython3 check_evidence.py <case>\n```\n\n`check_client_html.py` blocks internal leakage in the client-facing HTML: tool and vendor names, internal endpoints, serialization artifacts like `undefined` or `NaN`.` check_keywords.py` requires every target keyword to have its own raw search file, to appear verbatim in the report, and to match the search volume in the raw data.`check_evidence.py` checks that every source cited in `evidence.json` exists, that every number in an entry appears in its cited file, and that numeric metrics in the report are registered in the ledger.\nIf a number has no source, the gate fails, and the report doesn't ship.\n\nBeatCMO drafts and stages. It doesn't publish, spend, or merge.\n\n`./campaigns/` with `status: draft`. Nothing is posted or sent without explicit approval.` PAUSED` and verified before the ads they replace are paused. Deleting old ads requires `--delete-old`. Nothing is switched to `ACTIVE`; a human does that.` fix/beatcmo-*` branch or a `.patch` file. No pushes to `main`, no force-pushes, no automatic merges.`./brands/<slug>/` from mixing.\nEverything runs through one `BEATAPI_API_KEY`: web search, page reading, live SEO data, social data across 20+ platforms, and 32 creative capabilities (29 models plus 3 workflows).\n\nWithout a key, there's a zero-key baseline: the agent's built-in web search and fetch, free autocomplete mining, a local crawler, and prompt-only mode for creative work. You can try the workflow before you sign up for anything.\n\nOne more detail. `/launch-stress-test` uses `model:jev-1.14` to run a buyer panel. Those buyers are simulated. The repo labels the output as a simulated buyer-panel signal, and so do we: it's a pressure test before spending, not real users and not real conversions.\n\nBefore releasing it, we ran `/growth-diagnosis` against our own website.\n\nThe report passed all three gates. It also found two real indexing problems:\n\n`/model?category=video` carried hreflang annotations that weren't reciprocal. The fix removed hreflang from those filtered URLs, with canonical still pointing to `/model`.`/models`.\nBoth fixes went into PR #173 on our website repo, merged on November 27, 2026.\n\nNeither problem was dramatic. That's the point. These are the issues that sit quietly in a site for months, and an agent without an evidence trail would have had no reason to find them, or a way to prove they were there.\n\n```\nnpx skills add BeatAPI/BeatCMO\n```\n\nClaude Code users can also install it as a plugin:\n\n```\n/plugin marketplace add BeatAPI/BeatCMO\n/plugin install beatcmo@BeatCMO\n```\n\nThen start with one of these:\n\n```\n/growth-diagnosis https://your-site.com\n/start-here https://your-site.com\n```\n\nOpen the `raw/` folder and `evidence.json` next to the report. If a claim in the report can't be traced to a file, the gates are supposed to catch it. If they don't, that's a bug, and we'd like to hear about it.\n\n[https://github.com/BeatAPI/BeatCMO](https://github.com/BeatAPI/BeatCMO)\n\n*Written by the BeatAPI team with AI assistance.*", "url": "https://wpnews.pro/news/we-pointed-our-open-source-ai-cmo-at-our-own-site-first-the-architecture-behind", "canonical_source": "https://dev.to/beatapi_io/we-pointed-our-open-source-ai-cmo-at-our-own-site-first-the-architecture-behind-beatcmo-5015", "published_at": "2026-11-30 05:36:55+00:00", "updated_at": "2026-11-30 05:45:49.115126+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "generative-engine-optimization", "agent-protocols"], "entities": ["BeatCMO", "BeatAPI", "Claude Code", "Codex", "Cursor", "Gemini CLI"], "also_reported_by": [], "takeaway": "BeatCMO gates report delivery on three scripts exiting 0 — check_client_html.py, check_keywords.py and check_evidence.py — so every keyword must match its raw search file and every cited source must resolve in evidence.json before output ships.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/we-pointed-our-open-source-ai-cmo-at-our-own-site-first-the-architecture-behind", "markdown": "https://wpnews.pro/news/we-pointed-our-open-source-ai-cmo-at-our-own-site-first-the-architecture-behind.md", "text": "https://wpnews.pro/news/we-pointed-our-open-source-ai-cmo-at-our-own-site-first-the-architecture-behind.txt", "jsonld": "https://wpnews.pro/news/we-pointed-our-open-source-ai-cmo-at-our-own-site-first-the-architecture-behind.jsonld"}}