One post a month: a pure SEO and AEO teardown of a company people know, built from SEO Skill data, written as interactive MDX in apps/web/src/content/blog/<slug>.mdx, and shared on X with the company tagged ("How I'd grow @every with SEO"). It markets SEO Skill and Index My Site, so every post shows how it was made and ends with both.
The published examples are the reference: how-id-grow-every.mdx (a portfolio company) and how-id-grow-monologue.mdx (one product inside it). Read both before writing a new one. Read CONTENT.md and apps/web/AGENTS.md too.
1. Pick the company
- Start from the prospect list artifact in the thread folder "How I'd grow", or Signpost (topic
x-growth). - Good targets: a company Ian's audience knows, a founder active on X, a clear gap between authority and search traffic, and ideally several brands or domains. The portfolio links are where the cheapest wins usually are.
- List every domain and brand it owns before any research. Check whether a "small" site actually moved domain: follow redirects from the old one. Check alternate TLDs (.app, .net, .ai) for full mirrors that return 200, not only redirects. Leave out a domain you can't tie to the company.
- Note related companies that are not owned: a former parent or spin-out. Their links to the company still count, but describe them as a separate company.
- Read the X handle from the company's own site (footer, author pages). Never guess one. It goes in frontmatter
x.company: the account that speaks for the brand. When there is no company account and the founder is the brand (a personal newsletter), use the founder's handle there.
2. Pull the data with SEO Skill
Setup in a fresh orb: if the work comes from another thread, pull it with download_thread_changes and overwrite: true (without it, modified tracked files are skipped). Then run pnpm build once before pnpm build:package && node dist/cli.js ..., or the CLI can't find @seo/core.
Sources:
- Ahrefs MCP directly (find it with tool_search) for top pages, traffic history, competitor traffic, SERP overviews and volumes.
seo_researchhas no top-pages action, and the hosted account may have no Ahrefs key. seo_researchwith DataForSEO for keyword metrics only. Its SERP rows currently come back asgoogle.com/gotolinks (a known bug), so don't build "who ranks" from them.- One provider per table, named in the caption. Ahrefs and DataForSEO volumes can differ by 7 times for the same search.
- The CLI for crawls. Hosted platforms (Substack, Webflow, Shopify) rate-limit, so crawl them with
--concurrency 2 --fetch-interval-cap 1 --fetch-interval-ms 1200 --refresh. - Ahrefs MCP calls can return JSON with trailing text: parse from the raw result up to the last
}. Ask the SERP overview for one keyword per call. - AI answers:
seo research ai_answers --target <domain> --keywords "<q1>,<q2>"asks ChatGPT search, Google AI Mode and AI Overviews up to 10 questions through DataForSEO, for any domain, and says whether each answer cites or mentions it (about $0.01 a question). Run the same questions for the top competitor so the result has a comparison. Ahrefs Brand Radar isn't on the plan.
Save raw output under .amp/in/research/<slug>-<date>/ (biome ignores .amp/), with a sources.md that lists each number, its tool call and date. Transcribe MCP output there by hand, since code_exec can't write files. Never commit real data outside the post itself.
For each domain:
-
Where the traffic lands:
seo_researchtop pages (Ahrefs), then group pages by kind: sells something, brand searches, editorial, typos and off-topic. This is theTrafficMapat the top of every post. -
Each revenue line: the searches buyers make, with US volume, difficulty and who ranks (
keyword_metrics,serp). A keyword table always shows volume and who ranks, never CPC alone. -
Crawl:
seo crawl <url> --max-pages 600on every domain, including parent and sister sites. Pull out the links between the company's own sites (destination, link text, count). Check typo and parked domains. -
Technical issues: take the crawl's issues and confirm each by hand on a live page before writing about it. Also check by hand:
- Sitemap against navigation: diff the sitemap and the linked sections. Whole sections missing from one or the other are findings the crawl won't flag.
- Unknown URLs: request a made-up URL and record the status, including any redirect to a sign-in page that returns 200.
- Canonicals on money pages: pricing and signup pages, on every domain that serves them.
-
Dead or moved sections: when a subdomain or section that used to get traffic now fails, list its old URLs from the Wayback Machine CDX API (
https://web.archive.org/cdx/search/cdx?url=<host>/*&output=json&fl=original&collapse=urlkey), then check them withseo crawl --mode list --urls-file <file>. Look for copies of the old pages elsewhere that nothing redirects to. -
Links between the company's sites: the crawler treats other subdomains as off-origin, so it doesn't report their broken links. Pull every link out of the post bodies in the crawl JSON, request each target on another of the company's hosts, and count 404s, homepage redirects and good destinations. Count post-to-post links from the body only; the crawler's inlink counts include navigation.
-
Traffic swings: when the history drops, check whether rankings dropped or whether the brand word is ambiguous and Ahrefs' click estimate for it changed. Say which one it is.
-
Every domain and subdomain: list each host the company uses (links in the site and the newsletter, certificate transparency at
https://crt.sh/?q=%25.<domain>&output=json, old addresses from the Wayback Machine). For each, record what it serves, its status and its referring domains (Ahrefs). This table backs the one-domain recommendation. -
The founder's best social posts: find the founder's and the company's most viewed or most linked posts on X and other networks. Read the last two weeks of X posts, with views, likes, reposts and bookmarks, from FxTwitter's public API (
https://api.fxtwitter.com/2/profile/<handle>/statuses, sent with a user agent; it often answers 404 for a real account, so retry a few times). Then read older posts found on the company's site, in its newsletter or in Ahrefs referring pages one by one fromhttps://api.fxtwitter.com/2/status/<id>. These are research steps for the post, notseocommands. For each long or evergreen post, check whether a web copy exists and gets search traffic, then map its sections to searches with volume (KeywordTable). A post with millions of views and no web page that ranks is a finding. -
AI readiness: request the homepage and one post as a browser, GPTBot, OAI-SearchBot, ClaudeBot and PerplexityBot (
curl -A "<user agent>"). Record the status and whether the full text comes back. Also read the robots.txt rules for those bots, check whether llms.txt exists and returns text (not HTML), and check for Markdown copies and structured data. Say what the platform allows (Substack, Webflow, Ghost and so on) before recommending a change it can't make. A user agent string isn't the bot's real IP, so call these results what the site serves to that user agent. -
Keyword research for new content: this is half the post, not an extra. For each topic the company could own:
- Competitor gap: find 3 to 5 competitors (
seo research competitors --target <domain>, plus the names people compare it with). Pull each one's ranking keywords (ranked_keywords) and list the searches with volume where a competitor ranks and the company has no page. - What competitors publish: for the biggest gaps, read the ranking pages (
serp) and record the page type (guide, glossary, comparison, template, free tool), length and who it's written for. Say how the company could do it better: first-hand data, the founder's voice, a tool instead of an article. - Clusters: group the gaps into clusters with a head term and the supporting searches, total volume and the easiest difficulty. Each cluster gets a proposed page: title, URL, the sections it covers and the searches each section answers (
KeywordTable). - Social posts: every post from step 9 that's worth a page gets the same treatment: target search, title, URL and sections mapped to searches.
- Competitor gap: find 3 to 5 competitors (
-
Free tools and programmatic pages: look for searches with tool intent (checker, generator, calculator, template, "free") and for repeatable page patterns (one page per tool, model, integration or city) in the company's niche. Record volume, who ranks and what the company already has (data, an API, a product feature) that could power the page. Propose only what the company can build from what it owns.
-
AI visibility: pick 5 to 10 questions buyers ask an AI assistant about the company's category ("best for ", "how do I "). Run
ai_answersfor the company and its top competitor. Report who's cited, which pages get cited, and what the cited pages have that the company's don't (a direct answer near the top, a comparison table, a definition, fresh dates). Pair it with step 10: an AI crawler that gets the full page but no cited answer points to content, not access.
Write every number with its source and month. Third-party estimates are called estimates.
3. Write the post
Frontmatter:
title: How I'd grow <Company> with SEO # 30 to 60 characters
description: ... # 70 to 160 characters
heading: How I'd grow <Company>
lead: One or two sentences with the finding.
date: 'YYYY-MM-DD'
company: <Company>
x:
company: <handle without @>
draft: true
cover:
alt: What the art shows, in one sentence.
title: center # or left when the subject stands on the right
Cover: every post gets illustrated art, saved as apps/web/public/blog/covers/<slug>.webp. The post shows it above the article, and the build draws the title over it for the sharing card.
- Make the company's mascot or mark the hero when it has one (Ben's Bites' red mascot, Amp's olive green Puck), drawn in its real colours.
- Give each post its own style and palette (screenprint, risograph, engraving, film still) so the covers don't look alike. Take the colours from the company's brand.
- The scene shows the post's main finding as a picture a reader gets at a glance.
- Leave a calm band where the title goes: the middle for
center, the left half forleft. No text in the art. - Save it at 1200×630:
magick in.png -resize 1200x630^ -gravity center -extent 1200x630 -quality 70 -define webp:method=6 <out>.webp, under about 250 KB. - Build the site and check
dist/blog/<slug>/index.png: the title must be legible and clear of the subject.
Series rules:
- One domain beats subdomains; less is more. Recommend folding subdomains and side sites into subfolders on the main domain, or into the platform's post path when it can't serve folders, with a 301 from every old address. Make an exception only with evidence against it, and say what the evidence is. The referring domain counts from step 8 show what each move gains.
- Turn the best social posts into lasting pages. When step 9 finds them, propose the playbook: the long version on the web, a short post that links to it, and the link in a reply under the original post.
Sections, in this order, adjusted to the company:
- Intro: what the company is and how it makes money. For a media company or newsletter, the "revenue lines" below are what brings readers and sponsors: new subscribers from search, and evergreen pages sponsors pay to appear on.
- Where its search traffic lands (
TrafficMap), and why most of it doesn't sell. - One section per revenue line: the demand, who ranks, whether the company can compete there, and what page it needs.
- Portfolio links: where the company's own sites link to each other, with an example page and the exact link.
- New content: the keyword clusters from step 11, the free tools and page patterns from step 12, and the social posts worth a page. Each proposal has a target search with volume, a title and its sections.
- AI search: what crawlers get (step 10) and who AI answers cite (step 13), with the fixes the platform allows.
- Technical fixes, closest to revenue first. Each gets an
###subsection: what it is in plain words, an exhibit that shows it, The fix: with best practice, and how to confirm it worked. - "Ship it all today, then let it settle": the fixes as parallel agent jobs (
PlanSteps, numbered, no "Agent 1" labels), then 30 days of checks (PlanStepswithmarker: "Day 0"and so on). Never a week-by-week sprint. - Get the changes seen quickly: Index My Site for every changed and new URL.
- How I ran this: the hosted MCP first (free, Google sign-in, research key on the account page), then the CLI for crawling, then the prompt.
Rules that came from Ian's reviews:
- Pure SEO and AEO, tied to revenue. No vanity traffic wins.
- Refer to pages by name ("their courses page"), not bare paths, in prose.
- A strong claim stays when it is specific and the numbers sit next to it. Portable puffery goes.
- Name a fix the company can act on, with an example from their own site.
4. Exhibits
Every exhibit must show something the prose can't: which pages, who ranks, where traffic lands, what changes. No stat-card rows and no decoration. All stay inside the prose column. Components (in apps/web/src/components/blog, available in posts without imports):
| Component | Use it for |
|---|---|
TrafficMap |
Where a site's search traffic lands, by kind of page |
CompareBars |
Ranking sites or pages by one number |
VerticalBars |
A number over time, with markers for events |
TrafficCurve |
Several series over time |
KeywordTable |
Searches with volume, difficulty, who ranks and the company's position |
SerpLadder |
Who ranks for one search, and where the company would slot in |
PageGrid |
Every page on a site, grouped, with the ones that matter lit |
UrlMap |
A set of URLs and what to do with each (keep, 301, fix) |
SearchResult |
How a page looks in Google: title, address and description, today and after the fix |
BrowserFrame |
What a visitor sees at an address: tab title, address bar, status and the page |
TitleSheet |
Title tags across many pages, with length, duplicates flagged and the fix; sortable |
BeforeAfter |
Code, redirects, headers or link markup before and after a fix |
PlanSteps |
The parallel jobs, and the dated checks |
Callout, Exhibit |
Anything else, wrapped in the same panel |
Pick the exhibit for each finding
When a draft names a concrete thing a reader could look at, show it; don't only describe it. After writing each finding, ask which component lets the reader see the problem and the fix at a glance:
| The finding is about | Show it with |
|---|---|
| A title tag, meta description or how a page reads in Google | SearchResult with before and after |
| Titles across many pages, duplicates or a template pattern | TitleSheet |
| What a visitor gets at an address (soft 404, wrong page, sign-in wall) | BrowserFrame |
| A redirect chain, status code, canonical, robots line or header | BeforeAfter with the request and response in a <pre> |
| Markup or a link that changes | BeforeAfter with code |
| Many URLs and what to do with each | UrlMap |
| Which pages on a site matter, or how many are missing | PageGrid |
| Who ranks for a search, and where the company would fit | SerpLadder |
| Searches to target | KeywordTable |
| Traffic over time, or one number across sites | VerticalBars, TrafficCurve, CompareBars |
Write the exact current value from the live site and the exact proposed value, so the reader can copy the fix. If no component fits a finding that needs a visual, say so in the report back, and don't force a poor fit.
Multi-line HTML for BeforeAfter goes in an export const at the top of the post. JSX attribute strings can't hold \"; use ". When an exhibit quotes the company's own copy and it trips seo lint (a dash in a real title), put // seo-lint-ignore dash on the line above that prop or row.
Data limits in the components:
KeywordTable: keep a "who ranks" cell to two names, or the table scrolls sideways on phones.
Check every exhibit in the dev server (amp orb service start blog-dev --command 'cd apps/web && pnpm exec astro dev --host 127.0.0.1 --port $PORT' --portal if it isn't running; drafts render only there) at desktop and phone width, light and dark, with screenshots inspected. With agent-browser:
set viewport 1280 900 2and390 844 2for the two widths, andset media darkfor dark mode (the site follows the system setting).- Scroll each exhibit into view and wait a second, because exhibits fill in on scroll. If it still captures empty, run
document.documentElement.classList.remove('motion')first so every exhibit shows its final state. - Capture the viewport, not the element: element captures below the fold come out blank.
- Click the second tab of each
BeforeAfterand capture that too.PlanStepsrenders asol.plan-steps, not a figure.
5. Gates before Ian sees it
- The post renders in the dev server with no errors (a broken JSX attribute passes lint but crashes the page).
node dist/cli.js lint apps/web/src/content/blog/<slug>.mdxshows 0 errors and 0 warnings. Read every "to review" item and change the line only when it fails the question.- Every number traces to
sources.md. pnpm build,pnpm typecheck,pnpm testandpnpm lintpass, and the post stays out ofdistand the sitemap whiledraft: true.
6. Feed it back into SEO Skill
Every audit finds things the product could do for anyone. Before Ian's review, list them at the end of .amp/in/research/<slug>-<date>/sources.md:
- a check you ran by hand that every site would benefit from (it belongs in
seo crawlor a report) - a command that refused, broke or needed a workaround (log it in
docs/known-issues.md) - data you pulled from a provider directly that
seo researchshould return
Then raise the list with Ian. Only changes any SEO Skill user would want go into the product; research helpers for these posts stay in this skill.
7. Ian's review
Turn the post into Markdown with node .agents/skills/writing-how-id-grow-posts/scripts/mdx-to-markdown.mjs apps/web/src/content/blog/<slug>.mdx and publish it as an Amp document artifact titled "Draft: How I'd grow " in the folder "How I'd grow". Read the artifact's comments before each update, and reply to each comment you address.
8. Publish and launch
Only after Ian approves the post:
- On publish day, re-pull the headline numbers and recheck that the issues are still live. Update anything that changed.
- Set
draft: false, run all four repo gates, and ship through a PR tomain. Merging deploys the site. - Submit the post URL to Index My Site.
- Draft the X post in Typefully as a plain draft (
typefully.create_draftwith noplan_atorpublish_at). Line one is the post title with the company's handle ("How I'd grow @every with SEO"), then a short summary of the main findings, then the post link. One mention only:x.company. The post link is the only URL or domain in the text, so X builds the card from our post; describe other sites in words ("a second domain", "the main site"). Putseocommands in backticks. Runseo linton the text with--preset landing. Ian schedules it himself. - To try an X Article instead, create a separate
x_articledraft from the post's Markdown, and compare performance before choosing a default.