Copy-Paste Engineering & Outreach Library

SEO, AEO & GEO Configs, RegEx, SQL & Outreach Templates

Verified RFC 9309 robots.txt presets, Google Search Console RE2 regex filters, BigQuery Bulk Export SQL queries and data-backed editorial outreach scripts—ready to copy with zero login.

9 templates
Robots.txt, GSC RE2, BigQuery SQL & outreach
RFC 9309
Zero private-path leaks across named bot groups
$0
Open library built for technical SEO & GEO teams
SaaS & Docs

Job-Based Robots.txt: Allow AI Search, Block AI Training

Permits Googlebot, Bingbot, OAI-SearchBot, Claude-SearchBot and PerplexityBot while blocking bulk model-training crawlers (private paths repeated per RFC 9309).

# Block bulk AI model training crawlers
User-agent: GPTBot
Disallow: /

User-agent: ClaudeBot
Disallow: /

User-agent: anthropic-ai
Disallow: /

User-agent: Google-Extended
Disallow: /

User-agent: CCBot
Disallow: /

User-agent: Meta-ExternalAgent
Disallow: /

# Explicitly allow AI search & citation bots (repeat private paths per RFC 9309)
User-agent: OAI-SearchBot
Allow: /
Disallow: /admin/
Disallow: /app/
Disallow: /api/

User-agent: PerplexityBot
Allow: /
Disallow: /admin/
Disallow: /app/
Disallow: /api/

User-agent: Claude-SearchBot
Allow: /
Disallow: /admin/
Disallow: /app/
Disallow: /api/

# Default web search crawlers
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /app/
Disallow: /api/

Sitemap: https://www.example.com/sitemap.xml
E-Commerce

E-Commerce Faceted Navigation & Sort Parameter Shield

Stops Googlebot from burning crawl budget on sort order, price range, internal search and session parameters while leaving clean category and product URLs open.

User-agent: *
Allow: /
Disallow: /*?sort=
Disallow: /*&sort=
Disallow: /*?price_min=
Disallow: /*?price_max=
Disallow: /*?filter=
Disallow: /search
Disallow: /cart
Disallow: /checkout
Disallow: /account

Sitemap: https://www.example.com/sitemap-categories.xml
Sitemap: https://www.example.com/sitemap-products.xml
GSC RE2

Isolate Question & Answer-Intent Queries In Search Console

Paste into GSC Performance -> Query -> Custom (regex) to surface every informational and AEO question query where your site gets impressions.

^(who|what|where|when|why|how|can|does|is|are|should|will)\b
GSC RE2

Isolate High-Intent Commercial & Comparison Queries

Finds bottom-of-funnel buyer queries (pricing, vs, alternatives, review, best) inside Google Search Console Performance reports.

\b(vs|versus|compare|comparison|alternative|alternatives|pricing|cost|price|review|reviews|best|top)\b
GSC RE2

Filter 5+ Word Conversational Long-Tail Queries

Surfaces conversational prompts and zero-volume long-tail queries that mirror AI search and voice phrasing.

^([^\s]+\s+){4,}[^\s]+$
BigQuery SQL

Detect Keyword Cannibalization Across Multiple URLs (90 Days)

Finds non-branded queries where 2 or more distinct URLs on your domain split significant Google Search clicks over the last 90 days.

SELECT
  query,
  COUNT(DISTINCT url) AS competing_urls,
  SUM(clicks) AS total_clicks,
  SUM(impressions) AS total_impressions,
  STRING_AGG(DISTINCT url, ' | ' LIMIT 4) AS urls
FROM `your_project.searchconsole.searchdata_url_impression`
WHERE data_date >= DATE_SUB(CURRENT_DATE(), INTERVAL 90 DAY)
  AND query IS NOT NULL
GROUP BY query
HAVING competing_urls >= 2
  AND total_clicks >= 25
ORDER BY total_clicks DESC
LIMIT 100;
BigQuery SQL

24-Month YoY Non-Branded Organic Click Comparison

Escapes GSC's 16-month UI cutoff by comparing monthly total URL clicks year-over-year from Bulk Data Export.

SELECT
  FORMAT_DATE('%Y-%m', data_date) AS year_month,
  SUM(clicks) AS url_clicks,
  SUM(impressions) AS url_impressions,
  ROUND(SAFE_DIVIDE(SUM(clicks), SUM(impressions)) * 100, 2) AS avg_ctr_pct
FROM `your_project.searchconsole.searchdata_url_impression`
WHERE data_date >= DATE_SUB(CURRENT_DATE(), INTERVAL 730 DAY)
GROUP BY 1
ORDER BY 1 DESC;
Editorial Refresh

Data-Refresh Value-Add Link Update Pitch ($0 Placement)

Grounded in Backlinko's 12M-email personalization (+32.7%) and multi-touch (+100%) findings—leads with a fresh verified stat editors actually need.

Subject: Updated 2026 [Topic] benchmark for your [Article Topic] guide

Hi [First Name],

Noticed your section on [Specific Section] cites [Old Year] [Metric] numbers.

We just published an open 2026 benchmark dataset covering [Specific Verified Stat & Source] (zero login, copy-ready JSON + chart): [Exact URL]

Happy to share the raw CSV or embed chart if useful next time you refresh that guide.

Best,
[Your Name]
[Title & LinkedIn URL]
Link Reclamation

Unlinked Brand Mention & Broken Study Replacement Pitch

Converts warm editorial brand mentions or dead 404 citations into clean followed links in under 60 words.

Subject: Quick citation link fix on your [Article Title] post

Hi [First Name],

Thanks for mentioning [Your Brand / Study Name] in your piece on [Article Topic] — glad the data was helpful!

Quick heads-up: the reference currently isn't linked (or points to an old 404 URL). Here is the permanent canonical reference if you'd like to make it clickable for readers: [Canonical URL]

Appreciate the shoutout,
[Your Name]

Frequently Asked Questions

Why do job-based robots.txt templates repeat private Disallow paths inside every named User-agent group?
Under RFC 9309, once a crawler matches a specific named User-agent group (such as OAI-SearchBot), it completely ignores User-agent: * rules—so omitting private Disallow paths inside named groups accidentally exposes /admin/ or /api/.
Do the BigQuery SQL templates require paid Google Cloud plans?
No, Google Search Console Bulk Data Export is $0 and BigQuery's permanent free tier includes 10 GB of storage and 1 TB of monthly query processing.
Can I customize the GA4 AI RegEx and BigQuery SQL for my exact brand and dataset?
Yes, use our interactive GA4 AI-Referral RegEx & GSC BigQuery SQL Generator to inject your exact brand variants and GCP table prefix automatically.

Related Research Guides