Seo Machine 标志

Seo Machine

社区
MoizIbnYousaf
seo-machine

Build an organic-traffic operating system for any site or app: a multi-phase, resumable engine that plans and ships a BATCH ROADMAP of landing pages (use-cases, playbooks, /for/ pages, roundups) on top of real keyword research, with a persistent phase tracker. Use when the user says 'SEO machine', 'build organic traffic', 'rank on Google', 'we need traffic', 'SEO roadmap', 'batch of pages', 'pages roadmap', or 'build an SEO engine'. Distinct from `seo-audit` (one-off diagnostic) and `seo-content` (single-article writer): this skill owns the multi-page roadmap, run sequencing, page generation, internal linking, and the persistent phase tracker across the whole run. For a single alternatives or vs/comparison page, see /competitor-alternatives; for programmatic SEO templates and content at scale, see /seo-content; for off-page link building, see /off-page-seo. Resumable — every invocation continues the last run.

概览

发布者MoizIbnYousaf
代码仓库marketing-cli
技能名称seo-machine
星标数
35
复刻数
5
附带文件
23
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 23 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

SEO Machine

End-to-end engine for building organic search traffic. Ships dozens of programmatic landing pages — alternatives, comparisons, use-cases, playbooks — backed by real keyword research, with a persistent roadmap the user resumes across sessions.

