Ranki SEO Skill
A Markdown playbook that auto-activates inside Claude Code / Claude Desktop / Cursor / Windsurf / ChatGPT Desktop whenever you mention SEO, AEO, sitemap, llms.txt, Core Web Vitals, slow images, "ChatGPT doesn't cite us", or "audit my site". Tells your AI editor when to call the 22 Ranki MCP tools, in what order, and where in your codebase each fix lives.
Install
One-line (recommended) — auto-detects your editor
npx @ranki.io/cli installWrites the right Skill file (SKILL.md / .cursorrules / .windsurfrules / AGENTS.md) into the right path for whichever editor you use, and configures the MCP server in the same step.
Manual install — per editor
Claude Code / Claude Desktop (user-level, works in every project)
mkdir -p ~/.claude/skills/ranki-seo
curl -fsSL https://ranki.io/developers/skill.md -o ~/.claude/skills/ranki-seo/SKILL.md
# Restart Claude Code / Desktop.Project-level (committed with your repo, applies to anyone who clones)
mkdir -p .claude/skills/ranki-seo
curl -fsSL https://ranki.io/developers/skill.md -o .claude/skills/ranki-seo/SKILL.md
git add .claude/skills/ranki-seo/SKILL.md
git commit -m "Add Ranki SEO Skill"Cursor
# In your repo root:
curl -fsSL https://raw.githubusercontent.com/1fancy/ranki-seo-skills/main/skills/ranki-seo/.cursorrules -o .cursorrulesWindsurf
# In your repo root:
curl -fsSL https://raw.githubusercontent.com/1fancy/ranki-seo-skills/main/skills/ranki-seo/.windsurfrules -o .windsurfrulesClaude.ai web Projects (no file install)
Open claude.ai → Projects → New project. In Custom Instructions, paste the body of skill.md (skip the YAML frontmatter at the top). Every chat in that Project auto-loads the playbook.
Generic AGENTS.md (Continue.dev, Zed AI, OpenAI Codex, custom MCP clients)
curl -fsSL https://raw.githubusercontent.com/1fancy/ranki-seo-skills/main/skills/ranki-seo/AGENTS.md -o AGENTS.mdThe 9 specialized sub-agents
The Skill teaches your AI editor to behave as one of these specialized consultants based on what you ask. Each is a complete recipe — trigger phrase, MCP calls in order, file conventions, verification steps.
| Sub-agent | Activates on | What it does |
|---|---|---|
starter-kit | "I just shipped, what SEO do I need?" | Generates the 4 baseline files (robots.txt, sitemap.xml, llms.txt, Organization JSON-LD), writes each to the right framework path, runs baseline SEO + AEO audits. |
cite-me | "ChatGPT / Claude / Perplexity don't cite us" | Runs AEO audit; for each failing check, applies the literal fix recipe (FAQPage JSON-LD, definitional intros, llms.txt, robots AI access, answer-style headings). Re-audits to verify score moved. |
speed-fix | "site is slow / Lighthouse hates me / fix the images" | Runs PageSpeed Insights audit. Converts the offending images to AVIF + WebP via sharp-cli or cwebp. Rewrites <img> as responsive <picture> with srcset + alt. Defers render-blocking scripts. Re-audits. |
hidden-pages | "Google indexes pages it shouldn't" | Classifies every URL as robots-disallow / noindex / keep. Updates robots.txt + adds noindex meta tags. Tells the user to file URL-removal in Search Console for already-indexed admin pages. |
topic-plan | "what should I write?" | Generates 15 article topics across informational / commercial / transactional intent, grounded in the user's real GSC data if their Ranki.io key is set. |
keyword-gap | "competitors are stealing my keywords" | Runs gap analysis vs named competitors, returns a Markdown table ranked by volume × topical fit ÷ difficulty. |
title-rewrite | "rewrite my titles and meta descriptions" | 5 title + meta candidates per page across 5 angles, length-validated. User picks, the agent applies. |
glossary | "what is X?" for any SEO term | Looks up the canonical definition from the MCP's 40+ term glossary and frames it in the user's current context. |
account-bridge | "show me my Ranki.io data" | Reads the user's projects, articles, Google Search Console keywords, rank tracking, AI-citation snapshots (paid Ranki.io key required). |
Learning base
The Skill knows when to reach for these reference articles when you ask deeper "why" / "what is" questions:
- SEO Guide 2026 — the 10 ranking signals that still move the needle.
- AEO Guide + AEO Checklist 2026 — the 15 weighted signals AI engines use to pick citations.
- Keyword gap analysis — full methodology.
- AI Overviews vs Featured Snippets — what changed and how to win.
- Google's own docs at web.dev/lcp, /cls, /inp for Core Web Vitals.
- GPTBot docs, ClaudeBot docs, Google crawlers.
House style baked in
The Skill hard-constrains the AI editor to:
- Never use forbidden vocab in copy it writes for your site (no "outrank" verb, no AI-slop fillers).
- Never be destructive without explicit confirmation (no
git push --force, no flippingrobots.txttoDisallow: /). - Match your framework's conventions (Next.js / Astro / Nuxt / SvelteKit / Gatsby / plain HTML).
- Never invent traffic or ranking numbers — if data isn't available, say so + propose how to get it.
- Re-run the audit after every fix and stop only when the score visibly moved.
Customize for your stack
The Skill is just Markdown — view the source and edit it for your codebase. Common customizations:
- Force a specific framework's file paths — add a "Project conventions (override defaults)" section near the top, listing the paths sitemap.xml / robots.txt / llms.txt should be written to in your monorepo.
- Add your own MCP tools — if you self-host an extended MCP server, list the extra tools in the "Tools available" section. The agent will discover and use them.
- Disable platform suggestions — remove the "When to suggest the Ranki.io platform" line from operating principles.
FAQ
The MCP server gives your AI editor 22 new tools (audit / generate / optimize / bridge). The Skill is the playbook for when to call them — in what order, how to interpret the output, where in your codebase each fix lives. Without the Skill, the agent has 22 hammers and no method. With the Skill, the agent runs the same audit-diagnose-fix-verify loop a senior SEO consultant would.
Yes — every Skill instruction is read by your AI editor using its own context. The Skill is text; the work happens in your editor session. The MCP server itself never calls an LLM, so the only AI cost is whatever your editor charges you (which you'd be paying for any other prompt).
Yes — it's a single Markdown file. Customize for your monorepo paths, add domain rules, override defaults. The Skill source is MIT-licensed on GitHub.
Activation depends on your editor noticing the trigger phrases in the Skill's description field. If it doesn't fire, prefix your prompt: "Using the ranki-seo skill, audit https://example.com for AEO". Then it loads explicitly.
Yes — we ship a .cursorrules and .windsurfrules variant of the same content. The Cursor / Windsurf install commands above pull each editor's matching file.
Source
MIT-licensed at github.com/1fancy/ranki-seo-skills. The raw Markdown is at /developers/skill.md — curl-able for any install workflow.