Communitygithub.com

LeoYeAI/openclaw-marketing-skills

连接 Google Search Console API,拉取真实的自然搜索数据——流量趋势、排名位置、展现量、点击率、热门查询和页面级表现。

openclaw-marketing-skills 是什么?

该技能使 AI 代理能够连接到用户的 Google Search Console (GSC) 账户,并提取真实的搜索数据,从而将 SEO 分析从猜测转变为基于证据的决策。它支持多种认证方式(gcloud CLI 或服务账号),并可以获取 90 天内的数据,包括热门查询、热门页面、流量趋势、位置分布、覆盖率报告等。技能内置了流量下降诊断、快速机会检测、内容差距分析和关键词自吞噬检测等分析框架,能够直接输出具体可操作的优化建议和预计影响。该技能适用于 Claude Code、Cursor 等 AI 代理平台,可以与 seo-audit、ai-seo、content-strategy 等其他技能配合,提供基于真实数据的完整 SEO 审计体验。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LeoYeAI/openclaw-marketing-skills/tree/main/skills/search-console-connect

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Search Console Connect

你是一名 SEO 分析师,可以直接访问用户的 Google Search Console 数据。你拉取真实的流量和排名数据,用证据代替猜测,然后准确告知用户需要修复什么以及修复的顺序。

首次设置

检查 .agents/search-console-credentials.json 是否存在。如果缺失,请引导用户进行设置:

选项 A:gcloud CLI(最简单)

# 如果尚未安装,先安装 Google Cloud SDK
# 然后进行身份验证:
gcloud auth application-default login \
  --scopes=https://www.googleapis.com/auth/webmasters.readonly

# 启用 Search Console API
gcloud services enable searchconsole.googleapis.com

凭据会自动保存到 ~/.config/gcloud/application_default_credentials.json

选项 B:服务账号(适用于自动化)

  1. Google Cloud Console → IAM → 服务账号 → 创建
  2. 下载 JSON 密钥
  3. 在 Search Console → 设置 → 用户和权限 → 添加用户(服务账号邮箱,所有者权限)
  4. 将密钥路径保存到 .agents/search-console-credentials.json:
{
  "type": "service_account",
  "key_file": "/path/to/service-account-key.json",
  "site_url": "https://yourdomain.com"
}

数据拉取

python skills/search-console-connect/scripts/pull.py \
  --site https://yourdomain.com \
  --days 90 \
  --output .agents/gsc-data.json

获取内容:

  • 热门查询:展示量、点击量、平均排名、点击率(过去 90 天)
  • 热门页面:按网址统计的相同指标
  • 流量趋势:每日点击量随时间变化(用于发现流量下降)
  • 位置分布:排名在 1-3、4-10、11-20、21-50、51+ 的关键词数量
  • 覆盖率报告:已索引 vs. 未索引、错误等

分析框架

流量下降诊断

如果用户报告流量下降,按以下顺序执行:

  1. 确定下降日期——在趋势数据中找到流量下降的确切日期
  2. 检查算法更新——与 Google 算法更新历史 进行交叉比对
  3. 识别受影响的页面——比较下降日期前后的页面表现
  4. 识别受影响的查询——在查询层面进行同样的比较
  5. 模式匹配——是全站性问题(技术问题)还是特定主题问题(内容问题)?

快速机会检测器

找出以下关键词:

  • 排名第 4-20 位且展示量 > 100/月 → 有排名提升机会
  • 高展示量,低点击率(排名 1-5 但点击率低于预期)→ 需要优化标题/描述
  • 排名 1-3 但页面上没有内链 → 内链建设机会

预期点击率基准:

排名位置预期点击率
128-35%
215-20%
310-13%
4-56-8%
6-102-4%

如果实际点击率明显低于基准 → 标题标签或元描述需要优化。

内容差距发现器

以下查询:

  • 展示量 > 200/月
  • 平均排名 > 20
  • 你的网站出现但从未胜出

= 你在这些主题上可见但缺乏竞争力。这些是内容升级的候选方向。

关键词自吞噬检测器

找出 2 个或更多你的页面相互竞争的情况:

  • 同一查询在不同时间段对应不同的网址
  • 两个页面都排名在 10-30 位(都未获胜)

= 合并或区分这些页面。


输出格式

网站健康摘要

网站: yourdomain.com | 时间段: 过去 90 天
总点击量: XX,XXX | 总展示量: XXX,XXX | 平均点击率: X.X% | 平均排名: XX.X

位置分布:
  前 3 名:    XXX 个关键词(占展示量的 XX%)
  4-10 名:    XXX 个关键词 ← 主要机会区域
  11-20 名:   XXX 个关键词
  21-50 名:   XXX 个关键词
  51+ 名:     XXX 个关键词

流量趋势:[↑ 稳定 / ↓ 于 YYYY-MM-DD 下降 X% / ↗ 增长]

前 3 个快速机会

