Google search console
Query Google Search Console via the Search Console API v1 — search analytics (clicks / impressions / CTR / position), sites, sitemaps and URL inspection. Use when the user mentions Search Console, organic search performance, top queries / pages, indexing status, or sitemaps.From its SKILL.md
npx -y skills add AceDataCloud/Skills --skill google-search-consoleAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.0 KB, 654 tokens by cl100k_base, as published. Nobody here has run it
Query Google Search Console via curl + jq. The user's OAuth bearer token is
in $GOOGLE_SEARCH_CONSOLE_TOKEN (scope webmasters.readonly); every call needs
Authorization: Bearer $GOOGLE_SEARCH_CONSOLE_TOKEN. Base:
https://searchconsole.googleapis.com.
Failures are {"error":{"code","message","status"}} — show verbatim. 401 =
re-install. 403 = the token's account doesn't own/verify that site.
AUTH="Authorization: Bearer $GOOGLE_SEARCH_CONSOLE_TOKEN"
# Verified sites (siteUrl is the property — URL-encode it in later calls)
curl -sS -H "$AUTH" "https://searchconsole.googleapis.com/webmasters/v3/sites" \
| jq '.siteEntry[] | {siteUrl, permissionLevel}'
Search analytics
# Top queries by clicks for the last 28 days. siteUrl must be URL-encoded
# (https%3A%2F%2Fexample.com%2F or sc-domain%3Aexample.com).
SITE="https%3A%2F%2Fexample.com%2F"
curl -sS -X POST -H "$AUTH" -H "Content-Type: application/json" -d '{
"startDate":"2026-05-24","endDate":"2026-06-21",
"dimensions":["query"],"rowLimit":10
}' "https://searchconsole.googleapis.com/webmasters/v3/sites/$SITE/searchAnalytics/query" \
| jq '.rows[] | {query: .keys[0], clicks, impressions, ctr, position}'
Swap dimensions for ["page"], ["country"], ["date"], or combine
["query","page"]. Add "dimensionFilterGroups" to filter by page/country.
Sitemaps & URL inspection
# Submitted sitemaps
curl -sS -H "$AUTH" "https://searchconsole.googleapis.com/webmasters/v3/sites/$SITE/sitemaps" \
| jq '.sitemap[] | {path, lastDownloaded, errors, warnings}'
# Is a URL indexed?
curl -sS -X POST -H "$AUTH" -H "Content-Type: application/json" \
-d '{"inspectionUrl":"https://example.com/page","siteUrl":"https://example.com/"}' \
"https://searchconsole.googleapis.com/v1/urlInspection/index:inspect" \
| jq '.inspectionResult.indexStatusResult | {verdict, coverageState, lastCrawlTime}'
Gotchas
- Two property shapes: URL-prefix (
https://example.com/) vs Domain (sc-domain:example.com). Use exactly thesiteUrlfrom the sites list, URL-encoded. - Data lags ~2–3 days; the most recent dates may be partial/empty — set
endDatea couple days back for stable numbers. ctris 0–1,positionis average rank (lower = better).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.