/beatcmo:growth-diagnosis [company URL or domain] [--lang en|zh]from beatcmo
Turns a public company URL into an evidence-backed HTML growth diagnosis covering product, buyers, pricing, search/AI visibility, and social distribution via BeatAPI. Outputs a client-ready report in English or Chinese.
Ships in beatcmo. 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.
Read when SKILL.md points to them; scripts run unread.
Turn a single public URL into an executive, evidence-backed standalone HTML growth
diagnosis (English by default; Chinese when --lang zh or requested in Chinese) that any
founder or growth lead can read in 10 minutes — and automatically feed the verified facts
into ./brand/ so every downstream BeatCMO skill can act on the findings immediately.
Core pipeline: URL → business & Central Entity → Search & AI visibility → Social &
founder/third-party distribution → 3-role competitor teardown → 1–3 prioritized bets +
deferrals → standalone HTML → 3 automated gates → 3-role review → optional ./brand/ sync.
Client-report boundary (hard): Research runs on BeatAPI, and all raw calls, costs,
and logs live in raw/_calls.jsonl and case-log.md. The client HTML report NEVER
mentions API tools, vendors, per-call costs, internal workflows, or review rounds.
Only if ./brand/, ./brands/ or MARKETING.md exists (nothing to load otherwise), run:
python3 ${CLAUDE_SKILL_DIR}/../start-here/scripts/brand_context.py --for growth-diagnosis
(${CLAUDE_SKILL_DIR} is this skill's folder; outside Claude Code, use the folder this SKILL.md lives in.)
(If the script or python3 is unavailable, read the files named in reads: directly. If
diagnosing an external prospect, never overwrite the active brand's ./brand/ folder;
save under ./campaigns/diagnosis-<company-id>/.)
Create ./campaigns/diagnosis-<company-id>/:
raw/ Raw API responses and fetched pages; _calls.jsonl logs every call
evidence.json Structured claim-to-source ledger (verified by check_evidence.py)
render-data.json Structured report payload (input to render_html.py)
<company-id>.html Standalone client-facing HTML report (offline-readable)
case-log.md Internal log: date, target market, sample scope, spend, gate exit codes, review rounds
/sitemap.xml, /robots.txt, and /llms.txt:
robots.txt allows major search and AI
crawlers (GPTBot, OAI-SearchBot, PerplexityBot, ClaudeBot, Claude-SearchBot, CCBot), whether initial no-JS
HTML exposes core copy, pricing, and Organization + SoftwareApplication JSON-LD (sameAs), whether /sitemap.xml is valid, and whether /llms.txt (if present) returns
clean plain text rather than an SPA HTML shell.Central Entity);Channel | Observed Role | Evidence), distinguishing
primary traffic drivers from emerging experiments;business.access).Load references/research-map.md and references/beatapi.md before querying.
${CLAUDE_SKILL_DIR}/scripts/beatapi_call.py so every
response lands in raw/ and logs to raw/_calls.jsonl with daily idempotency keys.has_data: false, empty results, or a
block, record "Unknown (reason)" — never turn missing data into zero.BEATAPI_API_KEY is unset, run from built-in web search/fetch,
label estimates clearly in limits, and note that live SEO/social data was unavailable.Order: site traffic geography/language → target-market brand & 3 core commercial demand clusters (category, alternatives/comparisons, task/template queries) → sitemap & landing page audit → backlinks & technical blockers only where they change the decision.
Load references/methodology.md to avoid common misreads (low keyword coverage != zero
traffic; sitemap count != indexed pages; total visits != search visits).
Mandatory checks:
/sitemap.xml into three buckets: (1) core Central Entity pages (use-case,
solution, comparison pages), (2) Central-Entity-aligned free tools / calculators /
templates (high-intent utility moat less vulnerable to AI Overview click loss), and
(3) off-core generic traffic pages (unrelated model/utility pages that dilute
topical authority)."best <category> for <ICP>"), comparison ("<company> vs <peer>", "<peer> alternatives"),
and pricing/capability questions. Keep search-retrieval visibility strictly distinct from
observed AI-answer citations: web-search snapshots (data:web.search) yield SEARCH_VISIBLE /
CANDIDATE / ABSENT; only label CITED or MENTIONED when directly observed in an AI
engine's generated answer, and flag any AI Misrepresentation (stale pricing, deprecated
free-tier caps, or wrong feature/compliance claims circulating in cited third-party pages).raw/web_search_<slug>.json and
preserve exact target-market query strings in visible tables (never replace foreign
keywords with paraphrased translations alone).Order: confirm official handles from site links → confirm founder / lead creator
accounts (only attribute when linked from official pages or verified coverage) → sample
last 30–60 days of main-channel posts (normalize X posts via
${CLAUDE_SKILL_DIR}/scripts/normalize_x_posts.py and aggregate via social_metrics.py,
keeping originals separate from replies/reposts/threads) → search third-party mentions
(company name, product name, domain on X, Reddit, YouTube) → trace 1–2 representative
posts all the way to their landing page to test conversion continuity.
Also check:
/docs, OpenAPI, MCP, or CLI availability; (2) plain-text readable pricing and free
tier; (3) frictionless self-serve signup → key → first successful call.Select 2–3 benchmarks explicitly labeled by role:
For each competitor, state: What We Observed → Playbook → Takeaway for <Company> (tied
to concrete pages/formats) → Where It Does Not Apply (scale, stage, market). Never invent
competitor growth attribution when outcomes are unverified.
Deliver 1 to 3 ordered priorities (never a 20-item laundry list), each specifying:
14d / 30d): exact 2–3 checks and target thresholds to re-verify in /performance-review and /ai-search after fixes ship;For younger or lower-authority domains, prioritize bottom-of-funnel decision capture
(specific workflow pages, X vs Y comparisons, transparent pricing/benchmarks, and
third-party validation) over broad head-term blogs.
Load references/report-template.md and references/html-output.md, write
render-data.json (set "lang": "en" by default or "zh" when diagnosing in Chinese;
set "brand" from ./brand/brand.yaml or "BeatCMO"), then run:
python3 ${CLAUDE_SKILL_DIR}/scripts/render_html.py <case>/render-data.json --out-dir <case>
python3 ${CLAUDE_SKILL_DIR}/scripts/check_client_html.py <case>/<id>.html
python3 ${CLAUDE_SKILL_DIR}/scripts/check_keywords.py <case>
python3 ${CLAUDE_SKILL_DIR}/scripts/check_evidence.py <case>
(When diagnosing BeatAPI itself, check_client_html.py auto-detects the subject brand from <h1>/<title> — or pass --subject-brand BeatAPI — allowing product name mentions while still blocking internal gateway endpoints and vendor disclosures.)
All three checks MUST exit 0 before review. Record exact exit codes and outputs in
case-log.md.
Load references/review-and-logging.md. Review the actual rendered HTML from three
independent lenses:
Revise and re-check any failing lens until clean.
Sync back to BeatCMO (./brand/ & Local Engineering Handoff):
./brand/brand.yaml (source_refreshed_at + source_fingerprint), the 5-doc shared strategy base (product-information.md, marketing-strategy.md, competitor-analysis.md, content-strategy.md), positioning.md, competitors.md, and keyword-plan.md, and append the HTML path to ./brand/assets.md.llms.txt, robots.txt AI crawler rules, Organization + SoftwareApplication JSON-LD, <meta>/canonical fixes, or a starter /vs/ table) on a local git branch (fix/beatcmo-growth-<date>) or as Unified Diff patches in <case>/patches/ — never push to main or merge automatically; human reviews diff and merges.## GROWTH DIAGNOSIS: <Company> + date and target market**Files saved:** <case>/<id>.html (new), evidence.json, render-data.json, case-log.md**What's next:**
/comparison-pages, /seo-content, or /lead-magnet: ship the highest-leverage comparison, search, or free-tool asset from Priority #1/landing-page, /pricing-strategy, or /plg-activation-and-paywall: fix conversion, pricing, and activation gaps surfaced in the diagnosis/creative or /social-content: execute the social distribution gaps with BeatAPI media models/performance-review: verify the 30-day Retest Contract once Priority #1 shipsLICENSE (opens in a new tab)assets/report.js (opens in a new tab)assets/styles.css (opens in a new tab)references/beatapi.md (opens in a new tab)references/html-output.md (opens in a new tab)references/methodology.md (opens in a new tab)references/report-template.md (opens in a new tab)references/research-map.md (opens in a new tab)references/review-and-logging.md (opens in a new tab)scripts/beatapi_call.py (opens in a new tab)scripts/check_client_html.py (opens in a new tab)scripts/check_evidence.py (opens in a new tab)scripts/check_keywords.py (opens in a new tab)scripts/normalize_x_posts.py (opens in a new tab)scripts/render_html.py (opens in a new tab)scripts/social_metrics.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
growth diagnosis, diagnose this company, diagnose this site, company growth audit, client growth report, HTML growth report, prospect diagnosis, full growth teardown, 增长诊断, 出海增长诊断
30 skills in this plugin
/ai-searchAudits whether ChatGPT, Perplexity, Gemini, and Google AI Overviews cite and accurately describe a SaaS, AI product, developer tool, or online brand across 10-20 buyer-intent prompts — checks AI readiness (/llms.txt, robots.txt AI crawlers, JSON-LD entity graph) and AI misrepresentation (stale pricing or wrong limits), ships high-leverage GEO fixes and local repo patches, and monitors citation movement over time./audience-researchMine where your audience actually talks (reviews, Reddit, YouTube comments, communities) and produce two brand files, audience.md (segments, awareness, jobs-to-be-done, watering holes) and voc.md (verbatim pain/desire/objection language with sources). Use it before positioning or copy work, when launching into a new market, or when copy keeps missing because nobody knows how customers actually describe the problem./npx claudepluginhub beatapi/beatcmo --plugin beatcmoOther plugins' skills for the same job