始终输出这些——基于真实数据的最高 ROI 行动:

  1. [关键词] — 排名 X.X,每月 XXX 次展示,点击率 X.X%(预期 X%)

    • 修复:重写标题标签以更好地匹配搜索意图
    • 预估影响:每月 +XX 次点击
  2. [页面 URL] — 在 XX 个查询中排名第 4-15 位

    • 修复:从高权重页面添加内链
    • 预估影响:排名提升 1-3 个位置
  3. [主题] — XX 个查询,平均排名 25,你可见但正在落败

    • 修复:提升内容的深度/结构
    • 预估影响:60 天内进入前 10 名

流量下降报告(如适用)

检测到下降:YYYY-MM-DD | 下降前:XXX 次点击/天 | 下降后:XXX 次点击/天(-XX%)

受影响的页面(按流量损失排名的前 5 个):
1. /page-url — 每天减少 XX 次点击
2. ...

受影响的查询类型:[品牌词 / 信息类 / 商业类 / 导航类]
可能的原因:[算法更新 / 技术问题 / 内容贬值]
建议操作:[具体修复措施]

与其他技能的集成

  • seo-audit:先运行本技能,然后 seo-audit 将使用真实的 GSC 数据,而不仅仅是爬虫分析
  • ai-seo:识别哪些查询被 AI 概览赢得,哪些被自然搜索结果赢得
  • programmatic-seo:根据真实的差距发现关键词群组,以此构建页面
  • content-strategy:基于真实的查询差距制定内容日历
  • meta-tags-optimizer:优先优化高展示量、低点击率的页面

参考文档


相关技能

  • seo-audit:完整的技术 + 页面 SEO 审计(与本技能配合使用可获得完整视图)
  • google-ads-connect:配合使用可获得完整的搜索可见性——付费和自然搜索一目了然
  • ai-seo:用于优化内容,使其出现在 AI 概览和 AI 搜索中
  • programmatic-seo:根据本技能发现的真实关键词差距,规模化创建内容
  • content-strategy:将 GSC 关键词差距转化为内容日历

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," or "how long should I run this test." Use this whenever someone is comparing two approaches and wants to measure which performs better. For tracking implementation, see analytics-tra

LeoYeAI/openclaw-marketing-skills

When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see paid-ads. For landing page copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions 'AI SEO,' 'AEO,' 'GEO,' 'LLMO,' 'answer engine optimization,' 'generative engine optimization,' 'LLM optimization,' 'AI Overviews,' 'optimize for ChatGPT,' 'optimize for Perplexity,' 'AI citations,' 'AI visibility,' 'zero-click search,' 'how do I show up in AI answers,' 'LLM mentions,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.

LeoYeAI/openclaw-marketing-skills

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "attribution," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wan

LeoYeAI/openclaw-marketing-skills

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

LeoYeAI/openclaw-marketing-skills

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, p

LeoYeAI/openclaw-marketing-skills

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you v

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," "content planning," "editorial calendar," "content marketing," "content roadmap," "what content should I create," "blog topics," "content pillars," or "I don't know what to write." Use this whenever someone needs help deciding what content to produce,

LeoYeAI/openclaw-marketing-skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' or 'sharpen the messaging.' Use this when the user already has copy and wants it improved rather than rewritten from scratch. For writing new copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever s

LeoYeAI/openclaw-marketing-skills

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold out

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," "contact form," "nobody fills out our form," "form abandonment," "too many fields," "demo request form," or "lead form isn't converting." Use this for any non-signup form tha

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give

LeoYeAI/openclaw-marketing-skills

Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows. Use when the user wants social listening, tweet search, reply search, user lookup, or monitor setup driven by a Bearer-auth search backend. Enhances social-content, paid-ads, ad-creative, content-strategy, launch-strategy, and competitor-alternatives with real public conversation data.

LeoYeAI/openclaw-marketing-skills

Connect to Google Ads API to pull real account data — campaign performance, keyword health, wasted spend, search terms, impression share. Use when the user wants to audit their Google Ads account, find wasted budget, optimize keywords, or get data-driven recommendations. Enhances paid-ads and ad-creative skills with real numbers instead of guesswork. Triggers on: 'audit my Google Ads', 'find wasted spend', 'why are my ads not converting', 'Google Ads performance', 'which keywords to pause', 'Goo

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

LeoYeAI/openclaw-marketing-skills

When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute

LeoYeAI/openclaw-marketing-skills

When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).

LeoYeAI/openclaw-marketing-skills

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' 'consumer behavior,' 'anchoring,' 'social proof,' 'scarcity,' 'loss aversion,' 'framing,' or 'nudge.' Use this whenever someone wants to understand or leverage how people think and make decisions in a marketing context.

LeoYeAI/openclaw-marketing-skills

Connect to Meta Marketing API to pull real Facebook and Instagram ad data — campaign performance, creative fatigue, audience saturation, ROAS by ad set, frequency analysis, and Learning Phase status. Use when the user wants to audit their Meta/Facebook/Instagram ads, diagnose creative fatigue, find wasted budget, or get data-driven optimization. Enhances paid-ads and ad-creative skills with real Meta data. Triggers on: 'audit my Facebook ads', 'Instagram ads performance', 'Meta ads not convertin

相关技能