← ClaudeAtlas

searchdifflisted

Answer "did the SEO change work?" and "what happened to search traffic?" with Search Console data, using weekly blocks and a difference-in-differences against control pages instead of a before/after on the changed pages alone. Use when a user asks whether a title, description, or content change helped, when traffic dropped, or when reading a Search Console export.
tsurutanmen/claude-plugins · ★ 0 · Code & Development · score 70
Install: claude install-skill tsurutanmen/claude-plugins
# searchdiff Two questions come up with Search Console, and both are usually answered wrong. 1. "Traffic dropped. When, and how far back is it?" Answered by staring at a daily chart. Use weekly blocks from a fixed anchor: the day-of-week noise disappears and a cliff is one line. 2. "We rewrote the titles. Did it help?" Answered by comparing the changed pages before and after. That comparison contains the season, the algorithm update, and the change, all mixed. Use the pages that were *not* changed as the control and report the difference in differences. ## Install and get data ``` pip install "searchdiff[api]" ``` - From the UI: Performance > Export > the `Dates.csv` (site totals per day) or any CSV with `date,page,clicks,impressions[,position]` columns. - From the API, with a service account added as a user of the property: `searchdiff fetch --site https://example.com/ --key sa.json --start 2026-06-01 --end 2026-08-31 --out pages.csv --coverage` ## Commands ``` searchdiff weeks daily.csv --anchor 2026-07-18 searchdiff effect pages.csv --change 2026-08-04 --treated "re:/blog/" --window 28 [--gap 7] [--control SPEC] ``` `--treated` and `--control` take a substring, a glob, `re:` a regex, or `@file` with one URL per line. Control defaults to every page that is not treated. ## How to read `weeks` - `CLIFF` marks a block whose clicks/day fell 30% or more from the previous block. Say the date. - `of peak` is the block's clicks/day as a share of the best bloc