--- name: optimize description: Audit SEO and accessibility of a website in this repository (sites folder per domain), keep dated reports and a running work list of findings, and implement only the proposals the person approved. Use when the user asks about SEO, search visibility, meta tags, sitemap, social cards, accessibility checks, or before publishing new or changed pages. GEO (generative engine optimization) is not available. allowed-tools: - 'Bash(python3 -B "${CLAUDE_SKILL_DIR}/../_shared/scripts/which_site.py" *)' - 'Bash(python3 -B "${CLAUDE_SKILL_DIR}/scripts/audit.py" *)' - 'Bash(test -f "${CLAUDE_SKILL_DIR}/../_shared/scripts/which_site.py")' - 'Bash(test -f "${CLAUDE_SKILL_DIR}/scripts/audit.py")' --- # optimize (Website plugin) > **Status (local development).** Available: audit with durable reports and a running work list, decisions, bounded `apply` of approved mechanical proposals with an automatic recheck, and the site resolver. **Not available (do not offer, do not work around):** GEO, Lighthouse, link-graph checks, an isolated dependency copy with `npm ci`. This skill never installs dependencies, not even for `apply`. > **Script location (binding).** The scripts are `scripts/audit.py` next to the **actually loaded** `SKILL.md` and the shared resolver `../_shared/scripts/which_site.py` (relative to the folder of that `SKILL.md`). Run them with the **website project** as working directory (or `--root`). Site configuration (`.project/`, `sites/`) and content always come from that project; the plugin folder is read-only and holds no state. The manifest `.project/specs/website.json` is validated against the plugin's own schema before anything is built or written; an invalid manifest stops the skill with a diagnosis. > > - **Claude:** the host replaces `${CLAUDE_SKILL_DIR}` with the folder of this `SKILL.md`; the commands below use it in double quotes. The `allowed-tools` pre-approvals above are Claude-specific and exactly the call patterns of this text; they are a convenience, not a requirement. > - **Codex:** use the path of the loaded `SKILL.md` that the host gave you and form the absolute script paths `/scripts/audit.py` and `/../_shared/scripts/which_site.py`. Do **not** run `${CLAUDE_SKILL_DIR}` as a shell variable; do not rely on a Claude placeholder or on `allowed-tools`. > - **No path, no run:** if the path of the loaded `SKILL.md` is not available, stop and say so. Do not search caches or plugin folders, do not guess a replacement path, never copy scripts into the website project. > - **Form of the call:** `python3 -B` with each script path as **one** quoted argument (the path may contain spaces), no `PYTHONPATH`. Before the first call check that both scripts exist (`test -f "