# Triage a site before touching anything

> Part of the visdenda-agent skill. Back to https://visdenda.com/skills/visdenda-agent/SKILL.md.
> Read this when the task matches: Pick the one question that matters, read the judgment layer, then drill.

## Ask one question first

Do not start from a tool. Start from the user's question:

- "Why did traffic change?" → search performance and update timing.
- "What should I fix first?" → audit findings ranked by traffic.
- "Why is this page not indexed?" → index status and crawl evidence.
- "Are AI assistants using the site?" → AI crawler and AI Overview data.
- "What is the competitor doing?" → competitor changes and gaps.

If the request mixes questions, answer the highest-revenue one first and say what you deferred.

## Read the judgment layer

1. `list_sites` — find the site, see attention order and resolve a domain to its `siteId`.
   If the key owns no sites, `add_site` → `verify_site` (Google-bound sites skip manual
   verification) → `run_audit` first.
2. `get_site_insights` — the front door. It returns ranked, evidence-backed insights and,
   separately, the types it could not evaluate.
3. Pick at most one primary insight type to pursue. For each insight keep:
   - `target` (page or query),
   - `evidence` numbers and window,
   - `impact.atStake` and `impact.method`,
   - `suggestedAction.kind` / `verifyWith`.

## Business context

Read `get_site` with `view=profile` before ranking "revenue" pages. If the business model,
offers or key/revenue pages are missing, propose them with `upsert_site_profile`
(`sites:write`, `confirm:true` + idempotency key). It stays a proposal until a human confirms
it in the console; never treat an agent proposal as live context or as a fact about revenue.

## Drill only where the insight points

- Audit fail → `get_opportunities` (ranked) or `get_audit` with `view=findings`, then
  `view=finding`.
- GSC decline / CTR / cannibalization → `get_page_report` or `get_gsc` with `view=queries`
  (filter to the affected query/page before paging).
- Index gap → `get_page_report`; use `check_url` with `view=diff` for a live canonical/robots check.
- Crawler gap → `get_site` with `view=crawler_gaps` for the path list and agents.
- Portfolio-level → `get_site` with `view=status` for runs, changes, radar and GSC snapshot together.

## Stop conditions

- No completed audit run → do not diagnose technical causes; run an audit first.
- GSC not bound or not evaluated → say so; do not convert missing data into "no problem".
- Coverage insufficient or a source truncated → qualify the conclusion.
- The user asked for a fix, not a report → finish with the action and its verification,
  not with a longer list.

## Hand-off

End with: what you observed, what you infer, what you recommend, how you will verify.
Keep the distinction visible. A well-scoped "not evaluated" is more useful than a confident guess.
