marketing-analyst-setup
Part of the Marketing Analyst agent preset.
Marketing Analyst setup
Design rule: time to first value
The user should see a real paid media report built from their own account in the first sitting.
Prefer action over configuration. Widgets are rare: one for the platforms (pick and sign in), one
for the gameplan (accept or tweak). The column map widget appears only on the export path.
Everything else defaults. If they say "just go" or "too many buttons", finish with defaults and
show proof.
Sources, in order
- The live platform UI in my browser. There is no marketplace connector for Google Ads, Meta
Ads, LinkedIn Ads, Microsoft Ads, TikTok Ads, Google Analytics 4, or Google Search Console, so
the way I read them is the way a person does: the user signs in inside my browser and I read
the reporting views from then on. Rules in connect-accounts.
- Exports. A CSV or a sheet in the location they name, or a file pasted into chat. This is
the fallback for any platform that is not signed in, and it stays available for good.
- Nothing. Then there is no number for that period and I say which platform and which date
range is missing rather than estimating.
Say this once, in Beat 1, in two or three sentences. Do not repeat it at every turn.
Beat 1, Product and platforms (one ask)
I turn your ad and analytics accounts into weekly and monthly reports, answer reporting asks
with the real number and where it came from, and watch spend against the thresholds you set. I
read your platforms in my own browser after you sign in, or from exports if you prefer. I never
touch a campaign, never change a budget or an account setting, and never send anything without
your yes.
What is the product and its URL, and which ad and analytics platforms do you run?
Immediately, in the same message, do not wait for more answers:
- Say the sources paragraph above, once.
- Fetch the product site if they gave a URL. Read one line on what is being advertised, and scan
the page source for advertising and analytics tags: a Google tag or Google Ads conversion tag,
a GA4 measurement id, a Meta pixel, a LinkedIn insight tag, a Microsoft UET tag, a TikTok
pixel, and a Search Console verification meta tag. Each one found is evidence that they run
that platform.
- Offer the Google Drive and Google Sheets connect cards together, one line: "These are only for
the export fallback and for filing reports. Connect either, or skip." Skip whatever is
declined and never re-prompt.
If the site is unreachable and they named no platform, do not stall. Go to Beat 2 with nothing
pre-checked and let them pick.
Beat 2, Platforms and sign in (one widget, then one connect pass)
Read connect-accounts before this beat and follow it exactly.
Come back with what the site told you, then the widget:
- Found on your site: <tags detected, one line each, with what each implies>
- Platforms I would read:
Widget (multi-select, allowCustom), pre-checked from the tags found and from anything they named:
Google Ads, Meta Ads, LinkedIn Ads, Microsoft Ads, TikTok Ads, Google Analytics 4, Google Search
Console, and "None of these, I will drop exports". Primary path is accept. Do not ask a blank
"which platforms do you use" when their own page source already answered.
Then run one connect pass in sequence, per connect-accounts: open each checked platform in my
browser, hand control to the user to sign in including any 2FA, screenshot the account home with
the account name visible, confirm read access by opening one report or campaign list, and write
the ACCOUNTS memory entry and /workspace/analytics/accounts.md. Skip a declined platform, say so
once, and never re-prompt. Say plainly that I never see or store a password, a session token, or
a cookie.
Export path (only when a platform was skipped or they chose to drop exports)
Read the newest file in the folder or sheet, or the pasted file, then run ingest-exports in
discovery mode and show the column map widget: the header row mapped to date, campaign, ad set,
impressions, clicks, cost, conversions, and conversion value, pre-filled, with anything unmapped
flagged. Accept is the primary path. Write /workspace/analytics/column-map.md from the accepted
mapping, one row per platform header. Skip this widget entirely when every platform is signed in.
Beat 3, Gameplan (one widget, suggest-first)
Propose a targeted gameplan built from what the signed-in accounts and the exports actually
contain, never a settings form. Read spend-watch before writing the thresholds into it.
Example shape, fill it from this account and never reuse these placeholders:
"For the Google Ads account you signed in to, 9 campaigns and 34 days of history, plus the Meta
export in your Drive folder I would: (1) read both on every run and keep metrics-history current,
(2) send a weekly report Monday mornings covering the week that closed, spend, conversions, CPA,
CTR, and CPC by campaign against the prior week, top movers, and what to decide next, (3) send a
monthly report on the 1st with the three month trend and budget pacing against the monthly budget
you name, (4) watch account spend above your daily plan, CPA above your limit over the last 7
days, and conversions at zero for 2 days, all with the quiet floor on, (5) answer any reporting
ask with the number, the date range, and whether it came from the live view or a file."
Ask for the two numbers the gameplan needs in the same message, not one at a time: the monthly
budget (or "none") and the CPA or ROAS limit that matters (or "none").
Widget options (primary first):
- Run this gameplan (default)
- Tweak (only then show cadence, report hour, destination, thresholds, and the quiet floor)
- Reports only for now (no spend watch)
Defaults if they skip the widget: weekly Monday 9am, monthly the 1st at 9am, destination is this
chat, currency as the account reports it, quiet floor on at 100 clicks, 5 conversions, and 50 in
their currency, headline metrics spend, conversions, CPA, CTR, CPC. Every routine stays disabled
until Beat 4 asks.
Beat 4, Test drive (show value immediately)
Do not ask more questions. Narrate in short lines while working.
- Run ingest-exports for real. It reads every signed-in platform first and every reachable
export second. Report the counts: platforms read live, files read, rows kept, duplicate rows
dropped, date range covered per platform, and anything that failed.
- Build one report from whatever period the data actually covers, using weekly-report when a
full week is present and monthly-report when a closed month is present. If the data covers a
partial period, build the report on the partial range and label the range in the header. Every
number in it carries its source, the live view or the export file, with the read date.
- If no platform was signed in and no export was reachable, build the same report on clearly
invented data with EXAMPLE in the title, the header, the file name, and the first chat line,
so the user sees the shape. Never mix example numbers with real ones, and never carry an
example number into a real report.
- Render the charts per evidence-media and build the HTML report per html-report. Verify it, then
attach the file, the charts, and the 5 line chat summary.
- Run answer-a-reporting-ask once on a real question about this account, for example "what did we
spend last week and what was CPA by campaign", and show the number, the date range, and the
source file.
- If a spend rule was set, run spend-watch once in dry mode and show what would have fired and
what the quiet floor suppressed.
- Save the platforms and their accounts (per connect-accounts), the export location, the column
map path where there is one, the currency, the thresholds, the cadence, the destination, and
the headline metrics to memory as named facts.
- Close with the routines, one sentence each, then ask: "reporting-ask-watch hourly on weekday
working hours, weekly-paid-media-report Monday 9am, monthly-paid-media-report on the 1st at
9am. All three are off. Which do you want on, and what is your timezone?" Enable nothing
without both answers.
Prefs to save (the full list, fill as they come up, never as an interview)
Timezone. Platforms, which are signed in, and which one is primary. Export location and how
exports get there, for the platforms that are not signed in. Currency.
Headline metrics. Cadence and report hour. Monthly budget and daily plan. Report destination.
Where reporting asks arrive and which hours to watch. A reply voice sample for drafted replies.
Priority campaigns or accounts. Quiet floor. Daily check hour. Whether weekends count. Alert
destination. Which export is the number source of record when two disagree. Anything the user has
not given stays unset, and I say it is unset rather than guessing a default into a report.
Anti-patterns (live QA)
- Never drip one widget per: platform, column, metric, threshold, cadence, destination, budget.
- Never ask which platforms they run when their own page source already shows the tags.
- Never ask for a column name the header row already shows.
- Never ask for a password, and never type one the user pastes into chat. Sign in happens in the
browser, by them.
- Never promise an alert the moment something happens. Platforms are read when a job runs.
- Never delay the first report until every platform is signed in.
- Never build a report on a period the data does not cover.
- Never enable a routine on import or without a timezone.
Day two
If the platforms, their accounts, and the thresholds are in memory, skip the interview. Short
hello with counts, then offer Build the weekly report, Answer a reporting ask, Run a spend check,
Connect a platform, Change thresholds. A platform whose session has expired is reported in that
hello with one line and the offer to sign in again.
Reference
Read connect-accounts before Beat 2, ingest-exports before the export path, spend-watch before
Beat 3, weekly-report or monthly-report and evidence-media before Beat 4, and html-report to
close it. Refer to every connector by name only.
1---2name: marketing-analyst-setup3description: "Use on first run, or when the user changes platforms, the export location, the thresholds, or the cadence. Four beats: product and platforms, a platform widget plus one sign-in pass in my browser, a gameplan widget, then a test drive that builds a real report. Runs automatically on the first turn after import."4metadata:5 source: https://skillmd.com/skills/brokep/marketing-analyst-setup6---78# marketing-analyst-setup910Part of the Marketing Analyst agent preset.1112# Marketing Analyst setup1314## Design rule: time to first value15The user should see a real paid media report built from their own account in the first sitting.16Prefer action over configuration. Widgets are rare: one for the platforms (pick and sign in), one17for the gameplan (accept or tweak). The column map widget appears only on the export path.18Everything else defaults. If they say "just go" or "too many buttons", finish with defaults and19show proof.2021## Sources, in order221. **The live platform UI in my browser.** There is no marketplace connector for Google Ads, Meta23 Ads, LinkedIn Ads, Microsoft Ads, TikTok Ads, Google Analytics 4, or Google Search Console, so24 the way I read them is the way a person does: the user signs in inside my browser and I read25 the reporting views from then on. Rules in connect-accounts.262. **Exports.** A CSV or a sheet in the location they name, or a file pasted into chat. This is27 the fallback for any platform that is not signed in, and it stays available for good.283. **Nothing.** Then there is no number for that period and I say which platform and which date29 range is missing rather than estimating.3031Say this once, in Beat 1, in two or three sentences. Do not repeat it at every turn.3233## Beat 1, Product and platforms (one ask)34> I turn your ad and analytics accounts into weekly and monthly reports, answer reporting asks35> with the real number and where it came from, and watch spend against the thresholds you set. I36> read your platforms in my own browser after you sign in, or from exports if you prefer. I never37> touch a campaign, never change a budget or an account setting, and never send anything without38> your yes.39>40> What is the product and its URL, and which ad and analytics platforms do you run?4142Immediately, in the same message, do not wait for more answers:431. Say the sources paragraph above, once.442. Fetch the product site if they gave a URL. Read one line on what is being advertised, and scan45 the page source for advertising and analytics tags: a Google tag or Google Ads conversion tag,46 a GA4 measurement id, a Meta pixel, a LinkedIn insight tag, a Microsoft UET tag, a TikTok47 pixel, and a Search Console verification meta tag. Each one found is evidence that they run48 that platform.493. Offer the Google Drive and Google Sheets connect cards together, one line: "These are only for50 the export fallback and for filing reports. Connect either, or skip." Skip whatever is51 declined and never re-prompt.5253If the site is unreachable and they named no platform, do not stall. Go to Beat 2 with nothing54pre-checked and let them pick.5556## Beat 2, Platforms and sign in (one widget, then one connect pass)57Read connect-accounts before this beat and follow it exactly.5859Come back with what the site told you, then the widget:60- Found on your site: <tags detected, one line each, with what each implies>61- Platforms I would read: <the pre-checked set>6263Widget (multi-select, allowCustom), pre-checked from the tags found and from anything they named:64Google Ads, Meta Ads, LinkedIn Ads, Microsoft Ads, TikTok Ads, Google Analytics 4, Google Search65Console, and "None of these, I will drop exports". Primary path is accept. Do not ask a blank66"which platforms do you use" when their own page source already answered.6768Then run one connect pass in sequence, per connect-accounts: open each checked platform in my69browser, hand control to the user to sign in including any 2FA, screenshot the account home with70the account name visible, confirm read access by opening one report or campaign list, and write71the ACCOUNTS memory entry and /workspace/analytics/accounts.md. Skip a declined platform, say so72once, and never re-prompt. Say plainly that I never see or store a password, a session token, or73a cookie.7475### Export path (only when a platform was skipped or they chose to drop exports)76Read the newest file in the folder or sheet, or the pasted file, then run ingest-exports in77discovery mode and show the column map widget: the header row mapped to date, campaign, ad set,78impressions, clicks, cost, conversions, and conversion value, pre-filled, with anything unmapped79flagged. Accept is the primary path. Write /workspace/analytics/column-map.md from the accepted80mapping, one row per platform header. Skip this widget entirely when every platform is signed in.8182## Beat 3, Gameplan (one widget, suggest-first)83Propose a targeted gameplan built from what the signed-in accounts and the exports actually84contain, never a settings form. Read spend-watch before writing the thresholds into it.8586Example shape, fill it from this account and never reuse these placeholders:8788"For the Google Ads account you signed in to, 9 campaigns and 34 days of history, plus the Meta89export in your Drive folder I would: (1) read both on every run and keep metrics-history current,90(2) send a weekly report Monday mornings covering the week that closed, spend, conversions, CPA,91CTR, and CPC by campaign against the prior week, top movers, and what to decide next, (3) send a92monthly report on the 1st with the three month trend and budget pacing against the monthly budget93you name, (4) watch account spend above your daily plan, CPA above your limit over the last 794days, and conversions at zero for 2 days, all with the quiet floor on, (5) answer any reporting95ask with the number, the date range, and whether it came from the live view or a file."9697Ask for the two numbers the gameplan needs in the same message, not one at a time: the monthly98budget (or "none") and the CPA or ROAS limit that matters (or "none").99100Widget options (primary first):101- **Run this gameplan** (default)102- Tweak (only then show cadence, report hour, destination, thresholds, and the quiet floor)103- Reports only for now (no spend watch)104105Defaults if they skip the widget: weekly Monday 9am, monthly the 1st at 9am, destination is this106chat, currency as the account reports it, quiet floor on at 100 clicks, 5 conversions, and 50 in107their currency, headline metrics spend, conversions, CPA, CTR, CPC. Every routine stays disabled108until Beat 4 asks.109110## Beat 4, Test drive (show value immediately)111Do not ask more questions. Narrate in short lines while working.1121131. Run ingest-exports for real. It reads every signed-in platform first and every reachable114 export second. Report the counts: platforms read live, files read, rows kept, duplicate rows115 dropped, date range covered per platform, and anything that failed.1162. Build one report from whatever period the data actually covers, using weekly-report when a117 full week is present and monthly-report when a closed month is present. If the data covers a118 partial period, build the report on the partial range and label the range in the header. Every119 number in it carries its source, the live view or the export file, with the read date.1203. If no platform was signed in and no export was reachable, build the same report on clearly121 invented data with EXAMPLE in the title, the header, the file name, and the first chat line,122 so the user sees the shape. Never mix example numbers with real ones, and never carry an123 example number into a real report.1244. Render the charts per evidence-media and build the HTML report per html-report. Verify it, then125 attach the file, the charts, and the 5 line chat summary.1265. Run answer-a-reporting-ask once on a real question about this account, for example "what did we127 spend last week and what was CPA by campaign", and show the number, the date range, and the128 source file.1296. If a spend rule was set, run spend-watch once in dry mode and show what would have fired and130 what the quiet floor suppressed.1317. Save the platforms and their accounts (per connect-accounts), the export location, the column132 map path where there is one, the currency, the thresholds, the cadence, the destination, and133 the headline metrics to memory as named facts.1348. Close with the routines, one sentence each, then ask: "reporting-ask-watch hourly on weekday135 working hours, weekly-paid-media-report Monday 9am, monthly-paid-media-report on the 1st at136 9am. All three are off. Which do you want on, and what is your timezone?" Enable nothing137 without both answers.138139## Prefs to save (the full list, fill as they come up, never as an interview)140Timezone. Platforms, which are signed in, and which one is primary. Export location and how141exports get there, for the platforms that are not signed in. Currency.142Headline metrics. Cadence and report hour. Monthly budget and daily plan. Report destination.143Where reporting asks arrive and which hours to watch. A reply voice sample for drafted replies.144Priority campaigns or accounts. Quiet floor. Daily check hour. Whether weekends count. Alert145destination. Which export is the number source of record when two disagree. Anything the user has146not given stays unset, and I say it is unset rather than guessing a default into a report.147148## Anti-patterns (live QA)149- Never drip one widget per: platform, column, metric, threshold, cadence, destination, budget.150- Never ask which platforms they run when their own page source already shows the tags.151- Never ask for a column name the header row already shows.152- Never ask for a password, and never type one the user pastes into chat. Sign in happens in the153 browser, by them.154- Never promise an alert the moment something happens. Platforms are read when a job runs.155- Never delay the first report until every platform is signed in.156- Never build a report on a period the data does not cover.157- Never enable a routine on import or without a timezone.158159## Day two160If the platforms, their accounts, and the thresholds are in memory, skip the interview. Short161hello with counts, then offer Build the weekly report, Answer a reporting ask, Run a spend check,162Connect a platform, Change thresholds. A platform whose session has expired is reported in that163hello with one line and the offer to sign in again.164165## Reference166Read connect-accounts before Beat 2, ingest-exports before the export path, spend-watch before167Beat 3, weekly-report or monthly-report and evidence-media before Beat 4, and html-report to168close it. Refer to every connector by name only.