Conversion-first (alternatives + comparisons before blogs). Publish-early (a thin page indexed today beats a perfect page indexed in three weeks). Stack-native (writes into the user's framework — Next.js, Astro, Rails+Inertia, or a portable markdown fallback).

Two modes, auto-detected

ModeWhenWhat it produces
Initializedocs/seo-machine.md does not existStack detection → brand context → keyword research → tech audit → roadmap + link inventory
Resumedocs/seo-machine.md existsReads the tracker, picks the next pending phase (or one the user names), executes end-to-end through the quality gates

Detection rule on every invocation: check docs/seo-machine.md at repo root (or the path recorded in .seo/config.json). No file → Initialize. File exists → Resume. The user does not need to remember which mode they're in.

Publishing Order (the load-bearing decision rule)

The roadmap orders patterns by conversion intent first, traffic intent second. This is the single most important decision the skill makes — it's why the alternatives + comparison pages ship before the playbooks + blog posts.

OrderPatternWhyCost
1/alternatives/[competitor] (Pattern A)Highest conversion intent — the reader is already in market~4 hours per page
2/compare/[a]-vs-[b] (Pattern D)Be the third option in any two-vendor comparison~3 hours per page
3/for/[use-case] and /for/[audience] (Pattern B/C)JTBD without competitor name in query — high TP/volume ratio~4-5 hours per page
4/playbooks/[topic] (Pattern E)Authority + AI-citation surface area + inbound link draw~2-3 days per page
5/blog/... (out of scope here)Lowest conversion intent; defer until ~10 indexed pages exist—

Why this order matters: alternatives pages convert 5–20× blog posts at 1/10 the search volume. Shipping one alternatives page is worth ten generic blog posts on the same topic. The roadmap should reflect this — Phase 0 (tech audit) → Phases 1–N (alternatives, then comparisons, then use-cases) → late phases (playbooks) → never (blogs, unless explicitly requested by the user).

Striking-distance boosts (pages already ranking pos 5–20 in GSC) jump the queue when they exist — fastest wins per hour of work.


On Activation

  1. Load brand context where present: brand/keyword-plan.md, positioning.md, competitors.md, audience.md, stack.md. Missing files are fine.
  2. Surface what loaded:

Backend Selection

Validate KD/competition with OpenSEO get_keyword_metrics / get_serp_results before generating pages; consume openseo-keyword-clustering outputs when present. Qualitative research uses Exa-stack (or manual) per the shared ordered resolver — record research_backend in .seo/config.json. Full contract: skills/openseo/references/backend-contract.md.

Brand context loaded:
├── Keyword Plan    ✓/✗  (seeds the roadmap; ✗ → generate during Initialize)
├── Positioning     ✓/✗  (drives /compare and /alternatives angles)
├── Competitors     ✓/✗  (target list for /alternatives pages)
├── Audience        ✓/✗  (intent buckets for /for/<persona> pages)
└── Stack           ✓/✗  (selects references/stacks/<framework>.md)

Progressive enhancement: with zero brand files the skill still works — it derives signal from the repo during Initialize Step 2. With full brand context it skips re-discovery and goes straight to research + roadmap.

Exa recipes: references/exa-recipes.md + references/api-stack-recipes.md. Manual fallback: references/manual-research.md. Ahrefs is an optional paid overlay only (see Exa recipes appendix).


Hard prerequisites

#CheckFailure mode
1git rev-parse --is-inside-work-tree succeedsStop. Tell the user this skill writes a persistent roadmap; initialize git or run from a repo.
2A stack is detectable — one of package.json, Gemfile, composer.json, requirements.txt, astro.config.*, next.config.*, nuxt.config.*, gatsby-config.*, _config.yml, config.toml, pyproject.tomlAsk the user what stack they're on before continuing.
3Research backend resolved (skills/openseo/references/backend-contract.md)Never refuse to run — fall through to manual mode.

Initialize mode

Goal: end the run with a written docs/seo-machine.md containing keyword research, a phase tracker grouped by pattern, and technical-audit findings — plus .seo/brand.md and .seo/link-inventory.md.

Step 1 — Detect stack + frontend convention

Read references/stacks/detection.md. Identify framework family, routing convention (file-based vs controller-based), component language, and existing marketing pages (git ls-files | grep -iE 'marketing|landing|pages/(home|about|pricing)'). Resolve ambiguity with AskUserQuestion. Persist to .seo/config.json.

Step 2 — Detect brand + product context

Read every signal first, propose .seo/brand.md, then ask only about gaps. Signals: CLAUDE.md, README.md, package.json / Gemfile.lock, tailwind.config.* or design-token CSS, app/views/marketing/* or pages/index.*, pricing page.

If brand/voice-profile.md and brand/positioning.md already exist (mktg-native project), read them and skip 80% of the questions — those files already say who the buyer is and what the brand sounds like.

Otherwise use a single AskUserQuestion (3–4 questions max) to fill gaps. Required to know:

  • Product one-liner (≤20 words)
  • Primary persona (e.g. "B2B SaaS founder", "indie agency owner")
  • 3–7 direct competitors by name
  • Brand voice tags (e.g. "honest, technical, no-jargon")
  • Free tier? (drives the "is [brand] free" keyword strategy)
  • Anti-positioning — what the product does NOT do (used in honest comparison sections)

Write to .seo/brand.md using assets/brand-template.md as the skeleton.

Step 3 — Keyword research (Exa-native stack)

Follow references/exa-recipes.md — 7 Exa-native recipes that replace the Ahrefs cookbook:

RecipePurposePrimary API
A. Domain baselineDR estimate from indexed-page count + brand mentions + GitHub stars (OSS)Exa company_research_exa + web_search_advanced_exa + gh
B. Competitor reverse-lookupWhat competitors rank forExa web_search_advanced_exa site:<competitor> + AI summary
C. Use-case sweep/for/ and /playbooks/ topic discoveryExa deep_search_exa + Firecrawl autocomplete + /last30days
D. Comparison volumeValidate demand for /compare/[a]-vs-[b] before writingExa web_search_advanced_exa + Firecrawl SERP scrape
E. SERP saturationReplaces Ahrefs KD with SERP-composition-derived signalExa search + per-result company_research_exa
F. Backlink prospectingReferring-domain proxy via ExaExa search + DR proxy (see off-page-seo skill)
G. Content gapTheir indexed keywords − ours, ranked by DR-cap fitRecipes B + own-site Exa lookup

Then pull cross-API compound recipes from references/api-stack-recipes.md for moves Ahrefs alone can't do — pain-point cluster discovery (/last30days + mktg-x + Exa deep search), OSS competitor teardown (gh + DeepWiki + Exa), outreach prospect discovery (Exa Websets + people-research), newcomer surveillance (Exa Websets cron).

When Exa is unavailable, fall back to references/manual-research.md (paste-from-UI workflow). When the user has paid Ahrefs, layer it on top per the appendix in exa-recipes.md — don't replace.

Cache the raw output to .seo/keyword-research.json. Curate the decision-ready summary into the Keyword Research Appendix section of docs/seo-machine.md.

Step 4 — Technical foundations audit

Run scripts/tech_audit.py (sitemap, robots, meta-tag uniqueness, schema). Whatever it finds becomes Phase 0 in the roadmap. Day-0 crawl shapes Google's understanding of the site for months — retroactive fixes are harder.

Step 5 — Generate the roadmap

Fill assets/roadmap-template.md with:

  • Site facts (domain, DR, stack, brand colors, fonts) from steps 1–2
  • Reference data — paths to controllers / page files this skill will edit
  • Keyword Research Appendix — curated, grouped by pattern
  • Phase Status Tracker — auto-populated:
    • Phase 0: technical foundations fixes
    • Phase 1+: one row per page candidate
    • Group by pattern. Within a pattern, order by traffic_potential desc → volume desc → KD asc
    • Striking-distance boosts near the front (fastest wins on existing sites)
    • Off-page checklist (directories + outreach) tail-end, one phase per category

Write to the configured path (default docs/seo-machine.md). Print the path back and recommend a human review pass before Phase 0.

Step 6 — Generate .seo/link-inventory.md

Every phase reads this file to pick internal links. Use assets/link-inventory-template.md. Pre-populate from existing routes (features, tools, pricing, blog posts). Each phase appends to it as new pages ship.

Step 7 — Hand off

✓ Initialize complete

  Roadmap:        docs/seo-machine.md
  Brand context:  .seo/brand.md
  Keyword cache:  .seo/keyword-research.json
  Link inventory: .seo/link-inventory.md
  Config:         .seo/config.json

Next: review docs/seo-machine.md, then run me again to execute Phase 0.

Do not auto-execute Phase 0. Pattern priorities and competitor lists are decisions worth a human pass.


Resume mode

Goal: pick the next phase from the tracker, execute end-to-end with quality gates, hand back so the user can commit/PR.

Step 1 — Read state

Load docs/seo-machine.md, .seo/brand.md, .seo/link-inventory.md, .seo/config.json. Find the Phase Status Tracker, identify the next pending phase with the lowest number, print it back along with the two phases that follow.

Step 2 — Confirm scope

Single AskUserQuestion:

  • "Continue with Phase N: [title]?"
  • Options: "Yes, start Phase N" / "Pick a different phase" / "Re-audit (refresh research)" / "Just show the tracker"

"Different" → list pending phases. "Re-audit" → loop back into Initialize steps 3–5. "Show" → print tracker and stop.

Step 3 — Execute

Pattern → reference mapping:

Phase typeReference
Phase 0 — technical foundationsreferences/technical-audit.md
Pattern A — /alternatives/[competitor]references/patterns/alternatives.md
Pattern B/C — /for/[use-case] or /for/[audience]references/patterns/use-case.md
Pattern D — /compare/[a]-vs-[b]references/patterns/compare.md
Pattern E — /playbooks/[topic] long-formreferences/patterns/playbooks.md
Striking-distance boostreferences/striking-distance.md
Off-page checklist phasereferences/off-page.md
Internal-link spine auditreferences/quality-bars.md (link-audit section)

For page-generating phases, the flow is always:

  1. Re-research — current competitor pricing, feature changes. Don't trust 60-day-old cached data on commercial-intent terms.
  2. Generate the page payload — output format follows the stack (references/stacks/<framework>.md) or references/stacks/markdown-fallback.md.
  3. Verify against the quality bar (word count, internal links, schema, honesty section on alts). Run scripts/word_count.py and scripts/link_audit.py. If a check fails, fix it — don't ship under-spec work.
  4. Update .seo/link-inventory.md with the new page.
  5. Update the tracker row in docs/seo-machine.md — status completed, PR ref or commit SHA. Same edit batch as the page work so reviewers see both in one diff.

Step 4 — Hand off (do NOT auto-commit)

✓ Phase N complete: [title]

Files changed:
  app/controllers/marketing_controller.rb  (added entry)
  app/frontend/pages/Alternatives/Show.tsx (no change — uses existing layout)
  docs/seo-machine.md                      (tracker updated)
  .seo/link-inventory.md                   (new page registered)

Quality gates:
  ✓ Word count: 712 / 600 min
  ✓ Internal links: 2 alts, 1 feature, 1 tool
  ✓ FAQ JSON-LD attached
  ✓ Honesty section present (3 rows)

Suggested commit: "SEO Phase N: ship /alternatives/[slug]"

Next phase pending: Phase N+1 — [title]

Open a PR only if the user has expressed they want that cadence. Otherwise let them drive git.


Interactive principles

RuleWhy
Ask before you guess on positioning callsThe user's gut on which competitor or use-case to ship next often beats the data
Show the numbers, not the conclusion"vol 400, KD 12, TP 1,800" builds more trust than "the data is good"
Be honest about what won't workKD 80 at DR 8 = doomed. Say so, offer the closest winnable alternative
One-sentence theory max per phaseThe user doesn't need a recap of SEO theory every run
Surface tradeoffs, not opinions"5 thin alternatives or 2 deep ones first?" — state the tradeoff, ask

Adjacent skills (route here vs there)

SkillWhenWhen NOT
seo-auditOne-off diagnostic on an existing siteForward execution — use this skill
seo-contentWriting a single rankable articleA whole sprint — use this skill
competitor-alternativesOne /alternatives/<x> page, ad-hocPattern A as part of a sprint — use this skill
keyword-researchProducing brand/keyword-plan.mdThis skill consumes that artifact — chain them
ai-seoLLM-citation optimization for a few pagesRun after this skill ships ~10 indexed pages

Anti-patterns

Don'tWhy
Target head terms when DR is low"Social media management tool" at DR 8 is wasted work. KD ≤ DR+10 while DR is low.
Ship pages with no inbound internal linksA new page nobody links to is an island. ≥2 inbound links from existing pages, same phase.
Ship /alternatives pages without an "honesty" sectionThree honest tradeoffs (where the competitor wins) is non-negotiable. Brand signal AND Google quality signal.
Skip schema markupFAQPage JSON-LD captures snippets. Article for playbooks. SoftwareApplication for homepage + use-case. Quality gate fails without them.
Auto-commitAlways show diff summary; let the user commit (local conventions, hooks, branch naming).
Restart Initialize when partial state existsIf .seo/config.json exists without the roadmap, prompt before wiping — they may have aborted mid-run.

File map

FilePurpose
references/methodology.mdWhy-this-works theory + lessons from real phases
references/exa-recipes.md7 Exa-native research recipes (replaces the old Ahrefs cookbook). Ahrefs appendix at the bottom for paid-precision escalation.
references/api-stack-recipes.mdCross-API compound recipes — pain-point mining, OSS competitor teardown, outreach prospect discovery, newcomer surveillance. Uses Exa + Firecrawl + gh + mktg-x + DeepWiki + last30days.
references/manual-research.mdL0 fallback when no MCP available
references/patterns/alternatives.mdPattern A spec, data shape, quality bar, example
references/patterns/use-case.mdPattern B+C spec
references/patterns/compare.mdPattern D spec
references/patterns/playbooks.mdPattern E spec (2,500-word bar)
references/stacks/detection.mdStack-detection signal table
references/stacks/rails-inertia.mdRails + Inertia adapter (reference implementation)
references/stacks/nextjs.mdNext.js App Router adapter
references/stacks/astro.mdAstro content-collection adapter
references/stacks/markdown-fallback.mdUniversal markdown output format
references/technical-audit.mdPhase 0 recipes (sitemap, robots, meta, schema)
references/striking-distance.mdGSC pos 5–20 audit + boost recipe
references/off-page.mdBacklink checklist + Ahrefs referring-domains research
references/quality-bars.mdVerification spec per pattern
scripts/word_count.pyStrip markup → word count
scripts/link_audit.pyVerify internal-link minimums per page
scripts/tech_audit.pySitemap.xml + robots.txt + meta-tag scanner
assets/roadmap-template.mddocs/seo-machine.md skeleton
assets/brand-template.md.seo/brand.md skeleton
assets/link-inventory-template.md.seo/link-inventory.md skeleton

Outputs

The skill writes to project paths, not brand/. This is why writes: in skills-manifest.json is [] — the manifest declares only brand/*.md writes, and seo-machine's outputs live in the user's repo, not in brand memory.

OutputModePurpose
docs/seo-machine.mdInitialize (write), Resume (update phase row)Persistent sprint roadmap — Phase Status Tracker + Reference Data + Keyword Research Appendix. Single source of truth across sessions.
.seo/brand.mdInitializeProduct context derived from repo + user answers (one-liner, persona, competitors, voice tags, anti-positioning).
.seo/link-inventory.mdInitialize (create), Resume (append per phase)Every internal-link target the skill can use. Each phase appends new pages.
.seo/keyword-research.jsonInitializeCached raw output from Ahrefs / Exa / manual research. Read by every phase, refreshed every 30 days.
.seo/config.jsonInitializeStack info, research backend choice, project IDs. Persists machine-readable state.
Phase-specific page filesResume (per phase)Stack-native page files (e.g. app/controllers/marketing_controller.rb + app/frontend/pages/Alternatives/Show.tsx for Rails+Inertia; app/[pattern]/[slug]/page.tsx for Next.js App Router; etc.). Paths follow references/stacks/<framework>.md.

This follows the Long-Arc Sprint Persistence Pattern documented in AGENTS.md — docs/seo-machine.md is the canonical doc that survives session interruption.

/cmo integration

/cmo routes here under Playbook #9 — SEO Authority Build, Path B (programmatic sprint). On a cold project /cmo first spawns mktg-brand-researcher, mktg-audience-researcher, mktg-competitive-scanner in parallel (foundation), runs keyword-research to populate brand/keyword-plan.md, then hands off here. After every phase, /cmo spawns mktg-content-reviewer + mktg-seo-analyst in one message to score the page batch before the user commits.

See skills/cmo/rules/playbooks.md and skills/cmo/rules/sub-agents.md for the full handoff contract.

附带文件

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

常见问题

Seo Machine AI 技能有什么作用?

Build an organic-traffic operating system for any site or app: a multi-phase, resumable engine that plans and ships a BATCH ROADMAP of landing pages (use-cases, playbooks, /for/ pages, roundups) on top of real keyword research, with a persistent phase tracker. Use when the user says 'SEO machine', 'build organic traffic', 'rank on Google', 'we need traffic', 'SEO roadmap', 'batch of pages', 'pages roadmap', or 'build an SEO engine'. Distinct from `seo-audit` (one-off diagnostic) and `seo-content` (single-article writer): this skill owns the multi-page roadmap, run sequencing, page generatio...

为什么在 TypingMind 中使用 Seo Machine?

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

如何在 TypingMind 中安装 Seo Machine?

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

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

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

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

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

Seo Machine AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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