Seo 标志

Seo

社区
dalroot
seo

Deterministic LLM-first SEO audits for websites, blog posts, and GitHub repositories. Use this when the user asks to "perform SEO analysis", "run SEO audit", "analyze SEO", "check technical SEO", "review schema", "Core Web Vitals", "E-E-A-T", "hreflang", "GEO", "AEO", or GitHub repository SEO optimization. For full/page/repo audits, run bundled scripts for evidence and return prioritized, confidence-labeled fixes.

概览

发布者dalroot
代码仓库agentic-seo
技能名称seo
星标数
26
复刻数
3
附带文件
199
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 199 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dalroot/agentic-seo.git \
  .claude/skills/seo
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

SEO Skill (Agentic / Claude / Codex)

LLM-first SEO analysis skill with 16 specialized sub-skills, 10 specialist agents, and 89 scripts for website, blog, and GitHub repository optimization.

Deterministic Trigger Mapping

For prompt reliability in Codex/agent IDEs, map common user wording to a fixed workflow:

  • If user says perform seo analysis on <url> (or similar generic SEO request with a URL), treat it as a single-URL full audit.
  • If no explicit sub-skill is specified, run the full/page audit path with LLM-first reasoning and script-backed evidence.
  • For full/page audits, always produce:
    • FULL-AUDIT-REPORT.md (detailed findings)
    • ACTION-PLAN.md (prioritized fixes)
  • If generate_report.py is run, also return the saved HTML path (for example SEO-REPORT.html).

Available Commands

CommandSub-SkillDescription
seo audit <url>seo-auditFull website audit with scoring
seo page <url>seo-pageDeep single-page analysis
seo technical <url>seo-technicalTechnical SEO checks
seo content <url>seo-contentContent quality & E-E-A-T
seo schema <url>seo-schemaSchema detection/validation/generation
seo sitemap <url>seo-sitemapSitemap analysis & generation
seo images <url>seo-imagesImage optimization audit
seo geo <url>seo-geoAI search optimization (GEO)
seo programmatic <url>seo-programmaticProgrammatic SEO safeguards
seo competitors <url>seo-competitor-pagesComparison/alternatives pages
seo hreflang <url>seo-hreflangInternational SEO validation
seo plan <url>seo-planStrategic SEO planning
seo github <repo_or_url>seo-githubGitHub repository discoverability, README, topics, community health, and traffic archival
seo article <url>seo-articleArticle data extraction & LLM optimization
seo links <url>seo-linksExternal backlink profile & link health
seo aeo <url>seo-aeoAnswer Engine Optimization (Featured Snippets, PAA, Knowledge Panel)

Orchestration Logic

When the user requests SEO analysis, follow this routing:

Step 1 — Identify the Task

