change-detective
Skill1 starsChanged 13 days agoApache-2.0View on GitHub
Works out why Google Ads performance changed by finding the day each campaign's clicks, cost, CPC, conversion rate or impression share shifted and lining it up with the change history, including auto-applied recommendations, then ranks the suspects with before-and-after numbers. Use when someone asks "why did performance change", "what happened on the 5th", "who changed what", "why did CPA jump", or after conversion-lag-check finds a real drop. Not for checking whether a drop is real (use conversion-lag-check first) or for writing the client update (use weekly-client-report).
In this repository31 other files it gives its agents.
- budget-pacerSkill
- channel-expansion-plannerSkill
- competitor-messaging-analysisSkill
- conversion-lag-checkSkill
- demand-ceiling-analyzerSkill
- google-ads-audit-sales-presentationSkill
- google-ads-script-creatorSkill
- google-ads-skill-builderSkill
- gpt-to-skillSkill
- landing-page-designSkill
- landing-page-quick-auditSkill
- negative-keyword-analyzerSkill
- new-client-onboardingSkill
- pmax-health-checkSkill
- postclick-buyer-objectionsSkill
- postclick-copy-rewriteSkill
- postclick-experiment-briefSkill
- postclick-fix-firstSkill
- postclick-message-matchSkill
- ppc-account-health-checkSkill
- ppc-business-profilerSkill
- ppc-change-analyzerSkill
- ppc-experiment-finderSkill
- ppc-report-narratorSkill
- ppc-strategic-auditSkill
- rsa-asset-writerSkill
- rsa-headline-generatorSkill
- sales-intelligenceSkill
- search-term-minerSkill
- weekly-client-reportSkill
- weekly-pulseSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 13 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Read references/account-profile.md when no profile is in the chat or project.
- Distinctive: line 26
Ask for what is missing:
- Distinctive: line 41
If the change history is missing, say the answer will only show when and where numbers moved, not why, and ask for it before guessing.
- Very specific: line 47
Add --campaign "<text>" to focus on one campaign.
- Distinctive: line 53
Read "Where the numbers moved".
- Distinctive: line 65
If two changes share the top score, say they cannot be separated from the numbers.
- Distinctive: line 70
Read references/field-notes.md when you rank suspects or when no row explains the shift.
- Distinctive: line 74
Run the self-check, then answer with the output template.
- Distinctive: line 77
Read-only. Never undo or change anything.
- Distinctive: line 80
Call a change a suspect, never the proven cause.
- Distinctive: line 82
Do not judge conversions on unsettled days.
- Distinctive: line 93
Before vs after: [numbers].
- Distinctive: line 97
Not explained by any change: [shift + checks to run].
- Distinctive: line 103
Avoid: "Performance dropped because of recent changes." (no date, no change, no numbers).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Change detective
Most "why did it drop" answers are guesses: someone remembers one change and blames it. This skill does it the way a good analyst would. It finds the exact day the numbers moved, then lists every change made in the days before, scores each one by timing, scope and whether that kind of change can move that metric, and shows before-and-after numbers. Changes made by Google's auto-applied recommendations are called out, because nobody remembers making them.
Step 0: account profile
Read references/account-profile.md when no profile is in the chat or project. Fields needed: currency, targets, typical conversion lag, who approves changes.
Inputs
Ask for what is missing:
- Daily campaign report (Campaigns view segmented by Day, or Report editor with Day and Campaign rows), last 60 to 90 days to yesterday. Columns: Campaign, Impr., Clicks, Cost, Conversions, Search lost IS (budget), Search lost IS (rank).
- Change history download: Change history page, same date range, download as CSV. Keep all users and tools; do not filter out Google's changes.
- Days to conversion report (Campaigns view, Segment > Conversions > Days
to conversion, 90 days ending at least 30 days ago). Without it, ask
for the usual lag and use
--settle-days N. Live data: references/mcp-queries.md (read when the Google Ads MCP tools are connected; the API keeps only 30 days of change events).
If the change history is missing, say the answer will only show when and where numbers moved, not why, and ask for it before guessing.
Workflow
- Run:
python scripts/change_detective.py --daily <daily.csv> --changes <changes.csv> --lag <lag.csv> --target-cpa <CPA> [--campaign-target "Implants=90"]Add--campaign "<text>"to focus on one campaign. Changes made at the same minute by the same person or tool are grouped (for example "3 changes: Keyword added ..."). The script reports shifts of at least 15% with strength 3 or more. These are settings, not Google rules: lower them with--min-pctand--min-tfor small accounts, and say so in the answer. - Read "Where the numbers moved". Each line is a shift: the first day the new level started, before and after levels, and strength (above 3 is a clear shift). Conversion metrics use lag-adjusted values on days at least half complete, so a conversion-rate shift can show up later than a clicks shift. Daily conversion rate is noisy on small campaigns; the before/after block (CPA vs target) is often the clearer signal for keyword and auto-applied changes.
- For each shift, read the suspects. Scores near 1.0 mean the change happened 0 to 1 days before, in that campaign, and is the kind of change that moves that metric. Use references/change-types.md (read when explaining why a type of change moves a metric).
- If two changes share the top score, say they cannot be separated from the numbers. Use the pattern of metrics to argue which is likelier (for example lost IS (rank) rising points to bidding, not ad text).
- For shifts with no suspect, list the outside causes to check: tracking, landing page, season, competitors (Auction insights). Read references/field-notes.md when you rank suspects or when no row explains the shift. Why: website and Tag Manager changes, and Google's own auto-apply settings, leave no row or only a hidden one.
- Run the self-check, then answer with the output template.
Guardrails
- Read-only. Never undo or change anything. Suggest a fix as a draft for the approver, with the expected effect. Why: undoing the wrong change adds a second shock and makes the next diagnosis harder.
- Call a change a suspect, never the proven cause. Why: timing is evidence, not proof.
- Do not judge conversions on unsettled days. Why: they are dated by click and still arriving; clicks and cost have no lag.
- Name the person or tool that made each change, including auto-applied recommendations. Why: the fix is often a setting (auto-apply) rather than the change itself.
Output template
What changed and why: [account], [window]
- [Campaign]: [metric] moved from [before] to [after] from [date]. Prime suspect: [change, date, who], because [timing + metric fit]. Before vs after: [numbers]. Confidence: [high/medium/low and why]. Draft fix: [what, for whom to approve]. (repeat, most important first)
Not explained by any change: [shift + checks to run].
Good: "Invisalign: lost IS (rank) jumped from 28% to 52% from 5 Nov, the day after Jo cut target CPA from £70 to £45 (4 Nov, 16:51). A tighter target makes Google bid lower, which shows up as rank loss. The RSA edit 2 minutes later is unlikely to move rank share." Avoid: "Performance dropped because of recent changes." (no date, no change, no numbers).
Self-check (run before answering)
- Every suspect has a date, who made it, and before-and-after numbers.
- Conversion claims use settled days only.
- Same-day changes flagged as inseparable.
- Auto-applied changes called out by name.
- No change made; fixes are drafts with an approver.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

