SEO Ranker
by @h4gen
Performs end-to-end SEO audit and on-page optimization by analyzing live SERP, competitor content, backlink data, and generating actionable rewrite guidance.
clawhub install seo-rankerπ About This Skill
name: seo-ranker description: Meta-skill for end-to-end SEO auditing and on-page optimization by orchestrating brave-search, summarize, api-gateway, and markdown-converter. Use when users want to understand why a page is not ranking for a target keyword and need concrete rewrite actions plus backlink intelligence. homepage: https://clawhub.ai user-invocable: true disable-model-invocation: false metadata: {"openclaw":{"emoji":"π","requires":{"bins":["node","npx","summarize","uvx"],"env":["BRAVE_API_KEY","MATON_API_KEY","OPENAI_API_KEY","ANTHROPIC_API_KEY","XAI_API_KEY","GEMINI_API_KEY"],"config":[]},"note":"Requires local installation of brave-search, summarize, api-gateway, and markdown-converter. At least one summarize model API key must be present."}}
Purpose
Run a complete SEO ranking diagnosis and optimization pipeline: 1. inspect live SERP competition, 2. compare competitor content structure with user content, 3. enrich with difficulty/backlink data when API access exists, 4. produce concrete rewrite guidance and an optimized Markdown draft.
This is an orchestration skill. It does not replace upstream tools.
Required Installed Skills
brave-search (inspected latest: 1.0.1)summarize (inspected latest: 1.0.0)api-gateway (inspected latest: 1.0.29)markdown-converter (inspected latest: 1.0.0)Install/update:
npx -y clawhub@latest install brave-search
npx -y clawhub@latest install summarize
npx -y clawhub@latest install api-gateway
npx -y clawhub@latest install markdown-converter
npx -y clawhub@latest update --all
Verify:
npx -y clawhub@latest list
Required Credentials
BRAVE_API_KEY (for brave-search)MATON_API_KEY (for api-gateway)OPENAI_API_KEY, or
- ANTHROPIC_API_KEY, or
- XAI_API_KEY, or
- GEMINI_API_KEYOptional:
FIRECRAWL_API_KEY (for difficult page extraction via summarize)APIFY_API_TOKEN (for YouTube fallback in summarize)Preflight:
echo "$BRAVE_API_KEY" | wc -c
echo "$MATON_API_KEY" | wc -c
echo "$OPENAI_API_KEY$ANTHROPIC_API_KEY$XAI_API_KEY$GEMINI_API_KEY" | wc -c
Mandatory behavior:
MissingAPIKeys section with missing variables and blocked stages.Partial when necessary.Inputs the LM Must Collect First
target_urltarget_keyword (example: AI tools)region_locale (country/language for SERP interpretation)content_source (URL fetch, pasted text, or file path)content_type (blog, category page, product page, landing page)business_goal (traffic, leads, sales)rewrite_scope (light, moderate, full)data_provider_preference (semrush, ahrefs, gsc-only, none)Do not run rewrite before keyword intent and content goal are explicit.
Tool Responsibilities
brave-search
Use for live SERP reconnaissance:
Operational constraints from inspected skill:
BRAVE_API_KEY--contentsummarize
Use for structured competitor content analysis:
Operational constraints from inspected skill:
--extract-only, --json, and length controlsapi-gateway
Use for external SEO data APIs only when active connections exist:
Operational constraints from inspected skill:
MATON_API_KEYctrl.maton.ai connection lifecycle)Important capability note:
api-gateway service list, semrush and ahrefs are not listed as native app names.google-search-console) and manual competitor-link extraction.markdown-converter
Use to normalize the user's own content into editable Markdown:
uvx markitdown ...),Canonical Causal Signal Chain
1. Input Stage
2. SERP Audit Stage (brave-search)
3. Competitor Content Stage (summarize)
4. Data Gate Stage (api-gateway)
Required user-facing gate message format:
DataGateStatus: available / blockedReason: missing key, missing connection, or provider unsupportedAction: exact next step and link(s)As of February 14, 2026:
When user requests a 14-day Semrush trial:
https://www.semrush.com/sem/.https://ahrefs.com/webmaster-tools.5. Optimization Stage (LLM rewrite)
6. Output Stage
Rewrite Policy
Output Contract
Always return:
SERPFindingsDataGateStatusOptimizedMarkdownBacklinkOpportunitieshigh|medium|low)NextActionsQuality Gates
Before final output, validate:
If any gate fails, return Needs Revision with exact missing evidence.
Failure Handling
BRAVE_API_KEY: return MissingAPIKeys, skip SERP stage, and request user-provided competitor URLs.MissingAPIKeys, skip summarize stage, and provide structure-only audit from available snippets.MATON_API_KEY: return MissingAPIKeys, skip API-gateway enrichment, continue with on-page-only optimization.