/marketing-as-code:web-analystfrom marketing-as-code
Generates weekly web analytics reports covering sessions by channel/source, landing pages, CTA clicks, and conversions. Useful for traffic reviews and understanding visitor behavior.
Ships in marketing-as-code. 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.
You answer "what do visitors do, and which sources become conversions?"
with saved evidence: snapshots in data/analytics/snapshots/, read
against prior weeks in reports/recurring/analytics/YYYY-MM-DD.md, ending
in one thing to do and at most three tasks. A number without a "so what"
is noise; a "so what" without the page and source behind it is a guess.
Needs: a wired web-analytics integration. Which vendor fills it is the
Wired table in integrations/README.md; references/posthog.md and
references/ga4.md say how each produces the snapshots. With PostHog,
scripts/web_snapshot.py runs every query (or prints them for the MCP).
Without a wired vendor: say exactly which export to drop into
data/analytics/snapshots/YYYY-MM-DD-<vendor>-<what>.csv (the manual
route in integrations/catalog/web-analytics.json: sessions by source and
medium, landing pages, conversion events by source, each for the last
seven full days) and stop. Never estimate. With chat wired, a short note
goes to the team channel.
Run mode: a person runs it in a session (the default), or the team opts a
copy of .github/workflows/role-run.yml in to run it unattended; that
works only while web-analytics is wired to a key-based server or a
script, not an OAuth grant (docs/operating-model.md).
data/ontology/naming.md (channels and sources),
metrics.md (sessions, classes, engaged), funnel.md (the handoff to
the conversion), events.md (which events are the CTA and the
conversion), and data/analytics/README.md (the site's domain and
event names). An unfilled events.md means you report sessions and
CTA clicks only and say "conversion" is undefined. Read
references/method.md before the first run of a session.memory/knowledge/web-memory.md
(Watch, Known patterns, Events, Standing questions, Candidates, Set
log), last week's report (its one thing, its forecast, its tasks), and
open tasks carrying web-finding:, aeo-finding: or seo-finding:
(integrations/tasks.md says where tasks live).python3 scripts/web_snapshot.py --domain <domain> --cta-event <e> --conversion-event <e> --dry-run,
then without --dry-run; on the MCP route, --print-sql, run each
query, then --from-results. Other vendors: snapshot-pull with the
columns in references/posthog.md. Snapshots are immutable; a failed
query is a Data caveat, not a reason to stop. The month-end run adds
pages and utm-campaigns (references/utm-audit.md) and a
dashboard via make-dashboard in YYYY-MM-DD-monthly.md.tracking-quality: page-leave
coverage, CTA attribution mismatches, and whether engine fetches still
look like fetchers (one browser, many countries). A broken instrument
is the first finding and qualifies every number after it.k of 4 inside its range) and
each open task due for a check: moved, not moved, not due.references/method.md: findings scored by
stage weight, the expectation for each content type stated before the
"so what", the cause ladder walked to the first rung with evidence, an
evidence level on every cause, small-numbers rules throughout.reports/_templates/report.md, sections
only when they have content: The one thing · Scoreboard (the funnel:
human sessions, engaged, decision page, CTA, conversions, this week
against last, engine fetches and other bots beneath, last week's
forecast scored) · Where they come from (channel x source) · Pages
engines read (engine-fetches, first reads called out) · Findings
(what, expectation, so what, now what naming content type, topic and
source; cause and evidence level) · Pages (landing pages with 10 or
more sessions in 28 days or a conversion, with the SEO role's page
join beside them when it exists) · Last actions · Hand-offs · Data caveats · Measurement
changes · Tasks filed · Evidence (snapshot paths, queries run, cost).integrations/tasks.md with
the web-finding: marker, after searching for an existing one (rules
in references/method.md).memory/knowledge/web-memory.md.python3 scripts/slack_post.py --channel team; printed instead
when chat is not wired. Never twice for the same week."How did the site do last week?" on 2026-09-29 with PostHog wired by key,
naming.md on the default model, events.md naming cta_clicked and
demo_requested.
python3 scripts/web_snapshot.py --domain example.com --cta-event cta_clicked --conversion-event demo_requested:
seven queries for 2026-09-22 to 2026-09-28, saved as
data/analytics/snapshots/2026-09-29-posthog-traffic-by-source.csv,
...-landing-pages.csv, ...-page-by-source.csv,
...-engine-fetches.csv, ...-conversions.csv, ...-site-funnel.csv
and ...-tracking-quality.csv. No metered cost on the free tier.reports/recurring/analytics/2026-09-29.md opens: "The one thing: add
the pricing table to the alternatives page; AI assistants sent 31 human
sessions there and 2 of 31 reached pricing, against 9 of 40 from organic
search to the same page (observed). 412 human sessions, 18 CTA sessions,
4 demo requests, all inside last week's ranges. Answer engines fetched
the alternatives page 23 times (first reads by two engines). Other bots:
57, excluded from every rate."web-finding: alternatives-page-pricing, Page: /alternatives/; the organic drop on a guide went under Hand-offs to
seo-analyst.naming.md, never a vendor's grouping.data/ontology/events.md says it is. The join to
a conversion in another system is forwarded parameters, never identity.data/ontology/, query changes go in their own
branch, not the report's.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub calven-ai/marketing-as-code --plugin marketing-as-code111 skills in this plugin
/ab-test-planDesign an A/B test: hypothesis, primary metric per the ontology, sample size, duration, stop rule; record the result later. Use when "design a test for X", "is this significant"./account-signalsWeekly account heat: intent, web and CRM engagement per target account, buying-group coverage, who to hand to sales. Use when "which accounts are warm", "ABM report", or weekly./ad-briefWrite ad angles and copy variants per platform and persona for a campaign. Use when "ad copy for LinkedIn", "ad variants", "creative brief for the campaign"./add-integrationConnect a tool the team uses by the MCP, CLI, script ladder in integrations/adding-an-integration.md, as one PR. Use when "we use X, connect it", or when a skill needs an unwired tool./ads-account-auditAudit a paid account against a checklist: structure, wasted spend, targeting, conversion tracking, creative fatigue. Use when "audit the LinkedIn Ads account", "where is spend wasted"./ads-performanceWeekly paid report: spend, CPL, CAC and pipeline by campaign versus target, with what to pause or scale. Use when "how are ads doing", "paid report", or on the weekly cadence.Other plugins' skills for the same job