Communitygithub.com

amplitude/builder-skills

Use this skill whenever a user wants to test content variants before publishing to find which one will get cited most by AI models — whether they say "which version of this content will perform better", "test this article before we publish", "simulate how AI will respond to this content", "which angle should we use", "generate content variants and pick the winner", "run a simulation before publishing", or any variation where the goal is data-driven content selection rather than gut-feel publishing. This skill takes an identified content opportunity, generates 2–3 distinct variants with different angles or structures, scores them against actual AI model responses from AI Visibility, references the Simulate Changes feature for pre-publish validation, and produces a clear recommendation on which variant to publish — then pushes the winner to CMS. Trigger on any mention of "simulate", "test variants", "which performs better", "A/B content", or "before we publish".

Qu'est-ce que builder-skills ?

builder-skills is a Claude Code agent skill that use this skill whenever a user wants to test content variants before publishing to find which one will get cited most by AI models — whether they say "which version of this content will perform better", "test this article before we publish", "simulate how AI will respond to this content", "which angle should we use", "generate content variants and pick the winner", "run a simulation before publishing", or any variation where the goal is data-driven content selection rather than gut-feel publishing. This skill takes an identified content opportunity, generates 2–3 distinct variants with different angles or structures, scores them against actual AI model responses from AI Visibility, references the Simulate Changes feature for pre-publish validation, and produces a clear recommendation on which variant to publish — then pushes the winner to CMS. Trigger on any mention of "simulate", "test variants", "which performs better", "A/B content", or "before we publish".

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/amplitude/builder-skills/tree/HEAD/content-marketing-skills/skills/simulation-backed-publisher

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Simulation-Backed Publisher

You're helping a content team stop guessing. Instead of publishing one piece of content and hoping it gets cited, this skill generates 2–3 distinct variants, scores each one against what AI models are actually saying on this topic, and recommends the one most likely to win citations — before a single word goes live.


Step 0 — CMS Discovery (run once at the start of every session)

Before doing anything else, figure out where the winning content will land. This avoids a copy-paste dead end at the end of the workflow.

Check for already-connected CMS tools

Scan the tools currently available in your context. Known CMS MCP patterns:

CMSTool name patterns to look for
Sanitysanity, create_documents_from_markdown, patch_document_from_markdown
Contentfulcontentful, create_entry, update_entry
HubSpot CMShubspot, update_blog_post, create_blog_post
WordPresswordpress, wp_update_post, wp_create_post
Ghostghost, update_post, create_post
Webflowwebflow, update_cms_item, create_cms_item

If a CMS MCP is already connected: confirm in one line: "I can see [CMS] is connected — I'll push the winning variant there as a draft when we're done. Sound good?" Then proceed to Step 1.

If nothing is connected: ask once, concisely:

"Before we start — which CMS do you publish to? I can push the winning variant directly there as a draft instead of handing you a block of text to paste."

Offer: Sanity · Contentful · HubSpot · WordPress · Webflow · Ghost · Other · "Just give me the content"

Then give a tailored setup recommendation based on their answer (same guidance as in prompt-gap-to-publish). Don't block on setup — start the analysis immediately and say you'll be ready to push by the time they're connected.


Step 1 — Identify the Opportunity to Simulate

Use list_ai_visibility_org_brands to identify the brand (or use what the user specified).

The user may arrive here with an opportunity already in hand (e.g., from running prompt-gap-to-publish or competitor-prompt-hijacker). If so, use that opportunity directly.

If not, use get_ai_visibility_topics with the selected orgBrandId to surface the top 3–5 opportunities using the standard scoring heuristic: topics with relevancy > 60% and visibility < 40%. Present them briefly and ask which one to simulate.

Confirm the opportunity with the user before building variants:

"I'll generate variants for: [opportunity title]. The target prompts are: [2–3 example prompts]. Does that match what you want to test?"


Step 2 — Load the LLM Response Context

For the selected opportunity, pull the actual AI model responses using:

  • get_ai_visibility_prompts with the relevant topicId to get the prompt list
  • get_ai_visibility_prompt_responses for the top 5–8 prompts with the highest responseCount

Read each response carefully. This is the ground truth — it's exactly what AI models currently say when asked questions in this space. Your variants will be scored against this context.

Extract from the responses:

  • What language and framing do AI models use? (vocabulary, question format, key terms)
  • What claims do they make? (statistics, product capabilities, named tools)
  • What's missing or thin? (areas where the AI response is vague, hedged, or cites weak sources)
  • Which brands appear in answers? (competitors getting cited that shouldn't be)
  • What format do the responses use? (bullet lists, prose, tables — your content should match)

This context is the scoring rubric for the variants you'll build.

Also call get_ai_visibility_sentiment to understand tone: is AI sentiment toward the brand positive, neutral, or negative on this topic? Variants should be designed to reinforce positive sentiment or counter negative framing.


Step 3 — Generate 2–3 Variants

Build 2–3 distinct variants of the content. Each variant should take a meaningfully different angle or structure — not just the same content with different intros. Small rewrites don't help you learn anything; genuine alternatives do.

Variant differentiation axes

Pick the axes most relevant to the opportunity:

Angle: Educational ("How does X work") vs. Competitive ("Amplitude vs alternatives") vs. Use-case ("Best X for [specific segment]")

Lead: Data-first (open with a benchmark or statistic) vs. Problem-first (open with the pain point) vs. Answer-first (open with the direct answer to the core question)

Depth: Comprehensive guide (long-form, covers everything) vs. Sharp and specific (focused answer to one question) vs. Interactive/structured (heavy use of tables, comparison matrices, FAQs)

Framing: Brand-forward ("Here's how Amplitude does X") vs. Category-neutral ("Here's how product analytics works — and where Amplitude fits") vs. Competitive ("The honest guide to X tools")

Variant format

For each variant, write:

  1. Full H1 and opening paragraph (the part AI models weigh most heavily)
  2. H2 outline with a 1–2 sentence description of each section's content
  3. One fully written section — the most important H2, written completely
  4. Full FAQ block — 4–6 Q&As using the exact prompt language from Step 2
  5. Meta fields: metaTitle, metaDescription, slug

Label them clearly: Variant A, Variant B, Variant C.


Step 4 — Score Each Variant Against LLM Context

Now evaluate each variant against the actual AI model responses from Step 2. This is the simulation. Score each variant on a 1–5 scale across these dimensions:

Prompt alignment (1–5): Does the variant's H1, opening, and FAQ directly match the language and question format used in the AI Visibility prompts? Score 5 if the variant mirrors prompt language closely; score 1 if it uses different terminology or buries the answer.

Answer directness (1–5): Does the variant answer the core question in the first 2 sentences? Score 5 if yes; score 3 if the answer appears within the opening paragraph; score 1 if the reader has to scroll.

Specificity (1–5): Does the variant make concrete, verifiable claims ("Amplitude captures rage clicks, scroll depth, and heatmaps in sessions under 100ms") rather than generic ones? Score 5 if every major claim is specific; score 1 if claims are mostly generic.

Gap coverage (1–5): Does the variant cover the areas where the current AI responses are thin or absent? Score 5 if it fills every identified gap; score 1 if it largely repeats what AI models already say.

Structure match (1–5): Does the variant's format match how AI models are already presenting this topic? Score 5 if the structure mirrors the response format (e.g., if AI models use bullet lists, the variant uses them prominently).

Present the scores as a table:

DimensionVariant AVariant BVariant C
Prompt alignment453
Answer directness345
Specificity534
Gap coverage443
Structure match354
Total192119

State the recommendation clearly: "Variant B scores highest (21/25). Its FAQ block mirrors the exact prompt language from AI Visibility, and it answers the core question in sentence 1. Recommend publishing Variant B."


Step 5 — Simulate Changes Checkpoint

Before pushing to CMS, reference AI Visibility's built-in Simulate Changes feature:

"AI Visibility has a 'Simulate Changes' feature that runs your content against live AI model prompts and projects the citation improvement before you publish. Here's what to paste in: [the full text of the winning variant's opening + FAQ block]

To run it: open AI Visibility → select your brand → go to Simulate Changes → paste the content → run the simulation. I'll wait, or push the draft now and you can simulate in parallel."

Let the user decide. If they want to simulate first, pause and provide the exact text to paste. If they're ready to push, proceed to Step 6.

If the simulation comes back and changes their mind about which variant to use, generate the revised variant in full before pushing.


Step 6 — Build the Winner in Full

Once the variant is selected (with or without simulation results), write the complete article:

  • Full H1 through final CTA — no placeholders, no "[add section here]"
  • All H2 sections from the outline, written completely
  • Full FAQ block (4–6 Q&As)
  • Meta fields: metaTitle, metaDescription, slug
  • "Last updated: [current month/year]" note in the metadata

Also save the runner-up variants as a Markdown block at the end — label them clearly as alternates. These can be used for A/B testing after launch, or adapted for different channels.


Step 7 — Push to CMS

Use what you discovered in Step 0. This is a new document (create operation, not update) unless the user specifies they're updating an existing page.

Sanity — use create_documents_from_markdown with the winning variant. Set _type to match the blog/article schema. Ask if unsure: "What's the document type for articles in your Sanity schema?" Never use publish_documents without explicit instruction.

Contentful — use create_entry with contentType matching their article type. Set fields.title, fields.slug, fields.body. Leave published: false.

HubSpot — use create_blog_post with state: DRAFT. Include meta description and slug.

WordPress — use wp_create_post with status: draft. Map H1 to title, body to content.

Ghost — use create_post with status: draft. Include slug, title, html or lexical, and meta_description.

Webflow — use create_cms_item targeting the blog Collection. Map fields to the Collection's schema (ask the user for field names if not obvious).

After pushing, confirm: "Done — [article title] is saved as a draft in [CMS]. Here's the ID/URL: [link]. The runner-up variants are below in Markdown — save them for future use or A/B testing."

Always output a Markdown fallback of the winning variant, plus the runner-up alternates, even when CMS push succeeds.


Why simulate before publishing

Every piece of content is a bet. Simulation-backed publishing turns that bet into a reasoned choice:

  • Prompt alignment is the single strongest predictor of citation. Content that mirrors the exact language AI models use in prompts will be retrieved and cited far more reliably than content written in generic SEO language.
  • Answer directness compounds over time. The first sentence of a page is disproportionately weighted by AI retrieval. A variant that answers in sentence 1 will consistently outperform one that takes three paragraphs to get there.
  • Gap coverage is the fastest citation win. If AI responses on a topic are thin or vague on a specific sub-question, the first page to answer it concretely becomes the go-to citation.
  • Variants expose assumptions. Writing 3 versions of the same content forces the team to articulate what they actually believe the audience needs — and the scoring often surprises them.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

amplitude/builder-skills

Performs deep analysis of a specific Amplitude chart to explain trends, anomalies, and likely drivers. Use when a metric looks unusual, investigating a spike or drop, or understanding the "why" behind numbers.

amplitude/builder-skills

Deeply analyze Amplitude dashboards by analyzing key charts, surfacing top areas for concern and takeaways, identify anomalies, then explain changes using customer feedback trends.

amplitude/builder-skills

Designs A/B tests with proper metrics and variants, analyzes running or completed experiments, and interprets results with statistical rigor. Use when setting up experiments, checking experiment status, analyzing results, or making ship decisions.

amplitude/builder-skills

Synthesizes customer feedback into actionable themes including feature requests, bugs, pain points, and praise. Use when planning product roadmap, understanding user sentiment, investigating specific issues, or preparing voice-of-customer reports.

amplitude/builder-skills

Analyze MCP server usage instrumented with Amplitude's MCP Analytics SDK: break usage and errors down by tool, read the rationales within each tool to see what callers are trying to do, and produce a prioritized write-up of actionable fixes. Use this skill whenever the user asks to understand how their MCP server is being used, what agents/users are trying to do with it, why tool calls are failing, what to fix or improve in their MCP server, or asks for an "MCP usage report", "tool error analysis", "intent analysis", "rationale clustering", or "MCP insights". Also trigger when the user mentions [MCP]-prefixed events, tool rationale, tool call errors, or just finished instrumenting their MCP server and wants to see what the data says. Requires the Amplitude MCP connector.

amplitude/builder-skills

Read lost deals and churned accounts from your CRM, extract reasons clustered by theme (missing features, pricing, competitors, UX), and write a prioritized weekly analysis with product improvement recommendations. Use before roadmap planning or to build the case for prioritizing retention work.

amplitude/builder-skills

Creates Amplitude charts from natural language descriptions, handling event selection, filters, groupings, and visualization choices. Use when you know what you want to measure but prefer not to build the chart manually.

amplitude/builder-skills

Guide an Amplitude user through building a custom agent by suggesting use cases grounded in their role and data, shaping the idea into a well-formed spec, and generating a ready-to-run Global Agent deeplink that creates it. Use to create, build, or set up a custom agent, automate a recurring analysis, or put a repeated report on a schedule.

amplitude/builder-skills

Builds comprehensive Amplitude dashboards from requirements or goals, organizing charts into logical sections with appropriate layouts. Use when creating a complete dashboard from scratch or assembling existing charts into a cohesive view.

amplitude/builder-skills

Monitors all active and recently completed experiments across Amplitude projects, triages them by importance, then runs deep analysis and reporting on the most impactful ones. Use when the user asks to "check on experiments", "experiment status", "experiment review", "what experiments are running", or wants a periodic experiment health report.

amplitude/builder-skills

Pull Intercom tickets and Slack support messages from the past 7 days, classify each signal, enrich with CRM data (ARR, plan, renewal), score by customer value and churn risk, and output a tiered priority report saved to Drive. Use when you need a fast, data-driven view of what support signals matter most.

amplitude/builder-skills

Use this skill whenever a user wants to improve existing pages on their website to get cited more by AI models — whether they say "our pages aren't getting cited", "improve this page for AI visibility", "which of our pages should we update", "make this article more cite-worthy", "our competitors are getting cited instead of us", "update our content for AI search", or any variation where the goal is improving an existing asset rather than creating something new. This skill pulls owned pages from AI Visibility, identifies which ones have citation potential but are underperforming, compares them against the external pages that are winning citations on the same topics, and produces section-level rewrites or a full-page update — then pushes the revision to the CMS as a draft. Trigger even if the user just says "help me get cited more" or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to win AI citations on prompts that competitors currently dominate — whether they say "competitors are getting cited instead of us", "we're losing on these prompts", "how do I outrank [competitor] in AI answers", "find prompts where we should be winning", "create content to beat [competitor]", or any variation where the goal is capturing AI share on prompts a competitor currently owns. This skill pulls competitor visibility data from AI Visibility, identifies the specific prompts where competitors win and Amplitude is absent, clusters them by intent, and produces targeted comparison pages, alternatives content, or rebuttal assets — then pushes drafts to CMS. Trigger on any mention of competitor, prompt hijack, outrank, or "why is [competitor] getting cited instead of us".

amplitude/builder-skills

Use this skill whenever a user wants to turn AI Visibility data into published content — whether they say "find content gaps", "what should we write about", "which topics have low visibility", "help me get cited by AI models", "create a blog post from our AI Visibility gaps", "we're losing to competitors on these prompts", or any variation where they want to go from AI visibility weakness to a draft article, landing page, or FAQ. This skill connects directly to Amplitude AI Visibility data (topics, prompts, visibility scores, citations, competitor data, full LLM responses and sources) and produces a publish-ready content brief plus full article draft. If the user mentions CMS (WordPress, Webflow, Contentful, Sanity, HubSpot, Ghost, Shopify), also trigger this skill to push the draft directly. Trigger even if they just say something vague like "what content should we create?" in an AI Visibility context.

amplitude/builder-skills

Use this skill whenever a user wants to understand which external sources are being cited by AI models on topics relevant to their brand, and wants to create content that will outrank those sources — whether they say "what sources are AI models citing", "why is [third-party site] being cited instead of us", "we want to be the definitive source on X", "build something that gets cited more than G2 or TechRadar", "create an authoritative asset", or any variation where the goal is producing a new reference asset (definition page, benchmark, methodology, glossary, comparison hub) designed to beat existing top-cited sources. This skill analyzes AI Visibility source data, reverse-engineers what makes top-cited pages authoritative, and produces a superior source asset — then pushes it to CMS as a draft. Trigger on any mention of "sources", "third-party citations", "authoritative content", "definitional pages", or "outrank".

amplitude/builder-skills

Instrument a Node/TypeScript MCP server with Amplitude's @amplitude/mcp-analytics SDK so tool calls, sessions, and rationale are tracked as Amplitude events. Use this skill whenever the user wants to add Amplitude analytics to their MCP server, mentions "MCP Analytics", "@amplitude/mcp-analytics", "instrument my MCP server", "track MCP tool calls", "add rationale to my MCP tools", or wants agent traffic (Claude, Cursor, ChatGPT) attributed back to Amplitude. Also use for adding UTM tagging to MCP-returned links, or for troubleshooting identity/user_id mismatches between MCP events and web/mobile Amplitude data.

amplitude/builder-skills

Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy. Reads the tracking plan via the Amplitude MCP server (events, properties, naming conventions), analyzes the PR diff to find the few user actions genuinely worth tracking, detects the codebase's SDK and tracking patterns, and adds instrumentation that matches both. Optionally (opt-in) stages new events and properties on an Amplitude tracking-plan branch for data-governance review. Use when asked to "instrument this PR", "add analytics to this change", "add tracking", "add Amplitude events", "instrument this feature", or "what should I track here".

amplitude/builder-skills

Diagnoses product health by cross-referencing Amplitude analytics (dashboards, charts, funnels, feedback, AI agent analytics), optionally Datadog (errors, latency, stack traces), and optionally Slack (qualitative feedback, bug reports, feature requests). Identifies what's broken, what's working, and what to do about it — with root causes, not just symptoms. Use when asked to "diagnose my product", "what's going on", "product health check", "what's broken", "where are users struggling", "give me a product diagnosis", or "what should I focus on".

amplitude/builder-skills

Turn one or more meeting transcripts, notes, or Slack threads into concise takeaways and clear action items with DRIs. Works with a single meeting or a batch from the whole week.

amplitude/builder-skills

Summarizes B2B account health by analyzing usage patterns, engagement trends, risk signals, and expansion opportunities. Use for customer success reviews, renewal preparation, QBRs, or account prioritization.

Skills associés