Existing Site Analyzer
This skill creates the evidence base for existing-site work. It does not decide rebuild strategy by itself and does not mutate the live site.
Operating Modes
local-inventory: inspect local HTML, source files, assets, sitemap, robots, and reports.
public-url-review: review public URLs or fetched HTML only after network/crawling approval.
screenshot-review: analyze screenshots when URL or source is unavailable.
asset-inventory: inventory images, videos, docs, icons, maps, and brand assets.
handoff: produce evidence for rebuild-or-improve-advisor and migration-planner.
Required Workflow
- Read references/existing-site-analysis-contract.md.
- Confirm source type and privacy:
- local files and user-provided public screenshots: allowed;
- public URL crawling/fetching: approval required if not already requested;
- authenticated/private pages, analytics, CRM, or CMS: explicit approval and data-handling note required.
- Use assets/existing-site-audit.template.md for the report.
- Record evidence status for every source:
Ran, Skipped, Planned, or Manual.
- Capture:
- page inventory;
- content and IA;
- SEO/LLM surface;
- UX and conversion issues;
- technical constraints;
- asset inventory;
- migration risks.
- Hand off to
rebuild-or-improve-advisor; involve migration-planner if URL structure, redirects, sitemap, robots, schema, or launch risk may change.
Safety Rules
- Do not crawl private/authenticated pages without explicit approval.
- Do not store private analytics exports, cookies, tokens, private URLs, or
.env values in reports.
- Do not claim Lighthouse, browser, crawler, or DOM evidence unless it was actually run.
- Do not change production content, redirects, robots, sitemap, DNS, CMS, or deployment settings.
Handoff Shape
Mode:
Sources:
Evidence status:
Major findings:
SEO/LLM risks:
UX risks:
Technical constraints:
Asset inventory:
Migration risk:
Next owner:
Validation
When editing this skill, run:
python3 $CODEX_HOME/skills/.system/skill-creator/scripts/quick_validate.py $CODEX_HOME/skills/existing-site-analyzer
python3 $CODEX_HOME/skills/senior-skill-architect/scripts/lint_production_skill.py $CODEX_HOME/skills/existing-site-analyzer
python3 -m json.tool $CODEX_HOME/skills/existing-site-analyzer/evals/evals.json >/dev/null
1---2name: existing-site-analyzer3description: Analyze an existing website before improve, redesign, rebuild, or migration decisions. Use when a project has a current URL, local HTML/codebase, screenshots, sitemap, robots, analytics export, asset folder, or legacy site materials and needs a local-first audit with approval-gated crawling or authenticated access.4---56# Existing Site Analyzer78This skill creates the evidence base for existing-site work. It does not decide rebuild strategy by itself and does not mutate the live site.910## Operating Modes1112- `local-inventory`: inspect local HTML, source files, assets, sitemap, robots, and reports.13- `public-url-review`: review public URLs or fetched HTML only after network/crawling approval.14- `screenshot-review`: analyze screenshots when URL or source is unavailable.15- `asset-inventory`: inventory images, videos, docs, icons, maps, and brand assets.16- `handoff`: produce evidence for `rebuild-or-improve-advisor` and `migration-planner`.1718## Required Workflow19201. Read [references/existing-site-analysis-contract.md](references/existing-site-analysis-contract.md).212. Confirm source type and privacy:22 - local files and user-provided public screenshots: allowed;23 - public URL crawling/fetching: approval required if not already requested;24 - authenticated/private pages, analytics, CRM, or CMS: explicit approval and data-handling note required.253. Use [assets/existing-site-audit.template.md](assets/existing-site-audit.template.md) for the report.264. Record evidence status for every source: `Ran`, `Skipped`, `Planned`, or `Manual`.275. Capture:28 - page inventory;29 - content and IA;30 - SEO/LLM surface;31 - UX and conversion issues;32 - technical constraints;33 - asset inventory;34 - migration risks.356. Hand off to `rebuild-or-improve-advisor`; involve `migration-planner` if URL structure, redirects, sitemap, robots, schema, or launch risk may change.3637## Safety Rules3839- Do not crawl private/authenticated pages without explicit approval.40- Do not store private analytics exports, cookies, tokens, private URLs, or `.env` values in reports.41- Do not claim Lighthouse, browser, crawler, or DOM evidence unless it was actually run.42- Do not change production content, redirects, robots, sitemap, DNS, CMS, or deployment settings.4344## Handoff Shape4546```text47Mode:48Sources:49Evidence status:50Major findings:51SEO/LLM risks:52UX risks:53Technical constraints:54Asset inventory:55Migration risk:56Next owner:57```5859## Validation6061When editing this skill, run:6263```bash64python3 $CODEX_HOME/skills/.system/skill-creator/scripts/quick_validate.py $CODEX_HOME/skills/existing-site-analyzer65python3 $CODEX_HOME/skills/senior-skill-architect/scripts/lint_production_skill.py $CODEX_HOME/skills/existing-site-analyzer66python3 -m json.tool $CODEX_HOME/skills/existing-site-analyzer/evals/evals.json >/dev/null67```