Parse the user's request to determine which sub-skill(s) to activate:

  • Full audit: Read resources/skills/seo-audit.md — crawl multiple pages, delegate to agents, score and report
  • Single page: Read resources/skills/seo-page.md — deep dive on one URL
  • Specific area: Read the matching resources/skills/seo-*.md file
  • Strategic plan: Read resources/skills/seo-plan.md and the matching resources/templates/*.md for the detected industry
  • Marketing, Content, or Paid Ads: If the user asks for broader marketing strategy, content generation, social media plans, or paid ads, silently read the relevant skill files in the skills/ directory (which contains over 160 native IDE skills).
  • GitHub repository SEO: Read resources/skills/seo-github.md and use GitHub scripts with --provider auto for API/gh fallback.
  • Generic perform seo analysis on <url> request: treat as single-page full audit, read resources/skills/seo-page.md, and generate FULL-AUDIT-REPORT.md + ACTION-PLAN.md.

Step 2 — Collect Evidence

Primary method (LLM-first) — use the built-in read_url_content tool first:

read_url_content(url)  →  returns parsed HTML content directly

Use this as the baseline evidence for reasoning.

Deterministic verification (recommended when script execution is available):

bash
# Fetch/parse raw HTML for structured checks
python3 <SKILL_DIR>/scripts/fetch_page.py <url> --output /tmp/page.html
python3 <SKILL_DIR>/scripts/parse_html.py /tmp/page.html --url <url> --json

# Optional: generate shareable HTML dashboard artifact
python3 <SKILL_DIR>/scripts/generate_report.py <url> --output SEO-REPORT.html

Do not use third-party mirrors (e.g., r.jina.ai) as primary evidence when direct site fetch or bundled scripts are available. <SKILL_DIR> = absolute path to this skill directory (the folder containing this SKILL.md).

Step 3 — Perform LLM-First Analysis

Use the LLM as the primary SEO analyst:

  1. Synthesize evidence from page content, metadata, and optional script outputs.
  2. Produce findings with explicit proof:
    • Finding
    • Evidence (specific element, metric, or snippet)
    • Impact (why it matters for ranking/indexing/UX)
    • Fix (clear implementation step)
  3. Prioritize by impact and implementation effort.
  4. Separate confirmed issues, likely issues, and unknowns (missing data).

Always read and apply resources/references/llm-audit-rubric.md to keep scoring, severity, confidence, and output structure consistent across audit types.

Step 4 — Run Baseline Verification Scripts (When execution is available)

For full/page audits, run baseline checks to avoid hypothesis-only reporting. Do not replace LLM reasoning with script-only scoring.

bash
# Check robots.txt and AI crawler management
python3 <SKILL_DIR>/scripts/robots_checker.py <url>

# Check llms.txt for AI search readiness
python3 <SKILL_DIR>/scripts/llms_txt_checker.py <url>

# Get Core Web Vitals from PageSpeed Insights (free API, no key needed)
python3 <SKILL_DIR>/scripts/pagespeed.py <url> --strategy mobile

# Check security headers (HSTS, CSP, X-Frame-Options, etc.)
python3 <SKILL_DIR>/scripts/security_headers.py <url>

# Detect broken links on a page (404s, timeouts, connection errors)
python3 <SKILL_DIR>/scripts/broken_links.py <url> --workers 5

# Trace redirect chains, detect loops and mixed HTTP/HTTPS
python3 <SKILL_DIR>/scripts/redirect_checker.py <url>

# Analyze readability from fetched HTML (Flesch-Kincaid, grade level, sentence stats)
python3 <SKILL_DIR>/scripts/readability.py /tmp/page.html --json

# Validate Open Graph and Twitter Card meta tags
python3 <SKILL_DIR>/scripts/social_meta.py <url>

# Analyze internal link structure, find orphan pages
python3 <SKILL_DIR>/scripts/internal_links.py <url> --depth 1 --max-pages 20

# Extract article content and perform keyword research for LLM-driven optimization
python3 <SKILL_DIR>/scripts/article_seo.py <url> --keyword "<optional_target_keyword>" --json

# Credentials for paid/auth APIs (PageSpeed, GitHub, GSC, Knowledge Graph)
# are loaded from CLI flags, then env vars, then a `.env` file in the repo
# root / cwd / `~/.agentic-seo/.env`. Copy `.env.example` to `.env` and fill
# in only the keys you have. Never paste secrets in prompts.

# GitHub repository SEO (provider fallback: auto|api|gh)
# Auth setup (choose one):
# export GITHUB_TOKEN="ghp_xxx"   # or export GH_TOKEN="ghp_xxx"
# gh auth login -h github.com && gh auth status -h github.com
python3 <SKILL_DIR>/scripts/github_repo_audit.py --repo <owner/repo> --provider auto --json
python3 <SKILL_DIR>/scripts/github_readme_lint.py README.md --json
python3 <SKILL_DIR>/scripts/github_community_health.py --repo <owner/repo> --provider auto --json
# Benchmark/competitor inputs should be provided by LLM/web-search discovery when possible.
# If omitted, github_seo_report.py auto-derives repo-specific benchmark queries.
python3 <SKILL_DIR>/scripts/github_search_benchmark.py --repo <owner/repo> --query "<llm_or_web_query>" --provider auto --json
python3 <SKILL_DIR>/scripts/github_competitor_research.py --repo <owner/repo> --query "<llm_or_web_query>" --provider auto --top-n 6 --json
python3 <SKILL_DIR>/scripts/github_competitor_research.py --repo <owner/repo> --competitor <owner/repo> --competitor <owner/repo> --provider auto --json
python3 <SKILL_DIR>/scripts/github_traffic_archiver.py --repo <owner/repo> --provider auto --archive-dir .github-seo-data --json
python3 <SKILL_DIR>/scripts/github_seo_report.py --repo <owner/repo> --provider auto --markdown GITHUB-SEO-REPORT.md --action-plan GITHUB-ACTION-PLAN.md --json
# Optional: increase/reduce auto-derived query volume (default: 6)
# python3 <SKILL_DIR>/scripts/github_seo_report.py --repo <owner/repo> --provider auto --auto-query-max 8 --markdown GITHUB-SEO-REPORT.md --action-plan GITHUB-ACTION-PLAN.md --json

If a check fails due network, DNS, permissions, or API rate limits:

  • Report it explicitly as an environment limitation, not a confirmed site issue.
  • Keep confidence as Hypothesis for impacted categories.
  • Continue with available evidence instead of stopping the audit.
  • Do not enter repeated fallback loops. Retry a failed source at most once, then finalize the audit.
  • Do not pivot into repeated web-search scraping loops for the same URL.

Visual analysis (requires Playwright — use conda activate pentest if available):

bash
# Capture screenshots (desktop, laptop, tablet, mobile)
python3 <SKILL_DIR>/scripts/capture_screenshot.py <url> --all

# Analyze visual layout, above-the-fold, mobile responsiveness
python3 <SKILL_DIR>/scripts/analyze_visual.py <url> --json

HTML Report Generator — generates a self-contained interactive HTML dashboard:

bash
# Generate full SEO report (runs scripts automatically, saves HTML to PWD)
python3 <SKILL_DIR>/scripts/generate_report.py <url>
python3 <SKILL_DIR>/scripts/generate_report.py <url> --output custom-report.html

Step 5 — Delegate to Specialist Agents

For comprehensive audits, read the relevant agent file from resources/agents/ to adopt the specialist role:

AgentFileFocus Area
Technical SEOseo-technical.mdCrawlability, indexability, security, URLs, mobile, CWV, JS rendering
Content Qualityseo-content.mdE-E-A-T assessment, content metrics, AI content detection
Performanceseo-performance.mdCore Web Vitals (LCP, INP, CLS), optimization recommendations
Schema Markupseo-schema.mdDetection, validation, generation of JSON-LD structured data
Sitemapseo-sitemap.mdXML sitemap validation, generation, quality gates
Visual Analysisseo-visual.mdScreenshots, above-the-fold, responsiveness, layout
Verifier (global)seo-verifier.mdDeduplicate findings, suppress contradictions, and validate evidence relevance before final report

Step 6 — Apply Quality Gates

Reference the quality standards in resources/references/:

Step 6.5 — Verify Findings (All Workflows)

Before writing final reports, run verification:

bash
python3 <SKILL_DIR>/scripts/finding_verifier.py --findings-json <raw_findings.json> --json

Use verified output for final report tables, not raw findings.

Step 7 — Score and Report

Use numeric scores as guidance, not as a replacement for evidence quality and judgment.

Default Scoring Weights (Full Audit)

Canonical source of truth — These weights are defined here and in resources/skills/seo-audit.md. Do not modify weights in individual sub-skill files; update only these two locations to keep scores consistent.

CategoryWeight
Technical SEO25%
Content Quality20%
On-Page SEO15%
Schema / Structured Data15%
Performance (CWV)10%
Image Optimization10%
AI Search Readiness (GEO)5%

If using scripts/generate_report.py, the automated dashboard uses script-level category weights defined in that script. Keep the narrative audit LLM-first and evidence-first.

Step 8 — Mandatory Deliverables

For seo audit, seo page, and generic perform seo analysis on <url> flows:

  1. Create FULL-AUDIT-REPORT.md in the current working directory at the start of the audit, then update it as evidence is collected.
  2. Create ACTION-PLAN.md in the current working directory at the start of the audit, then update it with prioritized fixes.
  3. If HTML dashboard was generated, include its exact saved path (for example SEO-REPORT.html or an absolute path).
  4. In the final response, explicitly list generated artifacts and paths.
  5. If technical checks are blocked by environment limits, still write both markdown files and include an "Environment Limitations" section.
Score Interpretation
ScoreRating
90-100Excellent
70-89Good
50-69Needs Improvement
30-49Poor
0-29Critical

Industry Detection

When running seo plan, detect the business type and load the matching template:

IndustryTemplate File
SaaS / Softwaresaas.md
Local Service Businesslocal-service.md
E-commerce / Retailecommerce.md
Publisher / Mediapublisher.md
Agency / Consultancyagency.md
Other / Genericgeneric.md

Detection signals:

  • SaaS: pricing page, feature pages, /docs, /api, trial/demo CTAs
  • Local: address, phone, Google Business Profile, service area pages
  • E-commerce: product pages, cart, checkout, /collections, /categories
  • Publisher: article dates, author pages, /news, high content volume
  • Agency: case studies, /work, /portfolio, team pages, service offerings

Schema Templates

Pre-built JSON-LD templates are available in templates.json for:

  • Common: BlogPosting, Article, Organization, LocalBusiness, BreadcrumbList, WebSite (with SearchAction)
  • Video: VideoObject, BroadcastEvent, Clip, SeekToAction
  • E-commerce: ProductGroup (variants), OfferShippingDetails, Certification
  • Other: SoftwareSourceCode, ProfilePage (E-E-A-T author pages)

Validation Scripts

Two validation scripts are available for CI/CD integration:

Pre-commit SEO Check

bash
bash <SKILL_DIR>/scripts/pre_commit_seo_check.sh

Checks staged HTML files for: placeholder text in schema, title tag length, missing alt text, deprecated schema types, FID references (should be INP), meta description length.

Schema Validator

bash
python3 <SKILL_DIR>/scripts/validate_schema.py <file_path>

Validates JSON-LD blocks in HTML files: JSON syntax, @context/@type presence, placeholder text, deprecated/restricted types.

Skill Inventory Validator

bash
python3 <SKILL_DIR>/scripts/validate_skill_inventory.py

Validates documented sub-skill, agent, and script counts against files on disk. CI uses this to prevent README/SKILL inventory drift.

Reference Freshness Validator

bash
python3 <SKILL_DIR>/scripts/reference_freshness.py <SKILL_DIR>/resources/references --max-age-days 90

Checks that every reference file has a <!-- Updated: YYYY-MM-DD --> marker and flags references older than the configured freshness window.


Output Format

All sub-skill reports should use consistent severity levels:

  • 🔴 Critical — Directly impacts rankings or indexing (fix immediately)
  • ⚠️ Warning — Optimization opportunity (fix within 1 month)
  • ✅ Pass — Meets or exceeds standards
  • ℹ️ Info — Not applicable or informational only

Structure reports as:

  1. Summary table with element, value, and severity
  2. Detailed findings grouped by category
  3. Actionable recommendations ordered by impact

Critical Rules

  1. INP not FID — FID was removed September 9, 2024. The sole interactivity metric is INP (Interaction to Next Paint). Never reference FID.
  2. FAQ schema is restricted — FAQPage schema is limited to government and healthcare authority sites only (August 2023). Do NOT recommend for commercial sites.
  3. HowTo schema is deprecated — Rich results fully removed September 2023. Never recommend.
  4. JSON-LD only — Always use <script type="application/ld+json">. Never recommend Microdata or RDFa.
  5. E-E-A-T everywhere — As of December 2025, E-E-A-T applies to ALL competitive queries, not just YMYL.
  6. Mobile-first is complete — 100% mobile-first indexing since July 5, 2024.
  7. Location page limits — Warning at 30+ pages, hard stop at 50+ pages. Enforce unique content requirements.
  8. AI crawler management — Check robots.txt for GPTBot, ClaudeBot, PerplexityBot, Applebot-Extended, Google-Extended, Bytespider, CCBot.
  9. LLM-first, resilient pipeline — Start by reading the page with read_url_content, then always run relevant scripts for structured evidence. Scripts are the preferred evidence source — use them actively. However, if any script fails (timeout, network, parsing), the LLM MUST still produce a complete analysis using its own reasoning (confidence: Likely). Never block a report on a single script failure.
  10. Always produce file artifacts for audit flows — FULL-AUDIT-REPORT.md and ACTION-PLAN.md are required outputs for full/page audit requests.
  11. Bound evidence retries — Avoid long search/retry loops. If core checks fail due DNS/network, finalize promptly with confidence labels and file outputs.
  12. Avoid redundant web fallbacks — If direct fetch/scripts fail and one fallback also fails, stop retrying and finish the report with explicit limitations.
  13. Signal freshness tracking — Every reference file should contain a <!-- Updated: YYYY-MM-DD --> comment. Flag any reference file older than 90 days for review. When Google announces algorithm changes, verify affected reference files within 7 days. Key dates to track: core updates (quarterly), schema deprecations (schema-types.md), CWV threshold changes (cwv-thresholds.md).

Dependencies

Optional Script Dependencies

  • Python 3.8+
  • requests (for network analysis scripts)
  • beautifulsoup4 (for HTML parsing scripts)
  • Playwright (for capture_screenshot.py and analyze_visual.py)
    bash
    pip install playwright && playwright install chromium
    Or if using conda: conda activate pentest (if Playwright is pre-installed)

Install Script Dependencies

bash
pip install requests beautifulsoup4

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 139 个文件。

常见问题

Seo AI 技能有什么作用?

Deterministic LLM-first SEO audits for websites, blog posts, and GitHub repositories. Use this when the user asks to "perform SEO analysis", "run SEO audit", "analyze SEO", "check technical SEO", "review schema", "Core Web Vitals", "E-E-A-T", "hreflang", "GEO", "AEO", or GitHub repository SEO optimization. For full/page/repo audits, run bundled scripts for evidence and return prioritized, confidence-labeled fixes.

为什么在 TypingMind 中使用 Seo?

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

如何在 TypingMind 中安装 Seo?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/dalroot/agentic-seo/tree/master。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Seo?

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

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

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

Seo AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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