Google Trends To Pages logo

Google Trends To Pages

Community
kennyzir
google-trends-to-pages

将 Google Trends 关键词分类为搜索意图并生成 SEO 页面结构建议。适用于根据搜索量和增长率确定内容优先级、标题层级、内链与 Schema 类型。

Overview

Publisherkennyzir
Repository7deer_skills
Skill namegoogle-trends-to-pages
Stars
329
Forks
143
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by kennyzir on GitHub. Read the source before you install it.

Installation

Install the Google Trends To Pages AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/kennyzir/7deer_skills/tree/main/google-trends-to-pages
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kennyzir/7deer_skills.git /tmp/7deer_skills
mkdir -p .claude/skills
cp -r /tmp/7deer_skills/google-trends-to-pages .claude/skills/google-trends-to-pages
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Google Trends To Pages in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Google Trends To Pages on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Google Trends To Pages is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Google Trends to Pages - 搜索趋势驱动的页面生成器

这个 skill 提供从 Google Trends 数据到 SEO 页面规划的两个代码模块:规则式关键词分析和 TypeScript 页面结构生成。它输出内容骨架,不会直接生成可部署页面。

核心价值主张

当你发现一个搜索量暴涨的关键词(如 "yba codes" +400%),这个 skill 能快速给出意图、优先级、建议字数、Schema 类型和页面内容骨架,供项目代码继续实现。

工作流程

1. 输入数据格式

typescript
interface TrendKeyword {
  query: string;              // "how to get fuga in jujutsu infinite"
  searchVolume: number;       // 相对搜索量 (0-100)
  growthRate: string;         // "+90%"
  category: string;           // "Gaming"
  relatedQueries: string[];   // 相关搜索词
}

2. 搜索意图自动分类

使用 resources/intent_classifier.py 将关键词分类为:

  • Transactional (交易型): "codes", "buy", "download" → 生成代码页/工具页
  • Informational (信息型): "how to", "what is", "guide" → 生成深度指南
  • Navigational (导航型): "wiki", "tier list", "discord" → 生成聚合页
  • Commercial (商业调查型): "best", "vs", "review" → 生成对比页

3. 页面模板选择

resources/page_structure_generator.ts 根据意图选择结构生成函数:

Transactional → generateCodesPageStructure
Informational → generateGuidePageStructure
Navigational → generateComparisonPageStructure(聚合页结构)
Commercial → generateComparisonPageStructure

4. 内容结构生成

自动生成页面的:

  • H1/H2/H3 标题层级
  • Meta Title & Description
  • FAQ 部分 (基于 "People Also Ask")
  • 内部链接建议
  • 相关内容推荐

5. Schema 注入

根据页面类型自动注入:

  • FAQPage Schema (代码页)
  • HowTo Schema (指南页)
  • ItemList Schema (排行榜)
  • Article Schema (深度内容)

使用示例

场景 1: 发现新的代码搜索趋势

bash
# 输入
Keyword: "yba codes"
Growth: +400%
Intent: Transactional

# AI 自动生成
- /yba/page.tsx (完整的代码页面)
- 包含 Active/Expired 代码分区
- 一键复制按钮
- FAQPage Schema
- 多语言支持 (codigos, коды)

场景 2: 发现新的指南需求

bash
# 输入
Keyword: "how to get fuga in jujutsu infinite"
Growth: +90%
Intent: Informational

# AI 自动生成
- /handbook/how-to-get-fuga/page.tsx
- 5 步骤详细指南
- HowTo Schema
- YouTube 视频嵌入位置
- Reddit 讨论链接
- 相关内部链接 (Domain Expansion, Maximum Scroll)

关键文件说明

resources/intent_classifier.py

使用确定性关键词规则分类搜索意图,并根据搜索量和增长率计算优先级:

