Skip to content

SEO Pack

Links chosen keywords to your own pages and /go/ links automatically, counts visits from AI and search crawlers (telling real ones from fakes, and how many people AI sends you), publishes /llms.txt, and with one switch each in the admin (off until you turn them on) adds /sitemap.xml if you have none and tells IndexNow search engines about new and changed pages.

Beta. SEO Pack is in beta: it works, but things may still break. If something breaks, report it.

On the store: SEO Pack in SEO and links, pricing.

$19 USD per site · $59 USD for all your sites, paid once. Every purchase includes 12 months of updates, and there is a full refund within 7 days. Details: pricing.

  • Cloudflare® plan: Cloudflare free plan
  • Works on: Cloudflare Workers; Cloudflare Pages; A site on its own server (VPS or cloud) with DNS on Cloudflare, through a Worker route in front of it (beta, tested on a live server) (hosts)
  • Version: 0.6.2 (needs core 0.29.0 or later; it comes in the same download)
  • Runs on the Cloudflare free plan, in the same D1 database as your other apps. No outside accounts or keys are needed.
  • Optional outside account: External indexers (off by default). If you choose one, such as RalfyIndex (ralfyindex.com, paid per URL in credits), you sign up and pay for it yourself and set its key as a Worker secret (SEO_RALFYINDEX_KEY). Only page addresses are sent to it, at most one request a second, within a daily cap you set.
  • Your pages are learned as visitors and crawlers open them (title, description, main heading), so a page appears in /llms.txt (and in /sitemap.xml, once you switch it on) after its first visit. You can also paste a list, import an existing sitemap, or scan pages from the admin.
  • Page views run through the app so links can be added and pages learned; images, CSS, JS and fonts are served directly. Page views count toward the Cloudflare free 100,000 requests/day (Workers Paid removes the daily cap).
  • AI crawler visits and newly seen pages are saved in batches within the site’s daily write budget, so busy sites stay inside the Cloudflare free limits.
  • Outside requests: the site downloads the crawler IP lists OpenAI, Google, Microsoft, Perplexity, Apple, Common Crawl, DuckDuckGo and Mistral publish, from their own addresses, at most once a day each (about 13 small downloads a day), to tell real crawlers from fakes. You can turn this off under Crawlers → Manage bots. Nothing goes to us. Real signature checks for signed agents (such as ChatGPT agent) are off by default; when on, the site fetches that agent’s own public key list.
  • Crawler counts are what your site sees: requests Cloudflare blocks first (Block AI bots, Bot Fight Mode, AI Crawl Control) and files the host serves directly never reach it. Optional: one free Cloudflare Transform Rule lets the Cloudflare verified-bot flag reach the site (steps in the admin; nothing breaks without it).
  • Crawler alerts (off by default) are sent by email through the site’s notification settings in Forms. Conversions from AI-referred visits show when Analytics is installed; the redirect button on crawler errors needs Links & Redirects.
  • IndexNow is off until you turn it on. When on, the site sends only page addresses (never page content) to api.indexnow.org, at most once per interval you choose, and serves a key file at /<key>.txt. Google does not use IndexNow.
  • If your site already has /llms.txt or /sitemap.xml as a file, the app leaves it alone and says so in the admin.
  • Works with Links & Redirects when installed (link keywords to your /go/ links). Install order doesn’t matter; removing either app never breaks the other.
  • Cost per visit: page views add no requests; newly seen pages and crawler hits are saved in batches. Pages are saved a part at a time, each part kept under half of what one visit may write to the database, and a new or changed page is saved within about a minute of being seen. Crawler hits are saved at most about once a minute per Worker instance, at most 5 statements. At most 200 new pages and 400 new crawler rows an hour per instance. Measured: a crawler hit costs about 2.4 database rows when hits are spread out (5,000 crawler hits over a day, 8 bots and 300 pages: 11,894 rows, under a third of the default 40,000-row daily budget), less when a bot fetches the same page within a minute; a person’s visit from another site adds one counter row (two with its index), saved with the same batch; the per-request check of a crawler takes a few microseconds of CPU. Blocking a bot at the site adds no write. If the daily write budget or the Cloudflare free database limit is reached, learning pauses and /llms.txt and /sitemap.xml keep serving. With an external indexer’s automatic sending on, a page view after the response may start the site’s hourly send or a status check (a few outbound requests, at most once an hour and once every 5 minutes for the whole site).

Variables and secrets the app reads from the site’s own Cloudflare configuration.

Name Required Secret What it is
SEO_INDEXNOW_ENDPOINT no no Where IndexNow submissions are sent (default https://api.indexnow.org/indexnow). Only change it to test.
SEO_RALFYINDEX_KEY no yes Optional, only if the owner turns on RalfyIndex under External indexers: their RalfyIndex API key (ralfyindex.com/dashboard/apikey). Set it as a Worker secret (npx wrangler secret put SEO_RALFYINDEX_KEY; Pages: npx wrangler pages secret put SEO_RALFYINDEX_KEY). Never stored in the database, shown or logged.
SEO_RALFYINDEX_ENDPOINT no no Where RalfyIndex calls go (default https://api.ralfyindex.com). Only change it to test.
  • Addresses it answers: /llms.txt, /llms-full.txt, /sitemap.xml, /*.txt
  • Edits pages as they are served: yes
  • Has a say when a page is not found: no
  • Uses the site’s brand: no
  • Database tables (in the site’s own D1 database): seo_pages, seo_rules, seo_crawls, seo_pings, seo_links, seo_indexer_log, seo_indexer_sent, seo_crawl_status, seo_crawl_seen, seo_referrals, seo_crawl_recent, seo_robots, seo_bot_ranges, seo_crawl_alerts

SEO Pack adds 30 tools to the site’s own agent connection. The short text under each name is what an agent sees in its tool list; the full notes are what site_tool_help returns. The shared rules for confirm, dry_run and on apply to every tool.

Which SEO features are on (internal linker, AI crawler counting, /llms.txt, sitemap, IndexNow, page learning) and their limits.

Read only: changes nothing.

Takes no input.

One linker rule in full, as seo_rule_save takes it (id, keyword, target, enabled), so you can change only what needs it. List them with seo_rules.

Read only: changes nothing.

Field Type Required What it is
id integer no
keyword string no

AI and search crawler visits in a period: totals, the verified share, likely fake hits, errors, per-bot rows, bots gone quiet, and the vendors’ IP list downloads.

Read only: changes nothing.

Full notes (what site_tool_help returns):

The verified share is checked by vendor IP lists or Cloudflare; verification is pending, on or cloudflare-only, and while pending the share is null and verificationNote says when it starts. Likely fake hits used a bot’s name from the wrong address.

Field Type Required What it is
range 7, 30, 90 no Days: 7, 30 or 90 (default 30).

The AI crawler funnel for one AI company: its bots’ fetches, the human visits its assistant sent, fetches per visit, and per page. sort: visits | fetches | ignored. With Analytics, conversions from those visits.

Read only: changes nothing.

Full notes (what site_tool_help returns):

Bots by purpose with fetch counts; visits split into UTM-tagged and referrer-only, their share of all outside visits, visits per day, and per page (fetches, visits). sort ignored lists pages that are “read a lot, sends nobody”.

Field Type Required What it is
company "openai", "anthropic", "perplexity", "google", "microsoft", "meta", "apple", "amazon", "mistral", "duckduckgo", "deepseek", "xai", "commoncrawl", "bytedance", "other-ai" no The AI company (default: the busiest).
range 7, 30, 90 no Days: 7, 30 or 90 (default 30).
sort "visits", "fetches", "ignored" no Page order: visits | fetches | ignored (default visits).

Per page: first and last crawl, last status, visits per bot, whether it is in the sitemap, and the listed pages no crawler fetched in 30 days. family: all | ai | search.

Read only: changes nothing.

Field Type Required What it is
range 7, 30, 90 no Days: 7, 30 or 90 (default 30).
family "all", "ai", "search" no all | ai | search (default all).

For pages first seen recently: when the site first served them, when IndexNow or an external indexer was told, and when each crawler first fetched them (hours between).

Read only: changes nothing.

Field Type Required What it is
days 7, 30, 90 no New pages from the last 7, 30 or 90 days (default 30).

Pages that gave crawlers errors (4xx, 5xx) or redirects, with the bots and counts, and how to add a redirect (through Links when installed).

Read only: changes nothing.

Field Type Required What it is
range 7, 30, 90 no Days: 7, 30 or 90 (default 30).

The latest crawler hits (time, bot name, verified or not and by what, page, status, milliseconds, network name). No IPs or user agents are kept.

Read only: changes nothing.

Field Type Required What it is
limit integer no How many (default 50).

The site’s robots.txt as crawlers get it: the AI-openness score, rules per AI bot with tips, unknown lines, version history, and crawlers that fetched paths it disallows for them.

Read only: changes nothing.

Full notes (what site_tool_help returns):

The score is 0-100 with a grade A-F and the declared access. Also the Cloudflare managed block and Content Signals if present.

Field Type Required What it is
range 7, 30, 90 no Days: 7, 30 or 90 (default 30).

Every known bot’s policy (allow | block | none), whether blocked hits get a 403 at the site (enforce), what robots.txt says for it now and the lines to add to the site’s own robots.txt, plus verification settings and the vendors’ IP list downloads.

Read only: changes nothing.

Takes no input.

Crawler alert settings (new crawler, errors spike, slow answers, fetching robots.txt-blocked pages), the daily cap, the cooldown and the recent alert log (sent, or why not).

Read only: changes nothing.

Takes no input.

The /llms.txt settings as seo_llms_save takes them (settings) and a preview of the generated file. file “llms-full” previews /llms-full.txt.

Read only: changes nothing.

Full notes (what site_tool_help returns):

state says whether the file is served (serving, waiting for pages, off, or the site’s own file wins). The preview is the generated file now (cut after 6,000 characters: preview.truncated). Pages come from the app’s page list (seo_pages); hide one with the include/exclude patterns or on the Pages tab.

Field Type Required What it is
file "llms", "llms-full" no Which file to preview. Default llms.

External indexers (paid third-party services, off by default): state, key set or not, credits, today’s usage, pages waiting, recent submissions, and the warning to show the owner word for word before they turn one on.

Read only: changes nothing.

Full notes (what site_tool_help returns):

For each: whether it is on, when the owner accepted the warning, whether its key secret is set (never the key), credits last seen, today’s usage against the daily cap, automatic sending, pages waiting, recent submissions, and the warning and disclosure to show the owner word for word before they turn it on.

Takes no input.

Check an external indexer’s key and credits (its status and balance calls, which spend nothing). Says what to fix when the key is missing or wrong.

Read only: changes nothing.

Field Type Required What it is
provider "ralfyindex" yes The indexer, one of the values listed (ralfyindex). See seo_indexers_list.

The internal linker’s rules (keyword, target, on/off, pages linked) with its limits. One rule as seo_rule_save takes it: seo_rule_get.

Read only: changes nothing.

Takes no input.

The pages the app has learned (title, description, main heading, canonical).

Read only: changes nothing.

Takes no input.

Internal link report: coverage, orphan pages, dead ends, money pages and broken links.

Read only: changes nothing.

Takes no input.

AI crawler visits (GPTBot, ClaudeBot, PerplexityBot…) per day and page.

Read only: changes nothing.

Field Type Required What it is
range 7, 30, 90 no Days (default 30).
crawler string no Only this crawler id.

Turn one SEO feature on or off: linker (internal links), crawlers (count AI crawler visits), llms (/llms.txt), llms_full (/llms-full.txt), sitemap, indexnow (pings for Bing, Yandex, Seznam, Naver; not Google), record_pages (learn page titles).

Changes the site.

Full notes (what site_tool_help returns):

linker adds internal links as pages are served. sitemap serves /sitemap.xml when the site has none; if the site serves its own, the answer says so with its page count, and the site’s file is the one served.

Field Type Required What it is
feature "linker", "crawlers", "llms", "llms_full", "sitemap", "indexnow", "record_pages" yes
on boolean yes

Add an internal-link rule (a keyword that links to a page of the site or a /go/ link; keyword and target) or change one (id plus only what changes: PATCH). The answer says which pages and sentences it links; live within about 30 seconds.

Changes the site.

Full notes (what site_tool_help returns):

PATCH: an omitted keyword, target or enabled keeps its saved value; read the rule with seo_rule_get. dry_run:true shows the merged rule without saving. Rules apply as pages are served.

Field Type Required What it is
id integer no Change this rule. Leave out to add one.
keyword string no The words to link, e.g. “web hosting”. Required when creating.
target string no A path on this site (/hosting/) or a /go/ link. Required when creating.
enabled boolean no
dry_run boolean no true: save nothing; answers wouldSave (the full record) and the warnings.

Turn a linker rule off or back on. Without on it flips, which is not safe to retry.

Changes the site.

Field Type Required What it is
id integer no
keyword string no The rule’s keyword, as in seo_rule_get. Use this or id.
on boolean no true: on, false: off. Sets the state (safe to retry).

Delete a linker rule. Its links disappear from pages within about 30 seconds. DESTRUCTIVE: does nothing until called again with confirm:true.

Changes the site. Destructive: does nothing until it is called again with confirm.

Field Type Required What it is
id integer no
keyword string no The rule’s keyword, as in seo_rule_get. Use this or id.
confirm boolean no Leave out first (the answer says what would happen); then true, with confirm_token.
confirm_token string no The answer’s confirmToken, sent with confirm:true and the same input.

Set the linker’s limits: links per page (1 to 50), links per keyword (1 to 10) and path patterns to leave alone.

Changes the site.

Field Type Required What it is
max_per_page integer no
max_per_keyword integer no
exclude list of strings no Path patterns like /blog/draft-*.

Set one bot’s policy: allow | block | none. enforce:true (block only) answers 403 to verified hits from that bot. Blocking a search engine with enforce needs confirm_name (the bot’s exact name) after the owner agrees. Show the owner the answer’s warning before confirming. Risky input (the answer says which) does nothing until called again with confirm:true.

Changes the site.

Full notes (what site_tool_help returns):

Block shows the robots.txt lines to add to the site’s own file (the app never edits it) and suggests blocking at Cloudflare first (AI Crawl Control). Unverified hits are never blocked. Blocking a search engine with enforce removes the site from that search engine.

Field Type Required What it is
bot string yes Bot id from seo_bot_policy (gptbot, googlebot, signed:chatgpt.com…).
policy "allow", "block", "none" yes allow | block | none (not managed).
enforce boolean no Block only: answer 403 to verified hits. Default false.
confirm_name string no Search engines with enforce:true only: the bot’s exact name (e.g. Googlebot), typed by the owner.
confirm boolean no true only after an answer asked for it, with confirm_token.
confirm_token string no The answer’s confirmToken, sent with confirm:true and the same input.

Crawler verification settings: ip_lists (vendors’ published IP lists, on by default), signature_check (Web Bot Auth, off by default) and slow_ms. PATCH: omitted fields keep their saved values.

Changes the site.

Full notes (what site_tool_help returns):

ip_lists: the site fetches the lists from OpenAI, Google, Microsoft and the others at most once a day; nothing goes to us. signature_check: really check Web Bot Auth signatures; fetches the signing agent’s own public key directory. slow_ms: a crawler hit slower than this counts as slow (200 to 30000, default 1500).

Field Type Required What it is
ip_lists boolean no
signature_check boolean no
slow_ms integer no

Download the crawler vendors’ IP lists now (up to all of them; each from the vendor’s own address). Says which worked and why any failed. Normally this happens on its own once a day.

Changes the site.

Takes no input.

Turn crawler alerts on or off and set the daily cap (1 to 10 emails a day) and cooldown (1 to 168 hours per kind). PATCH: omitted fields keep their saved values. Alerts go to the site’s notification addresses (Forms → Settings).

Changes the site.

Field Type Required What it is
new boolean no A new crawler shows up.
errors boolean no Crawler errors spike.
slow boolean no Crawlers get slow answers.
blocked boolean no A crawler fetches pages robots.txt blocks for it.
daily_cap integer no
cooldown_h integer no

Change the /llms.txt settings (PATCH: only the fields you send change; include and exclude, when sent, REPLACE their list). dry_run:true answers the merged settings and a preview of the file. Turn the file itself on or off with seo_toggle.

Changes the site.

Full notes (what site_tool_help returns):

title: the top heading (empty: the home page title, at most 120). summary: one or two sentences (empty: the home page description, at most 400). intro: notes for AI tools, no headings (at most 4000). include: only list these pages (empty: all); exclude: never list these. full: also serve /llms-full.txt (each page’s text, about the first 1,200 characters). wouldSave.preview is the generated /llms.txt with these settings. Warnings: the file is off, the site serves its own /llms.txt, or the patterns leave no page. Changes reach /llms.txt within about a minute. Logged in Recent changes.

Field Type Required What it is
title string no Site name, the top heading. Empty: the home page title.
summary string no One or two sentences. Empty: the home page description.
intro string no Optional notes for AI tools. No headings.
include list of strings no Only list these pages (empty list: all). Replaces the list.
exclude list of strings no Never list these pages. Replaces the list.
full boolean no Also serve /llms-full.txt.
dry_run boolean no true: save nothing; answers wouldSave (the full record) and the warnings.

Set the IndexNow interval (PATCH): ping search engines at most every every_min minutes (10 to 1440). Turn IndexNow on or off with seo_toggle; seo_status shows the current value (indexnowEveryMin).

Changes the site.

Full notes (what site_tool_help returns):

A page is never sent twice within 6 hours, whatever the interval. Quiet sites ping a little later than the interval: the check runs when a page is opened. Saving while IndexNow is off keeps the value for when it is turned on (the answer warns). Logged in Recent changes.

Field Type Required What it is
every_min integer yes Minutes between pings.
dry_run boolean no true: save nothing; answers wouldSave (the full record) and the warnings.

Send up to 100 page addresses of this site to an external indexer the owner turned on. It spends the owner’s credits: ask first and say the cost (1 credit per URL, 1 more with bing:true; instant:true costs 10 per URL and needs confirm:true). Risky input (the answer says which) does nothing until called again with confirm:true.

Changes the site.

Full notes (what site_tool_help returns):

URLs are paths like /blog/post/ or full addresses on this site. instant:true uses Instant Indexer and always needs confirm:true after you show the owner the exact cost. The balance is checked first; nothing is sent past the daily cap or the credits the owner keeps. Answer: credits used, project ids, balance left. Later: seo_indexers_list (status is checked at most once a minute).

Field Type Required What it is
provider "ralfyindex" yes The indexer, one of the values listed (ralfyindex). See seo_indexers_list.
urls list of strings yes Paths or full addresses on this site. seo_indexers_list lists the pages waiting.
bing boolean no Also send to Bing (1 more credit per URL). Usually not needed: IndexNow covers Bing free.
instant boolean no Use Instant Indexer (10 credits per URL instead of 1).
instant_cost integer no The Instant Indexer cost in credits the owner agreed to. Filled in from the URLs when left out.
confirm boolean no true only after an answer asked for it, with confirm_token.
confirm_token string no The answer’s confirmToken, sent with confirm:true and the same input.
dry_run boolean no true: save nothing; answers wouldSave (the full record) and the warnings.

It sends and listens to none.

How events work: core events.

Connects with no setup, in any install order: Links & Redirects, Reviews.