Seo Llm 标志

Seo Llm

社区
Omar-Obando
seo-llm

Use when optimizing content for LLM-powered search engines (ChatGPT, Perplexity, Gemini, Claude, Bing AI, Qwen), implementing RAG optimization, prompt engineering for search visibility, semantic SEO, and ensuring content ranks highly in AI-driven search results. Includes techniques for ChatGPT SEO, Perplexity Authority, Gemini Rich Results, and Claude Source Attribution.

概览

发布者Omar-Obando
代码仓库qwen-orchestrator
技能名称seo-llm
星标数
53
复刻数
13
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 Omar-Obando 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Seo Llm AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/seo-llm
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/seo-llm .claude/skills/seo-llm
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Seo Llm,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Seo Llm。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Seo Llm 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

SEO LLM Skill — Search Engine Optimization for AI-Driven Search

Overview

This skill provides comprehensive guidance for optimizing content for LLM-powered search engines including ChatGPT, Perplexity, Gemini, Claude, Bing AI, and Qwen. It includes RAG optimization, prompt engineering for search visibility, semantic SEO, and ensuring content ranks highly in AI-driven search results. Based on prompt engineering best practices and RAG optimization techniques.

When to Use

Use this skill when:

  • Optimizing content for ChatGPT search results
  • Optimizing content for Perplexity AI search
  • Optimizing content for Gemini search
  • Optimizing content for Claude search
  • Optimizing content for Bing AI search
  • Optimizing content for Qwen search
  • Implementing RAG optimization techniques
  • Designing semantic SEO strategies for AI search
  • Creating content that ranks in AI-powered search results
  • Implementing prompt engineering for search visibility
  • Optimizing for ChatGPT SEO (OpenAI's search)
  • Optimizing for Perplexity Authority (authoritative sources)
  • Optimizing for Gemini Rich Results (structured data)
  • Optimizing for Claude Source Attribution (source credibility)
  • Implementing semantic keyword targeting
  • Optimizing for conversational search queries
  • Creating content that AI search engines prioritize
  • Implementing entity-based SEO for AI search
  • Optimizing for voice search and natural language queries
  • Creating content with clear answer structures for AI search
  • Implementing schema markup for AI search visibility
  • Optimizing for multi-turn conversation search
  • Creating content that ranks in AI-powered knowledge graphs

Do NOT use this skill when:

  • Optimizing for traditional search engines (Google, Bing, Yahoo) - use traditional SEO skills
  • Designing database schema (use database-design skill)
  • Creating UI components (use frontend-design skill)
  • Implementing basic keyword targeting without AI context (use traditional SEO skill)
  • Managing non-search-related content strategy (use content-strategy skill)
  • Building LLM applications without search optimization needs (use llm-integrations skill)
  • Creating technical documentation without search visibility requirements (use documentation-best-practices skill)

Why avoid: LLM SEO requires different techniques than traditional SEO. Focus on AI search optimization patterns.

Core Concepts

AI Search Engine Landscape

Search EngineKey Optimization FactorBest For
ChatGPTAuthority, recency, relevanceConversational search, Q&A
PerplexityAuthority, citations, depthResearch, detailed answers
GeminiRich results, structured dataVisual search, multimodal
ClaudeSource attribution, credibilityTrust-based search
Bing AIMicrosoft ecosystem integrationEnterprise search
QwenAlibaba ecosystem, Chinese marketChinese language search

RAG Optimization

python
# RAG Pipeline with Re-ranking
from langchain_core.documents import Document
from reranking import RAGPipeline, rerank_documents

# Basic RAG
chunks = [
    "The capital of France is Paris, a beautiful city.",
    "Paris is the capital and most populous city of France.",
    "Have you visited Paris? It's the capital city known for the Eiffel Tower."
]

def basic_rag(query: str, docs: list) -> list:
    """Basic RAG retrieval."""
    vectorstore = FAISS.from_documents(docs, embeddings)
    return vectorstore.similarity_search(query, k=3)

# Advanced RAG with reranking
def advanced_rag(query: str, docs: list) -> list:
    """Advanced RAG with LLM-based reranking."""
    reranked = rerank_documents(query=query, docs=docs, top_n=3)
    return reranked

# Query
query = "What is the capital of France?"
results = advanced_rag(query, chunks)

Prompt Engineering for Search

python
# Optimized prompt for AI search
def create_search_optimized_prompt(topic: str, intent: str = "informational") -> str:
    """Create a prompt optimized for AI search results."""

    prompts = {
        "informational": f"""
        You are an expert on {topic}. Provide a comprehensive, well-structured answer.

        Requirements:
        1. Start with a clear, direct answer
        2. Provide detailed explanations with examples
        3. Include relevant statistics and data
        4. Cite authoritative sources
        5. Use bullet points for key information
        6. End with a concise summary

        Topic: {topic}
        """,

        "comparative": f"""
        Compare and contrast {topic} with relevant alternatives.

        Requirements:
        1. Create a comparison table
        2. List pros and cons for each option
        3. Provide use case recommendations
        4. Include pricing and availability
        5. Cite sources for all claims

        Topic: {topic}
        """,

        "how_to": f"""
        Provide a step-by-step guide for {topic}.

        Requirements:
        1. Number each step clearly
        2. Include prerequisites
        3. Provide code examples where relevant
        4. Include common pitfalls and how to avoid them
        5. End with expected outcomes

        Topic: {topic}
        """
    }

    return prompts.get(intent, prompts["informational"])

Search Engine Optimization Patterns

ChatGPT SEO

python
# ChatGPT SEO Optimization
def optimize_for_chatgpt(content: str) -> dict:
    """Optimize content for ChatGPT search."""

    return {
        "authority_signals": [
            "Cite authoritative sources",
            "Include author credentials",
            "Show recent updates",
            "Link to trusted domains"
        ],
        "structure_signals": [
            "Clear question-answer format",
            "Conversational tone",
            "Direct answers in first paragraph",
            "Use of bullet points for scannability"
        ],
        "engagement_signals": [
            "Answer length: 300-800 words",
            "Include examples and use cases",
            "Address common follow-up questions",
            "Provide actionable takeaways"
        ],
        "optimization_tips": [
            "Use natural language queries",
            "Focus on user intent",
            "Create comprehensive answers",
            "Include relevant keywords naturally"
        ]
    }

# Example usage
chatgpt_optimization = optimize_for_chatgpt("How to use React hooks")

Perplexity Authority

python
# Perplexity Authority Optimization
def optimize_for_perplexity(content: str) -> dict:
    """Optimize content for Perplexity search."""

    return {
        "authority_signals": [
            "Cite multiple authoritative sources",
            "Include direct quotes from experts",
            "Show source credibility metrics",
            "Link to primary sources"
        ],
        "depth_signals": [
            "Comprehensive coverage (1000+ words)",
            "Include historical context",
            "Provide multiple perspectives",
            "Address edge cases"
        ],
        "citation_signals": [
            "Use inline citations",
            "Include source URLs",
            "Show citation count",
            "Link to original research"
        ],
        "optimization_tips": [
            "Create in-depth guides",
            "Include expert quotes",
            "Cite primary sources",
            "Show comprehensive coverage"
        ]
    }

# Example usage
perplexity_optimization = optimize_for_perplexity("Machine learning algorithms")

Gemini Rich Results

python
# Gemini Rich Results Optimization
def optimize_for_gemini(content: str) -> dict:
    """Optimize content for Gemini search."""

    return {
        "rich_signals": [
            "Include structured data (JSON-LD)",
            "Add image captions",
            "Use video schema",
            "Implement FAQ schema"
        ],
        "multimodal_signals": [
            "Include high-quality images",
            "Add alt text descriptions",
            "Use video content",
            "Implement 3D models where relevant"
        ],
        "visual_signals": [
            "Use clear headings",
            "Include infographics",
            "Add comparison tables",
            "Implement collapsible sections"
        ],
        "optimization_tips": [
            "Add JSON-LD structured data",
            "Include high-quality images",
            "Use semantic HTML",
            "Implement schema markup"
        ]
    }

# Example usage with JSON-LD
def create_json_ld_for_gemini():
    """Create JSON-LD schema for Gemini."""
    return {
        "@context": "https://schema.org",
        "@type": "HowTo",
        "name": "How to Optimize for Gemini",
        "description": "Step-by-step guide to optimize content for Gemini search",
        "step": [
            {
                "@type": "HowToStep",
                "name": "Add Structured Data",
                "description": "Implement JSON-LD schema markup"
            },
            {
                "@type": "HowToStep",
                "name": "Optimize Images",
                "description": "Add high-quality images with alt text"
            },
            {
                "@type": "HowToStep",
                "name": "Use Semantic HTML",
                "description": "Implement proper heading hierarchy"
            }
        ]
    }

Claude Source Attribution

python
# Claude Source Attribution Optimization
def optimize_for_claude(content: str) -> dict:
    """Optimize content for Claude search."""

    return {
        "credibility_signals": [
            "Cite peer-reviewed sources",
            "Show author credentials",
            "Include publication dates",
            "Link to original research"
        ],
        "attribution_signals": [
            "Direct quotes with attribution",
            "Paraphrase with citation",
            "Show source credibility",
            "Link to original content"
        ],
        "trust_signals": [
            "No promotional language",
            "Present balanced views",
            "Cite multiple sources",
            "Acknowledge limitations"
        ],
        "optimization_tips": [
            "Cite authoritative sources",
            "Show source credibility",
            "Present balanced views",
            "Include citations"
        ]
    }

# Example usage
claude_optimization = optimize_for_claude("Climate change impacts")

Semantic SEO for AI Search

Entity-Based Optimization

python
# Entity-Based SEO
def optimize_for_entities(topic: str) -> dict:
    """Optimize content for AI search entity recognition."""

    return {
        "primary_entity": topic,
        "related_entities": [
            f"types of {topic}",
            f"benefits of {topic}",
            f"challenges of {topic}",
            f"best practices for {topic}",
            f"tools for {topic}"
        ],
        "entity_relationships": [
            f"{topic} vs alternatives",
            f"{topic} for beginners",
            f"{topic} for experts",
            f"future of {topic}"
        ],
        "optimization_tips": [
            "Use entity names naturally",
            "Create entity-focused content",
            "Link to related entities",
            "Use semantic variations"
        ]
    }

# Example usage
entity_optimization = optimize_for_entities("machine learning")

Conversational Search Optimization

python
# Conversational Search Optimization
def optimize_for_conversational_search(query_type: str) -> str:
    """Optimize content for conversational AI search."""

    conversational_patterns = {
        "question": f"""
        Q: How do I get started with this?

        A: Getting started with this is straightforward. Follow these steps:

        1. **Understand the basics** - Learn the fundamental concepts
        2. **Set up your environment** - Install required tools
        3. **Create your first project** - Build something simple
        4. **Expand your knowledge** - Learn advanced concepts

        For more information, see the comprehensive guide.
        """,

        "comparison": f"""
        Q: What's the difference between option A and option B?

        A: Here's a comparison of option A and option B:

        | Aspect | Option A | Option B |
        |--------|----------|----------|
        | Ease of use | High | Medium |
        | Performance | High | High |
        | Learning curve | Steep | Gentle |

        Choose Option A if you prioritize performance. Choose Option B if you prefer ease of use.
        """,

        "tutorial": f"""
        Q: Can you show me how to do this?

        A: Sure! Here's a step-by-step tutorial:

        **Step 1:** Prepare your environment
        ```python
        # Install required packages
        pip install package-name
        ```

        **Step 2:** Implement the solution
        ```python
        # Your code here
        result = process_data()
        ```

        **Step 3:** Verify the results
        Check that the output matches expected values.
        """
    }

    return conversational_patterns.get(query_type, conversational_patterns["question"])

Best Practices

1. Create Answer-Focused Content

python
# ✅ GOOD: Answer-focused content
def create_answer_focused_content(question: str) -> str:
    """Create content optimized for AI search answers."""

    return f"""
    **Question: {question}**

    **Direct Answer:** [Provide a clear, concise answer in the first paragraph]

    **Detailed Explanation:** [Expand on the answer with detailed information]

    **Examples:** [Include relevant examples]

    **Key Takeaways:** [Summarize the main points]
    """

# ❌ BAD: Information-dump content
def create_information_dump():
    """BAD: No clear answer structure."""
    return "This is a lot of information about the topic..."

2. Optimize for Semantic Search

python
# ✅ GOOD: Semantic search optimization
def optimize_for_semantic_search(topic: str) -> dict:
    """Optimize content for semantic search engines."""

    return {
        "semantic_keywords": [
            f"what is {topic}",
            f"how to use {topic}",
            f"{topic} examples",
            f"{topic} best practices",
            f"{topic} for beginners"
        ],
        "entity_optimization": [
            f"types of {topic}",
            f"benefits of {topic}",
            f"challenges with {topic}"
        ],
        "conversational_phrases": [
            f"I want to learn about {topic}",
            f"Can you explain {topic}",
            f"Show me how to use {topic}"
        ]
    }

3. Implement Schema Markup

python
# ✅ GOOD: Schema markup for AI search
def create_schema_markup(topic: str) -> dict:
    """Create schema markup for AI search visibility."""

    return {
        "@context": "https://schema.org",
        "@type": "Article",
        "headline": f"Complete Guide to {topic}",
        "description": f"A comprehensive guide to {topic} for AI search optimization",
        "author": {
            "@type": "Person",
            "name": "Expert Author"
        },
        "datePublished": "2024-01-01",
        "keywords": f"{topic}, AI search, SEO"
    }

4. Optimize for Voice Search

python
# ✅ GOOD: Voice search optimization
def optimize_for_voice_search(topic: str) -> dict:
    """Optimize content for voice-activated AI search."""

    return {
        "natural_language_phrases": [
            f"what is {topic}",
            f"how does {topic} work",
            f"tell me about {topic}",
            f"explain {topic} to me"
        ],
        "question_format": [
            f"What is {topic}?",
            f"How does {topic} work?",
            f"Can you explain {topic}?"
        ],
        "answer_length": "150-300 words (optimal for voice responses)"
    }

Common Anti-Patterns

❌ Bad: Keyword Stuffing

python
# ❌ BAD: Keyword stuffing
def bad_keyword_stuffing():
    """BAD: Over-optimization with keywords."""
    return """
    machine learning machine learning algorithms machine learning techniques
    machine learning methods machine learning tools machine learning frameworks
    """

Problems:

  • AI search penalizes over-optimization
  • Poor user experience
  • May trigger spam detection

✅ Good: Natural Language

python
# ✅ GOOD: Natural language optimization
def good_natural_language(topic: str):
    """GOOD: Natural language content."""
    return f"""
    {topic} is a powerful technology that enables...

    ## What is {topic}?
    {topic} stands for...

    ## How to Use {topic}
    Here's how you can get started with {topic}...
    """

❌ Bad: No Answer Structure

python
# ❌ BAD: No answer structure
def bad_answer_structure():
    """BAD: No clear answer format."""
    return "This content has information but no clear answer..."

✅ Good: Clear Answer Format

python
# ✅ GOOD: Clear answer format
def good_answer_format(question: str) -> str:
    """GOOD: Clear answer format."""
    return f"""
    **Question: {question}**

    **Answer:** [Direct answer here]

    **Explanation:** [Detailed explanation]

    **Examples:** [Relevant examples]
    """

Real-World Impact

Before this skill:

  • Content not optimized for AI search
  • Low visibility in AI search results
  • Poor performance in ChatGPT, Perplexity, Gemini, Claude searches
  • Missing RAG optimization

After this skill:

  • Content optimized for all AI search engines
  • High visibility in AI search results
  • Optimized for ChatGPT SEO, Perplexity Authority, Gemini Rich Results, Claude Source Attribution
  • Proper RAG implementation for search visibility

Cross-References

  • llm-integrations - For LLM provider configuration
  • langchain - For LangChain RAG implementation
  • langgraph - For stateful RAG workflows
  • qwen-agent - For Qwen-specific search optimization

References

常见问题

Seo Llm AI 技能有什么作用?

Use when optimizing content for LLM-powered search engines (ChatGPT, Perplexity, Gemini, Claude, Bing AI, Qwen), implementing RAG optimization, prompt engineering for search visibility, semantic SEO, and ensuring content ranks highly in AI-driven search results. Includes techniques for ChatGPT SEO, Perplexity Authority, Gemini Rich Results, and Claude Source Attribution.

为什么在 TypingMind 中使用 Seo Llm?

因为您只需安装一次,就能搭配任何模型使用。Seo Llm 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Seo Llm?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/seo-llm。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Seo Llm?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Seo Llm 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Seo Llm 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Seo Llm AI 技能免费吗?

是的。Omar-Obando 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