/kivo-rebuild:site-surveyfrom kivo-rebuild
Crawls a live WordPress site's sitemap index, records failing child sitemaps, and checks HTTP status of every URL on live and staging hosts with resumable runs. Stops on access gate or high error rate.
Ships in kivo-rebuild. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Builds urls.json for a run: every URL the sitemap lists, then the status, redirect target, title, h1, canonical and robots of each on the live host and on staging.
search-signals) or for deciding what happens to each URL (url-inventory).live in .rebuild/config.json (or --live=<url>). staging when a staging copy exists.staging_access.headers_ref as op://<vault>/<item> or tf-output:<dir>:<output>. The item holds CF-Access-Client-Id and CF-Access-Client-Secret fields, or fields labelled header:<Name>. Never ask for the values.types in the config to name sitemap types ({"product": "product"} maps product-sitemap.xml; the default is the file name stem)..kivo-rebuild/ folder beside the skill folders).node <root>/scripts/crawl-sitemap.mjs --project=. (default start is <live>/sitemap_index.xml; pass --sitemap=<url> for another). It creates the run, writes urls.json, prints N urls, M failed sitemaps (run <id>) and lists each failing child with its error. A child that returns 404, an error page or HTML instead of a sitemap is recorded in failures and skipped; the rest is still counted.node <root>/scripts/check-http.mjs --project=. --target=live. Redirects are not followed; the Location is recorded.staging is set: node <root>/scripts/check-http.mjs --project=. --target=staging. The headers resolve through the reference at run time.--concurrency=). Never raise it above 8 against a production site. A staging host may need 2. --limit=<n> checks the first n paths for a trial.node <root>/scripts/validate.mjs --project=. passes.live: X/Y checked shows X equal to Y, or the stop reason was reported..rebuild/ is the only place that changed.| Symptom | Cause | Fix |
|---|---|---|
stopped: access gate: 50 of 50 answered redirect to /login | The host sits behind an access policy and every URL is sent to a login page | Set staging_access.headers_ref (see the cloudflare reference of connect) and run again; gate answers were not written, so nothing has to be cleaned |
stopped: access gate: ... answered 403 | A firewall or access rule blocks the client | Same fix; for the live site ask the owner to allow the survey's address |
stopped: error rate 23% above 10% | The host is overloaded or rate-limits | Lower --concurrency, wait, run again; the checked rows are kept |
config.staging is not set | No staging URL in the config | Set it, or skip the staging check |
failed <sitemap>: not a sitemap | The child returned HTML | Nothing to fix here; it is recorded and skipped |
no run: run crawl-sitemap.mjs first | The crawl has not run | Run step 1 |
The live site is read only. Ask before raising concurrency above 4 on production, before using any access header the person did not name, and before checking a host that is not in the config.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hekivo/kivo-wise --plugin kivo-rebuild9 skills in this plugin
/connectUse when sources for a site survey need connecting or checking (Search Console, GA4, Tag Manager, PageSpeed and CrUX, Cloudflare, Playwright, Bing Webmaster Tools, RD Station, Merchant Center), or when the new site's GA4, Tag Manager, Search Console or staging access must be set up - tests read access, guides the human-only steps and plans setup behind an approval. For surveying the site use site-survey./legacy-featuresUse when the features of a legacy WordPress site must be listed before they can be audited against the new project - splits the legacy code and options into areas, dispatches one read-only agent per area, merges their fragments into one validated feature list, and seeds it from a kivo-kion inventory when one exists. For classifying each feature use parity-audit./parity-auditUse when every legacy feature must be classified against the new project - dispatches one auditor per domain, each citing file and line in the new project as evidence, merges the results into a validated parity list, and surfaces the gaps by priority with owners. For listing the legacy features first use legacy-features./rebuildUse when the person runs the rebuild command to survey a live WordPress site before or during its rebuild on the Roots stack - connects sources, crawls the sitemap, joins search signals, proposes a decision per URL, groups URLs by template, then (after review) inventories legacy features and audits parity. Resumes with --run=. For one step on its own use connect, site-survey, search-signals, url-inventory, template-map, legacy-features, parity-audit or review-board./review-boardUse when a reviewer who does not work in the repository must go through the URL decisions, the template groups and the parity gaps - builds a single-file review board, helps share it, imports the reviewer's marks without overwriting someone else's decision, and files issues for the template groups marked as having problems after a dry run. For producing the data use url-inventory, template-map or parity-audit./search-signalsUse when search and traffic numbers must be joined to the surveyed URLs - reads Search Console clicks and impressions through the API, an MCP server or a CSV export (English or Portuguese headers), and GA4 sessions and key events through the API, over the last 16 months by default. For deciding what happens to each URL use url-inventory.Other plugins' skills for the same job