Google Search Console

👤 hith3sh 📦 v1.0.5 ⭐ 4.5 ⬇️ 4.7K 下载
📊 数据分析 免费

📖 技能介绍


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

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.

这个技能的最新版本可以在7w4.net小葱技能站找到。

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: bash 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: bash 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

🤖 AI 评测

这个 Skill 质量不错,文档写得清楚易懂,安装和使用步骤都有详细说明,还配了故障排除指南,遇到问题也知道怎么解决。功能覆盖了搜索分析、URL 检查、站点地图管理等核心需求。主要不足是它本身只是个使用说明书,实际操作全靠外部服务,如果那个服务出问题就用不了了。普通用户如果能接受这个依赖关系,日常用来查 SEO 数据是够用的。

📊 多维度评分

适应性4.5
规范性4.7
有效性4.5
可靠性4.3
可信度4.3

📁 包含文件 (2 个)

📄 SKILL.md 13.8 KB
📄 _meta.json 144 B