Check Google Search Console sitemap status through the MyBrandMetrics API.
Use this skill to review sitemap health for a connected Google Search Console
property: submitted URL counts, indexed URL counts, warning counts, error
counts, pending status, content type, and last downloaded time.
Website: https://www.clawbus.com/
MyBrandMetrics API: https://mybrandmetrics.com/
| Capability | Details |
|---|---|
| --- | --- |
| Google Search Console sitemap data | Query the google_search_console_sitemaps source through MyBrandMetrics. |
| Sitemap status | List sitemap rows for a connected Search Console property. |
| Submitted and indexed URLs | Compare contents_submitted and contents_indexed for sitemap health. |
| Warnings and errors | Review sitemap warning and error counts. |
| Pending processing | Check whether a sitemap row is still pending. |
| Last downloaded time | See when Google last downloaded each sitemap. |
| Filtered queries | Use metrics, dimensions, filters, and row limits for narrower reports. |
with Google.
MyBrandMetrics API key.
clawbus-google-search-console skill.instructions.
Use natural-language prompts after the skill is installed. Include:
sc-domain:example.com;URLs, and sitemap count;
last downloaded time, and pending status;
Example:
Check the Google Search Console sitemap status for sc-domain:example.com and summarize warnings, errors, submitted URLs, and indexed URLs.
Common Google Search Console sitemap workflows include:
Use scripts/searchconsole.py.
List sitemap status:
python3 scripts/searchconsole.py \
--api-key "YOUR_API_KEY" \
--connection-id "sc-domain:example.com" \
--limit 200
Use custom metrics and dimensions:
python3 scripts/searchconsole.py \
--api-key "YOUR_API_KEY" \
--connection-id "sc-domain:example.com" \
--metrics "warnings,errors,contents_submitted,contents_indexed" \
--dimensions "site_url,sitemap_path,content_type,last_downloaded,is_pending" \
--limit 100
Use an environment variable instead of passing the API key in the command:
export MYBRANDMETRICS_API_KEY="YOUR_API_KEY"
python3 scripts/searchconsole.py \
--connection-id "sc-domain:example.com" \
--limit 200
| Parameter | Required | Purpose |
|---|---|---|
| --- | --- | --- |
--api-key | Yes, unless MYBRANDMETRICS_API_KEY is set | MyBrandMetrics API key. |
--connection-id | Yes | Google Search Console property connection ID, such as sc-domain:example.com. |
--account-id | No | Account ID. Defaults to the connection ID when omitted. |
--metrics | No | Comma-separated sitemap metrics. |
--dimensions | No | Comma-separated sitemap dimensions. |
--filter | No | Filter in field:operator:value format. Repeat for multiple filters. |
--limit | No | Maximum rows to return. Default is 200. |
--compact | No | Print compact JSON instead of indented JSON. |
Default metrics:
warningserrorscontents_submittedcontents_indexedsitemaps_countDefault dimensions:
site_urlsitemap_pathcontent_typelast_downloadedis_pendingGoogle Search Console data can lag by several days, so new sitemap submissions
or recent indexing changes may not appear immediately.
共 1 个版本