agentleFS
nc9nc9/skills/google-search-console/SKILL.md

google-search-console

Skill4 starsChanged 2 months agoMITView on GitHub

Query Google Search Console — URL indexing status, search performance (clicks, impressions, CTR, position by query/page/country/device/date), submitted sitemaps, and verified properties. Use for indexing checks, rankings, or search traffic.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read-only Search Console API wrapper: inspect, performance, sitemaps, sites.

    line 9
  2. Very specific:

    Search Console data lags 2-3 days, so the tail of a --days range is usually empty.

    line 48

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Google Search Console

Read-only Search Console API wrapper: inspect, performance, sitemaps, sites.

Requirements

  • GOOGLE_INDEXING_KEY_FILE — service account JSON key path (shared with the google-indexing skill)
  • Service account added as a user on the property; Search Console API enabled in the Cloud project

Commands

./scripts/google_search_console inspect [URLS...] -s sc-domain:example.com [--file urls.txt]
./scripts/google_search_console performance -s sc-domain:example.com [options]
./scripts/google_search_console sitemaps -s sc-domain:example.com
./scripts/google_search_console sites

Options

OptionDescriptionCommands
-s, --siteProperty, e.g. sc-domain:example.comall but sites
-k, --key-fileKey path, overrides envall
-f, --formatjson (default) or tableall
--fileFile of URLs, one per line, # comments skippedinspect
-d, --dimensionquery (default), page, country, device, dateperformance
--daysDays back from today (default 28)performance
--start-dateYYYY-MM-DD, overrides --daysperformance
--end-dateYYYY-MM-DD (default today)performance
-q, --queryFilter: query containsperformance
-p, --pageFilter: page URL containsperformance
-n, --limitMax rows, default 1000, clamped to 25000performance

Output

JSON. inspect: {site, results[]} per URL with verdict, coverage_state, last_crawl_time, page_fetch_state, robots_txt_state, indexing_state, google_canonical, user_canonical, crawled_as, error. performance: {site, start_date, end_date, dimension, rows[]}, rows carrying keys, clicks, impressions, ctr, position. sitemaps: path, submit/download times, warning and error counts. sites: site_url + permission_level.

Gotchas

  • -p on performance is a page filter, not pagination. There is no paging; raise -n. One -d dimension per call, so no query x page breakdowns.
  • Search Console data lags 2-3 days, so the tail of a --days range is usually empty.
  • inspect reads URLs from stdin when none are given as args or via --file; a per-URL failure lands in that row's error and the run still exits 0, so check error before trusting a null verdict.
  • Omitting -s prints the available properties to stderr before exiting — quickest way to find the property string.

API Quotas

QuotaLimit
URL Inspection2,000/day per property, 600/min
Search Analytics1,200 queries/min
Sitemaps / SitesStandard quota

Examples

./scripts/google_search_console inspect "https://example.com/page" -s sc-domain:example.com
./scripts/google_search_console performance -s sc-domain:example.com -d page -n 20 -f table
cat urls.txt | ./scripts/google_search_console inspect -s sc-domain:example.com

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.