/ecosystem-skills:ecosystem-footprint-mapfrom Ecosystem Skills
Cross-channel topic analysis comparing SE Ranking search rankings, AI-answer presence, and Planable social performance side by side. Identifies channel agreement, gaps, and next moves. Requires both MCPs.
Ships in Ecosystem Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Put the topics a brand ranks for, the prompts it gets cited in, and the posts that actually perform side by side, grouped by topic. What surfaces is the pattern: which topics all three channels agree on, which one channel is carrying alone, and where a competitor's channels disagree.
This is a routed analysis, not a report. Every topic ends with a state and a move. It reads only — nothing is written to Planable or SE Ranking.
Scope note (read this). This skill reports co-occurrence by topic. It cannot show causation. Never write or imply that a social post caused a ranking, or that a ranking caused an AI citation — the data supports "these move together", nothing stronger. If the user asks which channel is driving the others, say plainly that these MCPs can't answer that.
us), (d) the period (default: last 90 days), and optionally competitor domains + brand names, or their own topic taxonomy.Why 90 days: social needs enough posts to show a pattern. A 30-day window on a low-cadence account produces a matrix built on four posts, which is noise. Warn the user if the window yields fewer than 15 posts and offer to widen it.
Verify both MCPs before starting: DATA_getSubscription (SE Ranking) and list_workspaces (Planable). If either fails, stop and ask the user to connect it, naming what it's for rather than reporting an error — SE Ranking is the search and AI-answer side (https://seranking.com/api/integrations/mcp/), Planable is the social side (https://help.planable.io/hc/en-us/articles/27538577098780-How-to-connect-Planable-MCP-to-your-AI-tools). Say "connect", not "reconnect", unless you know they had it: a user arriving from one product often has never held an account on the other.
The full run pulls three channels, builds the topic join and produces four deliverables. That's right when someone asks for the map. It's wrong when they ask one question.
If the user asks something specific and bounded — "what ranks that we've never posted about?", "which of our top posts has no search play?", "are we losing AI answers to Semrush?" — pull only the channels that question needs, answer it directly in the chat, and then offer the full run in one line: "That's the short answer. Want the full footprint map — all three channels, the matrix and the report?"
Don't produce a four-file deliverable for a question that wanted a list. Don't skip the offer either: most people asking the narrow question don't know the wider one exists.
The analysis is identical either way, but the order of the output changes. Detect from how they asked, or ask once:
Same data, different first section. Don't produce two reports.
Confirm domain, brand string, country, period, and workspace. If the user gives a domain but not the exact brand string, call DATA_getAiSearchBrand(target, source) for the name SE Ranking attributes to it — do the same for each competitor. If the workspace is ambiguous, call list_workspaces and let the user pick. Do not guess.
DATA_getDomainKeywords — the target's ranking keywords in the target country. This is the backbone of the topic taxonomy in step 5, so pull generously but cap it (top ~1,000) unless the user asks for everything.DATA_getDomainPages — which pages carry which topics. Useful later for "ranks but thin on-page".DATA_getDomainOverviewWorldwide — overall footprint for context.PROJECT_getPositionHistory (avg_pos or visibility) — a topic that is rising or slipping is a different move from a flat one. Skip silently if there is no project.DATA_getDomainCompetitors to confirm the real organic set, then DATA_getDomainKeywords per competitor. Note that DATA_getDomainCompetitors returns the full set with no limit/offset (~60KB for popular domains) and the harness may write it to a file — read the file, parse {data: [...]}, sort by common_keywords desc.DATA_getAiSearchOverview(target, source, brand?) — brand presence, link presence, average position. Read previous before quoting any change. If it's null, this is a first snapshot: report current values as a baseline and never present a change_percent of 100 as growth.DATA_getAiSearchPromptsByTarget(target, engine, source) — prompts where the domain is cited as a source.DATA_getAiSearchPromptsByBrand(brand, engine, source) — prompts mentioning the brand by name.DATA_getAiSearchLeaderboard(...) for share of voice. This endpoint is heavy and 504s when passed many competitors × many engines at once. Query one engine at a time (or ≤3 competitors per call) and retry once on timeout. If it still fails, fall back to DATA_getAiSearchOverview per competitor and compare presence yourself.PROJECT_getPromptsRankings, PROJECT_getLlmStatistics.Four things to hold onto — all four were confirmed on a live run:
limit at 20 per engine, read the prompt, type and links fields, and skim the answer only to validate a match — never carry full answer bodies into the analysis.DATA_getAiSearchPromptsByTarget and DATA_getAiSearchPromptsByBrand return a date field; DATA_getAiSearchOverview does not — don't look for one there. Live runs on two different accounts came back dated ~11 months before the run, on four of the five engines. AI-answer data can be far staler than the search and social channels sitting beside it in the same matrix, and presenting them as one current picture is misleading. Put the date, per engine where they differ, in the report header.volume: 0. They're conversational queries, not keywords. Expected, and not a signal of low value. Never rank an AI topic by search volume.links. A brand can surface in loosely related answers, and it can be named in the answer text while a competitor's page is the cited source — a materially different (and more useful) finding than plain presence. Report those separately.Planable metrics are cached and Instagram syncs slowly. Follow this sequence or the numbers will be stale or the calls will time out.
4a. Read first, check freshness
list_pages(workspaceId) → pageIds
get_page_metrics(workspaceId, pageIds, startDate, endDate)
For each page, read lastMetricAt. Within the last 3 hours → fresh, skip to 4c. Older or missing → 4b. Also record the posts count per page now; you need it to plan chunk size — if the field is absent, call get_post_metrics_summary(workspaceId, [pageId], startDate, endDate) and read totalPosts instead.
get_page_metrics returns unsupportedPages for pages whose platform reports no metrics. Read that array — do not assume which platforms it contains. On a real run it returned Google My Business, Threads, Twitter/X and Pinterest, so a brand can lose four channels' worth of social signal without warning. Drop those pages and list them in the data notes. Their absence is a connector limit, not a content gap.
4b. Refresh stale pages
Call refresh_page_metrics for the stale pages. For Instagram, tell the user first ("Instagram metrics are syncing — this can take 1–2 minutes"), then wait 60 seconds before re-reading; 15–20 seconds for every other platform. Re-call get_page_metrics and check lastMetricAt again. Still stale → wait 30s, retry once. After two retries, tell the user and let them choose between waiting or proceeding with the most recent available data.
4c. Fetch post-level metrics
Always call get_post_metrics with exactly one pageId per request. Multi-page calls compound timeouts.
Ask for the whole window in one call per page, and only split if that fails. A live run pulled five pages across 90 days as single calls, including a 48-post Instagram page, with no timeout. Pre-emptive chunking cost about 15 wasted calls per run at that volume. So: one call per page first.
If a call does time out, bisect — halve the window and retry both halves. Below 48 hours stop bisecting, skip that range, and record it in the data notes ("2 IG posts in May 12–14 likely missing — endpoint timed out under a 48h window"). The rest of the dataset is still usable.
Only reach for pre-emptive chunking when a page has several hundred posts in the window, or when a first attempt has already timed out on that workspace.
Also pull list_posts(workspaceId, ...) for the window — you need the post text, not just the metrics, to assign posts to topics in step 5.
Normalize before comparing — but only within a platform. Raw engagement favours the biggest page, so use engagement rate (engagement ÷ impressions). Engagement rate is not comparable across platforms, even though the connector returns it in a normalized field: a real run showed LinkedIn at 23.6%, TikTok 3.1%, Instagram 1.2%, Facebook 0.18%, YouTube 0.05% — a 470× spread driven by how each platform counts impressions, not by content quality. Rank topics within each platform, then combine the per-platform ranks. Never sort one list of topics by raw ER across platforms; LinkedIn will win every time.
The three datasets share no common key. Keywords, AI prompts and social posts each have their own vocabulary, and nothing joins them automatically. This step is where the skill earns its output — and where it fails silently if done carelessly.
unmapped bucket and always report it. Prompts and posts that fit no search-derived topic are the most interesting rows in the analysis — an unmapped cluster of posts is often a topic social invented that search has never seen. Never drop them silently.Minimum data to judge a channel. State these plainly and mark a channel insufficient data rather than absent when it fails one:
| Channel | Floor |
|---|---|
| Search | ≥ 20 ranking keywords in the country |
| AI answers | ≥ 10 prompts across the queried engines, and a snapshot no more than ~3 months old |
| Social | ≥ 15 posts with metrics in the window |
absent and insufficient data are different findings. Confusing them invents gaps that aren't there.
Every topic gets exactly one state. All seven combinations are covered — if a topic doesn't fit, the topic join in step 5 is wrong, not the table.
| State | Search | AI | Social | The move |
|---|---|---|---|---|
| All three | ✓ | ✓ | ✓ | Scale it. This is the proven core — protect it. |
| Search + AI, no social | ✓ | ✓ | — | The untapped shortlist. Proven demand nobody has posted about → ecosystem-demand-campaign |
| Search + social, no AI | ✓ | — | ✓ | You own the topic but AI answers don't cite you. Make the claims quotable → ecosystem-ai-visibility |
| AI + social, no search | — | ✓ | ✓ | Visible where the conversation happens, absent from the SERP. Check whether search volume exists, then capture it. |
| Search only | ✓ | — | — | Ranks into silence. Distribute it → ecosystem-demand-campaign |
| AI only | — | ✓ | — | Cited but thin everywhere you control. Shore up the page, reinforce socially → ecosystem-ai-visibility |
| Social only | — | — | ✓ | Social saw it first. Weakest signal of the seven — check whether search volume exists at all before committing. |
Two sub-cases of "social only" that must not be reported as demand signals. Both showed up on the first live run:
Contested is a separate flag, not a state. Any topic — including "all three" — can also be contested if a competitor carries it across channels. Mark it in its own column and judge fit before chasing; not every competitor topic is yours.
Report the count per state up front — the distribution is itself the headline (e.g. "11 of your 14 topics are carried by one channel only").
For each competitor, line their three channels up the same way and look for disagreement: cited across AI answers on a topic where their rankings and engagement are both sliding, or dominant on social with no search play. Name which of the brand's channels is strongest to push from. Skip this section entirely rather than thinning it if no competitor data was pulled.
Rank the gap list by: relevance to the brand first, then demand (volume, or prompt frequency for AI-only topics), then competitive weakness, then how much of the footprint already supports it. Do not rank by search volume alone — moving away from that is the point of this skill.
Every recommendation names the skill that executes it. That handoff is the deliverable, not a footnote.
If the user is re-running after a campaign, ask for the campaign slug, then read the passport — a post titled Campaign passport: mkt:<slug> on a Universal content page, or campaign-passport-<slug>.md in outputs.
Then, in addition to the normal run:
list_labels(workspaceId) to resolve mkt:<slug> to a label id, then list_posts filtered to that label, then get_post_metrics_summary(workspaceId, [pageId], startDate, endDate) per page for how the batch itself performed.ecosystem-demand-campaign passports hold search positions and traffic, plus the destination pages' engagement baseline.ecosystem-ai-visibility passports hold AI brand presence, link presence and per-engine share of voice, plus the same social baseline.Every run produces the same four things. None is optional and none waits to be asked for:
REPORT.md — the written record.topics.csv — the same data as a spreadsheet.index.html — the interactive report. This is the one people actually read.Plus the evidence/ folder, which is what makes the analysis auditable.
Write them in that order, and finish the markdown and CSV before starting the HTML. The analysis is the expensive part; the HTML is the last and longest step, built when the run is already long. If it fails there, everything must already be on disk. Never hold the findings in memory waiting to render them once at the end.
Create a folder ecosystem-footprint-map-{brand-slug}-{YYYYMMDD}/:
ecosystem-footprint-map-{brand-slug}-{YYYYMMDD}/
├── REPORT.md (the matrix + routed moves — primary deliverable)
├── topics.csv (full topic list with per-channel columns)
│ columns: topic,keywords,avg_position,search_volume,ai_prompts,ai_cited,
│ ai_engines,posts,avg_engagement_rate,top_post,state,contested,
│ priority,move,next_skill,rationale
├── index.html (the interactive report — built every run)
└── evidence/
├── 01-search.md
├── 02-ai-answers.md
├── 03-social.md
├── 04-topic-mapping.md (which keywords/prompts/posts landed in each topic — makes it auditable)
└── 05-data-notes.md (gaps, timeouts, skipped ranges, stale metrics)
REPORT.md structure:
# Whole-footprint map: {brand}
Market: {country} · Period: {dates} · Workspace: {name}
Channels: search + AI answers ({AI snapshot date}) + social
## The read
{3–5 lines: the distribution across states, and the single most useful pattern. This is what gets screenshotted — make it stand alone.}
## The matrix
| # | Topic | Search | AI answers | Social | State | Move |
|---|---|---|---|---|---|---|
| 1 | {topic} | #4 avg, 3 kw | cited, 2 prompts | 6 posts, 4.1% ER | **all three** | scale |
| 2 | {topic} | #8 avg, 11 kw | cited, 5 prompts | — | **search + AI, no social** | → ecosystem-demand-campaign |
| 3 | {topic} | — | — | 4 posts, 7.2% ER | **social only** | check demand first |
{Add a "contested" column when competitor data was pulled.}
## Untapped topics ({n})
{The search+AI-no-social rows, ranked. Lead with this section for the social seat.}
## What social saw first ({n})
{Social-only topics, plus anything in the unmapped bucket.}
## Competitor cracks ({n})
{Only if competitor data was pulled.}
## Data notes
{Channels below threshold, timeouts, skipped ranges, stale metrics, unmapped counts.}
## Next steps
1. {topic} → run `ecosystem-demand-campaign`
2. {topic} → run `ecosystem-ai-visibility`
3. Re-run this map in 2–8 weeks to see whether the gaps closed.
index.html is a standard deliverable, not an offer. Build it without being asked. The markdown is the record; the HTML is what actually gets read, screenshotted and sent to a client, and a run that stops at markdown consistently under-delivers against the same analysis presented visually.
One self-contained file: inline CSS and JS, no external assets, works offline, light and dark.
Read references/brand.md before styling anything — the co-brand tokens, the four sanctioned colour combinations, the validated chart pairs and the shared layout conventions live there, and they're what make all three skills' reports look like one family. Read the dataviz skill before writing any chart code and follow its procedure: form first, colour by job, run the palette validator, hover layer by default, legend for ≥2 series.
If brand.md is unreachable, the minimum to keep it on-brand: light canvas #E5E6EC, indigo text #161466, violet highlight #5C3CFF, white cards, 8-based spacing, mono (IBM Plex Mono) for metric values and labels, and #5C3CFF + #00B28E as the two-series chart pair.
Sections, in this order:
Header. Brand, market, date range, workspace, then the coverage line: "478 ranking keywords · 105 sampled AI prompts (5 engines) · 122 social posts (6 pages)". Real counts, never rounded.
The dating caveat, as a callout directly under the header. The three channels are not the same moment in time and the reader must know before they look at anything. State each channel's snapshot date, how old the AI one is, that the AI column is a sample so a blank cell means "not in the sample" rather than "absent", and that search and social coverage is complete for the window. This callout is mandatory whenever the AI snapshot is older than the search and social window — which is usually.
Stat tiles — three always, a fourth when it's earned. Topics mapped (and how many are carried by all three), keywords sitting on topics with no social, and share of posts on topics with no search presence. Those three come from data every run has.
The fourth tile is AI share of voice with the brand's rank — only when competitors were pulled, which only happens when the user supplied them or asked. Without competitors there is no share of voice, so don't leave a hole and don't invent one: either drop to three tiles, or use another figure the run actually produced (topics where the brand is cited in AI answers, or the count below the data threshold). A row of three real numbers beats four with one improvised.
Each tile carries one line of plain-language context under the number. These are hero numbers, not charts — see the dataviz form heuristic.
The matrix. Sortable by column, filterable by state via a chip row above the table. Chips show counts. One row per topic with per-channel cells, state, contested-by, priority, and the move naming the skill that executes it. Every cell is a real figure; blank means the channel is absent for that topic, and say so in one line above the table.
Two charts. A 100%-stacked pair showing what share of each channel's volume the other channel covers, and a single stacked bar showing the distribution of topics across states. Both are magnitude-of-a-whole, so stacked bars are the right form; a 2px surface gap between segments, legend present, hover tooltips on every segment.
Share of voice, when competitor data was pulled. Horizontal bars, brand highlighted with the categorical accent while competitors stay neutral — color follows the entity, and the brand is the entity in question. Lead with the interpretation, not the ranking: a brand can convert mentions into citations well and still place third on how often it gets named, and that reads as a different problem with a different fix.
What to do next. The routed list, numbered, each item naming its topic, its evidence in one clause, and the skill that acts on it. Close with the re-run window.
Limits of this map, collapsed by default. Everything from the Edge cases section that applied to this run, plus whatever landed in the data notes. Collapsed because it must be present without dominating; nobody should be able to say they weren't told.
Do not invent a number to fill a slot. A section with no data says so and stays.
Local files are the guaranteed output — the folder above plus index.html. Deliver them and say where they are.
If the user asks for the report as a Google Doc, a Sheet, a Notion page, or anything else their connectors reach, mirror it there and say which is canonical. Don't do it unasked: it's slower, it varies by what they have connected, and the local files already work.
DATA_getSubscription for remaining units before a large pass. This is a heavier run than a single-channel skill — three channels plus competitors can exhaust a plan mid-analysis and leave a half-built matrix.unsupportedPages. Exclude them from the social channel and say so in the data notes rather than reading their absence as a gap.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/ecosystem-ai-visibilityFind the prompts where a brand is invisible or losing in AI answers (ChatGPT, Perplexity, Gemini, AI Overview, AI Mode), then turn those gaps into a social campaign in Planable with before/after tracking. Trigger from the search seat: "what should we post to get cited by AI", "where are competitors winning in AI answers and we're not", "AEO/GEO content plan", "turn our AI search gaps into posts". Trigger equally from the social seat, in their words: "does ChatGPT know we exist", "a client asked if AI mentions them", "how do we show up when people ask AI for recommendations", "everyone's asking about AI search and I don't know what to post". Either entry point works: give it a domain, or give it a Planable workspace and it asks which site and brand to check. Every batch is instrumented — label `mkt:{slug}` plus a passport with baseline share of voice — so the effect can be proven later. Requires both MCPs. For a whole-footprint read first, use ecosystem-footprint-map.
/ecosystem-demand-campaignTurn real search demand from SE Ranking — keyword gaps, competitor wins, ranking losses, question keywords — into a drafted, scheduled social campaign in Planable. Trigger from the search seat: "what should we post based on our SEO data", "turn these keyword gaps into posts", "competitor ranks for X, make social content about it", "build a campaign from search demand". Trigger equally from the social seat, where SEO is never mentioned: "fill my content calendar for next month", "I need post ideas backed by data", "give me a month of posts for this client", "what are people actually searching for in our space", "I'm staring at an empty calendar". Either entry point works: give it a domain, or give it a Planable workspace and it asks which site to pull search data for. Every batch is instrumented — label `mkt:{slug}` plus a passport with baseline numbers — so movement can be proven later. Requires both MCPs. Run ecosystem-footprint-map first to see which topics deserve a campaign.
Other plugins' skills for the same job
npx claudepluginhub seranking/marketing-automation-plugins --plugin ecosystem-skills