---
name: gog-searchconsole
description: "Google Search Console operations through gog."
---

# Google Search Console

<!-- Generated by scripts/gen-agent-skills.mjs; do not edit. -->

Use `gog` for Google Search Console operations. Read `../gog/SKILL.md` first for shared auth,
output, safety, and live-write rules.

## Safe start

```bash
gog auth list --check --json --no-input
gog schema searchconsole --json
gog --readonly --account user@example.com searchconsole --help
```

- Select the account explicitly with `--account`.
- Use `--json --wrap-untrusted` for agent-readable Google content.
- Use `--readonly` when the task must not mutate Google data.
- Use `--no-input` in automation and `--dry-run` before supported writes.
- Confirm the exact account, object, and mutation before any write or delete.

## Commands

| Command | Purpose |
| --- | --- |
| `inspect` | Inspect URL index status (URL Inspection API) |
| `query` | Run a Search Analytics query |
| `searchanalytics` | Search Analytics queries |
| `sitemaps` | List/get/submit/delete sitemaps |
| `sites` | List and inspect Search Console sites |

Run `gog searchconsole <command> --help` for flags and `gog schema searchconsole <command> --json`
for the machine-readable contract. Do not guess command syntax.
