← All loops · content · claude-code
Content refresh loop
Pages that lost rank in Search Console are rewritten and re-indexed.
F1 · Goal
Pages that lost rank in Search Console are rewritten and re-indexed.
F2 · Trigger
0 3 * * *
F3 · Discover
Pull GSC pages whose average position dropped more than 3 in 14 days.
F4 · Act
Rewrite the page: refresh facts, tighten intro, add missing entities; open a PR.
F5 · Verify
Meta intact, internal links intact, diff over 25%, build passes.
F6 · Persist
state.md tracks page, last refresh date, position history.
F7 · Exit
Queue empty, or a page refreshed twice without rank recovery (escalate to human).
Cost
~41k tokens per cycle (measured)
Runnable code
# crontab 0 3 * * * cd ~/site && claude -p "$(cat loops/content-refresh.md)" --allowedTools "Bash,Edit,Write"
Adapted it for your stack? Submit your variant →