full-funnel-ai-analytics: Command for Claude Code

.claude/commands/marketing.md

marketing is a command for Claude Code from eduardocornelsen/full-funnel-ai-analytics. It costs 0 tokens per session (639 once invoked), scanned A, original, MIT.

A command for creating a marketing performance dashboard that combines advertising, website, and sales-pipeline data.

In plain words
What is it for?
Use it to show campaign spending, website visits, conversions, return on ad spend, channel results, and customer-management pipeline metrics in a React dashboard.
Why use it?
It keeps figures tied to the approved data file, uses consistent 90-day and lifetime scopes, and labels how conversion and return figures were measured.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is eduardocornelsen/full-funnel-ai-analytics's own configuration. It tells Claude Code how to work on full-funnel-ai-analytics itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything full-funnel-ai-analytics configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eduardocornelsen/full-funnel-ai-analytics. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/eduardocornelsen/full-funnel-ai-analytics/main/.claude/commands/marketing.md
Clone the repo
git clone --depth 1 https://github.com/eduardocornelsen/full-funnel-ai-analytics

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for marketing

README.md
[![agentmods](https://agentmods.dev/badge/commands/eduardocornelsen/full-funnel-ai-analytics/marketing/github.svg)](https://agentmods.dev/commands/eduardocornelsen/full-funnel-ai-analytics/marketing)
Your own site
<a href="https://agentmods.dev/commands/eduardocornelsen/full-funnel-ai-analytics/marketing"><img src="https://agentmods.dev/badge/commands/eduardocornelsen/full-funnel-ai-analytics/marketing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for marketing

Your own site · 80×15
<a href="https://agentmods.dev/commands/eduardocornelsen/full-funnel-ai-analytics/marketing"><img src="https://agentmods.dev/badge/commands/eduardocornelsen/full-funnel-ai-analytics/marketing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 639 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00639
Opus 5 $0.00000 $0.00319
Sonnet 5 $0.00000 $0.00128
Haiku 4.5 $0.00000 $0.00064

Measured 11d ago against content hash 3846acbdd9cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

marketing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/marketing.md · 30 lines

How it starts

The opening of the file, as written. The whole thing — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data sourcing (mandatory)

Read dashboards/golden_metrics.json and copy exact values — never recalculate (CLAUDE.md §14).

  • Spend, sessions, conversions, blended_roas, channel_performance, campaigns: use the windowed_90d section only.
  • Pipeline / CRM KPI cards: use all_time.crm and label them CRM all-time — never place CRM counts inside the funnel (§5).
  • Label every ROAS/CVR with its scope (§2): Blended ROAS → Linear attribution · 90d; CVR → Session CVR.
  • Freshness badge in the header: _meta.window_start_meta.window_end · Data as of _meta.generated_at.

Live MCP variant — only if the user appends -mcp or asks for "live" / "real-time" / "raw platform" data: query the google-ads, meta-ads, ga4, hubspot, salesforce MCP servers instead, passing dates from _meta.window_start / _meta.window_end, add the badge ⚡ Live MCP — may differ from golden layer, and use dashboards/js/metrics.js canonical formulas for any computed metric.

Artifact

Synthesize a complete marketing executive dashboard as a React artifact using Recharts.

Design:

  • Dark theme: background #0d0d1a, cards #1a1a2e, borders #2a2a4a
  • Coral #f87171, Blue #60a5fa, Amber #fbbf24, Green #34d399, Purple #a78bfa
  • Mobile-responsive, breakpoint at 640px

Include these 7 sections:

  1. KPI Cards row — Total Spend, Total Revenue, Blended ROAS, Total Sessions, Pipeline Value, Leads Generated
  2. Spend vs Revenue — line chart by week across all paid channels
  3. Channel Attribution — pie/donut chart: Google Ads, Meta Ads, Organic, Email, Direct
  4. Sales Funnel — vertical funnel: Sessions → Leads → Opportunities → Closed Won with conversion rates between stages
  5. Campaign Performance table — top 10 campaigns by ROAS (name, spend, revenue, ROAS, trend)
  6. Pipeline by Stage — horizontal bar chart from HubSpot + Salesforce combined
  7. AI Insights panel — a dark card at the bottom with a "✦ AI Insights" header containing 4–5 bullet points synthesized across ALL data sources. Each bullet must be specific, quantified, and actionable. Cover: (a) the single best budget reallocation opportunity with estimated revenue impact, (b) the most underinvested channel relative to its efficiency, (c) a pipeline health observation (velocity, coverage ratio, or stage bottleneck), (d) a funnel drop-off worth investigating, (e) one anomaly or trend that warrants attention. Write in plain English as if briefing a CMO.

Read the full file on GitHub · 30 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 30 lines · 0 tokens per session scan A 3846acbdd9cf

Subscribe to this mod's changes

marketing is a command published in the GitHub repository eduardocornelsen/full-funnel-ai-analytics (21 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 639 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.