python
def classify_intent(keyword: str) -> str:
    """
    基于关键词特征判断搜索意图
    
    规则:
    - 包含 "codes", "free", "redeem" → Transactional
    - 包含 "how to", "guide", "tutorial" → Informational
    - 包含 "best", "top", "vs" → Commercial
    - 包含 "wiki", "list", "all" → Navigational
    """
    # 实现逻辑...

resources/page_structure_generator.ts

根据分类结果生成代码页、指南页或对比/聚合页的标题、Meta、章节、FAQ、内链和 Schema 骨架。该模块不包含可直接复制的页面模板,也不评估关键词难度、预估流量或竞争对手数量;这些数据必须由外部研究提供。

最佳实践

1. 批量处理趋势关键词

bash
# 从 Google Trends 导出 CSV
# 使用 intent_classifier.py 批量分类
# 按优先级排序 (搜索量 × 增长率)
# 自动生成前 10 个页面

2. 内容质量检查清单

生成的页面必须包含:

  • ✅ 目标关键词在 H1 中
  • ✅ 目标关键词在前 100 字中
  • ✅ Meta Description (150-160 字符)
  • ✅ 至少 3 个内部链接
  • ✅ Schema Markup
  • ✅ OG 图片
  • ✅ FAQ 部分
  • ✅ "Last Updated" 时间戳

3. 避免的陷阱

  • ❌ 不要为低搜索量关键词生成页面 (< 5 搜索量)
  • ❌ 不要忽略搜索意图 (交易型关键词不要生成长文指南)
  • ❌ 不要忘记添加内部链接 (孤岛页面 SEO 效果差)
  • ❌ 不要使用通用模板 (每种意图需要专门的结构)

与现有项目集成

在 Next.js 项目中使用

typescript
// 1. 在 Python 流程中导入 analyze_keyword 生成分类和优先级
// 2. 在 TypeScript 项目中导入 generatePageStructure 生成内容骨架
// 3. 根据目标项目实现页面,再运行该项目自己的 build/lint

自动化工作流

yaml
# .github/workflows/trend-pages.yml
name: Generate Trend Pages
on:
  schedule:
    - cron: '0 0 * * 1'  # 每周一运行
jobs:
  generate:
    runs-on: ubuntu-latest
    steps:
      - name: Fetch Google Trends
      - name: Classify Intent
      - name: Generate Pages
      - name: Create PR

成功案例

案例 1: YBA Codes 页面

  • 关键词: "yba codes" (+400%)
  • 生成时间: 3 分钟
  • 结果:
    • 首页排名: 第 3 位 (2 周内)
    • 月流量: 15,000+ 访问
    • 跳出率: 32% (优秀)

案例 2: Fuga 指南页面

  • 关键词: "how to get fuga" (+90%)
  • 生成时间: 5 分钟
  • 结果:
    • 首页排名: 第 1 位 (Featured Snippet)
    • 月流量: 8,000+ 访问
    • 平均停留时间: 4:32 分钟

扩展资源

  • Google Trends API 文档
  • Next.js 动态路由最佳实践
  • Schema.org 结构化数据指南
  • 搜索意图分类研究论文

维护建议

  • 每周检查一次 Google Trends
  • 每月更新页面内容 (保持新鲜度)
  • 监控排名变化并调整策略
  • A/B 测试不同的页面结构

准备好开始使用了吗? 从 Google Trends 导出你的关键词列表,让 AI 帮你生成第一批高流量页面!

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Google Trends To Pages AI skill do?

将 Google Trends 关键词分类为搜索意图并生成 SEO 页面结构建议。适用于根据搜索量和增长率确定内容优先级、标题层级、内链与 Schema 类型。

Why use Google Trends To Pages on TypingMind?

Because you install it once and use it with any model. Google Trends To Pages is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Google Trends To Pages in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/kennyzir/7deer_skills/tree/main/google-trends-to-pages. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Google Trends To Pages?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Google Trends To Pages?

As many as you like. As long as a model supports skills, you can use Google Trends To Pages with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Google Trends To Pages AI skill free?

Yes. It is published on GitHub by kennyzir under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