微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Google Search Console

Google Search Console · v0.1.1
安全 unknown 级 作者 hith3sh 公开目录收录
2.3k 下载 32 安装 4.9k 收藏 1 浏览

简介

Google Search Console

原始描述

Google Search Console API integration with managed OAuth. Query search performance analytics, inspect URL indexing status, review sitemaps, and manage verifi...

通过你的 Agent 添加

安装目录:google-search-console-seo/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/google-search-console-21819/
Codex CLI~/.codex/skills/google-search-console-21819/
DeepSeek Harness~/.agents/skills/google-search-console-21819/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: google-search-console-seo description: Google Search Console API integration with managed OAuth. Query search performance analytics, inspect URL indexing status, review sitemaps, and manage verified site properties. Use this skill when users want to monitor SEO performance or troubleshoot indexing issues.

Google Search Console

Access Google Search Console via the Search Console API with managed OAuth authentication. Query search performance, inspect indexing status, review sitemaps, and manage verified sites.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure Google Search Console API access yourself.

Setup in 3 Steps

Step 1: Install Step 2: Pair Account Step 3: Connect Search Console
Install Pair App-specific connection GIF coming soon
Run the install command in OpenClaw Sign in and approve the device Open the dashboard and connect Google Search Console

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│   Google Search  │
│   (User Chat)   │     │   (OAuth)    │     │   Console API    │
└─────────────────┘     └──────────────┘     └──────────────────┘
         │                       │                       │
         │  1. Install Plugin    │                       │
         │  2. Pair Device       │                       │
         │  3. Connect GSC       │                       │
         │                       │  4. Secure Token       │
         │                       │  5. Proxy Requests    │
         │                       │                       │
         ▼                       ▼                       ▼
   ┌──────────┐           ┌──────────┐           ┌──────────┐
   │  SKILL   │           │ Dashboard│           │  Search  │
   │  File    │           │ Auth     │           │  Console │
   └──────────┘           └──────────┘           └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for Google Search Console again."

Quick Start

# List verified sites
clawlink_call_tool --tool "google_search_console_list_sites" --params '{}'

# Query search analytics
clawlink_call_tool --tool "google_search_console_search_analytics_query" --params '{"site_url": "https://example.com/", "start_date": "2024-01-01", "end_date": "2024-01-31"}'

# Inspect a URL
clawlink_call_tool --tool "google_search_console_inspect_url" --params '{"site_url": "https://example.com/", "inspection_url": "https://example.com/page/"}'

Authentication

All Google Search Console tool calls are authenticated automatically by ClawLink using the user's connected Google account.

No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every Search Console API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=google-search-console and connect Google Search Console.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for google-search-console in the list.

Verify Connection

clawlink_list_tools --integration google-search-console

Response: Returns the live tool catalog for Google Search Console.

Reconnect

If Google Search Console tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=google-search-console
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration google-search-console

Security & Permissions

  • Access is scoped to sites verified in the connected Google Search Console account.
  • All write operations require explicit user confirmation. Before executing any site addition, removal, or sitemap submission, confirm the target and intended effect with the user.
  • Destructive actions (delete site) are marked as high-impact and must be confirmed.

Tool Reference

Site Management

Tool Description Mode
google_search_console_list_sites List all verified sites (URL-prefix and domain properties) owned by the user Read
google_search_console_get_site Get details and permission level for a specific site Read
google_search_console_add_site Register a new site property in Search Console Write
google_search_console_delete_site Remove a site from Search Console tracking Write

Search Analytics

Tool Description Mode
google_search_console_search_analytics_query Query clicks, impressions, CTR, and position metrics Read

URL Inspection

Tool Description Mode
google_search_console_inspect_url Inspect a specific URL for indexing status and issues Read

Sitemap Management

Tool Description Mode
google_search_console_list_sitemaps List all sitemaps submitted for a site Read
google_search_console_get_sitemap Get sitemap metadata (submitted/indexed counts, errors, timestamps) Read
google_search_console_submit_sitemap Submit or resubmit a sitemap for a verified property Write

Code Examples

List verified sites

clawlink_call_tool --tool "google_search_console_list_sites" \
  --params '{}'

Query search analytics for a date range

clawlink_call_tool --tool "google_search_console_search_analytics_query" \
  --params '{
    "site_url": "https://example.com/",
    "start_date": "2024-01-01",
    "end_date": "2024-01-31",
    "dimensions": ["query", "page"]
  }'

Query analytics filtered by country

clawlink_call_tool --tool "google_search_console_search_analytics_query" \
  --params '{
    "site_url": "https://example.com/",
    "start_date": "2024-01-01",
    "end_date": "2024-01-31",
    "dimensions": ["country"],
    "row_limit": 50
  }'

Inspect a URL for indexing issues

clawlink_call_tool --tool "google_search_console_inspect_url" \
  --params '{
    "site_url": "https://example.com/",
    "inspection_url": "https://example.com/important-page/"
  }'

Submit a sitemap

clawlink_call_tool --tool "google_search_console_submit_sitemap" \
  --params '{
    "site_url": "https://example.com/",
    "feedpath": "/sitemap.xml"
  }'

Add a new site

clawlink_call_tool --tool "google_search_console_add_site" \
  --params '{
    "site_url": "https://newsite.example.com/"
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm Google Search Console is connected.
  2. Call clawlink_list_tools --integration google-search-console to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration google-search-console.
  5. If no Google Search Console tools appear, direct the user to https://claw-link.dev/dashboard?add=google-search-console.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → get → query → inspect → call                        │
│                                                             │
│  Example: List sites → Query analytics → Show results       │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                    │
│  describe → preview → confirm → call                        │
│                                                             │
│  Example: Describe tool → Preview → User approves            │
│           → Execute sitemap submission                      │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer listing sites, querying analytics, and inspecting URLs before writes.
  4. For sitemap submissions, site additions or removals, or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • The site_url parameter must exactly match the property as returned by list_sites — include protocol, subdomain, and trailing slash where applicable.
  • search_analytics_query only returns URLs with at least one impression; missing rows do not confirm non-indexing.
  • Position is an impression-weighted average rank across all queries.
  • Sitemap metadata (errors, warnings, submitted, indexed) may be returned as strings — cast to integers before comparisons.
  • Results may reflect cached data lagging real changes by several days.
  • High-volume inspect_url usage can trigger 429 quota errors — limit to priority URLs.
  • Numeric fields in sitemap responses can lag several days after submission.

Error Handling

Status / Error Meaning
Tool not found The tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration google-search-console.
Missing connection Google Search Console is not connected. Direct the user to https://claw-link.dev/dashboard?add=google-search-console.
NOT_VERIFIED Site is not verified in Search Console. Complete verification first.
FORBIDDEN No permission level for the requested site.
INVALID_ARGUMENT Invalid parameter or missing required field. Review the tool schema with clawlink_describe_tool.
Write rejected User did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:
    openclaw plugins list
    
  2. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  3. If a fresh chat does not help, run:
    openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
    openclaw gateway restart
    
  4. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly google-search-console.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources


Powered by ClawLink — an integration hub for OpenClaw

ClawLink Logo

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill