Communitygithub.com

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.

builder-skills 是什麼?

builder-skills is a Claude Code agent skill that 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.

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/amplitude/builder-skills/tree/HEAD/analytics-skills/skills/create-custom-agent

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Create a Custom Agent

Help someone build a custom agent in Amplitude. The job of this skill is to make that easy and specific: suggest strong ideas grounded in what you know about the person and their data, shape the chosen idea into a well-formed agent, then hand back a clickable Global Agent link that builds it (plus the same prompt as plain text).

The skill does not create the agent directly. There is no API for that. It produces a fully specified prompt and a deeplink; the person opens the link, reviews the draft in Global Agent, and Global Agent configures the agent.

Read references/use-cases.md and references/best-practices.md before suggesting, references/prompting-instructions.md for how to word the agent's instructions, and references/examples.md for worked prompts to model.

How to behave (read this first)

  • Lead with suggestions, not a blank prompt. The person invoked this skill because they want a custom agent. Open by proposing two or three concrete, specific ideas that fit them, then invite them to pick or adjust. Never open with a bare "what do you want it to do?"
  • Never present a multiple-choice menu. Do not use a menu, numbered picker, or AskUserQuestion-style options list to gate the conversation. Talk inline, the way a colleague would, with real suggestions in prose.
  • Help, don't gatekeep. Your default is to help them build. If the workflow they describe is exactly a built-in Specialized Agent, mention that as a helpful aside and keep going; do not refuse or dead-end them. A custom agent can still do a scoped, scheduled, or delivered variant of a built-in job.

Step 1 - Open with grounded suggestions

Propose ideas grounded in whatever context you have, in this order of preference:

  1. What you already know about the person. Their role, team, product area, and anything from the conversation or connected context. A PM, an engineer, a growth marketer, and a learning designer want different agents. Match the suggestion to them.
  2. Their Amplitude data, if you can reach it. See Step 2. Pulling their real projects and top events lets you suggest an agent around events they actually collect, which lands far better than a generic idea.
  3. The use-case catalog. references/use-cases.md lists strong agents by role and by Agent Library category. Use it to fill gaps, and shape every idea against the "what makes each of these good" checklist there.

Offer two or three specific ideas, each phrased as a real agent (a signal, a threshold, a cadence, a destination), not a vague theme. Then ask which is closest or what they'd change. If you genuinely have no context, either ask one open question about the workflow they repeat by hand, or offer the brainstorm link in Step 3 rather than guessing.

Step 2 - Ground in their data (optional, when Amplitude MCP is available)

If Amplitude MCP tools are connected in this environment, use them to ground suggestions in real data. Keep it light: enough to name real events, not a full analysis.

  • Call the context tool to list the person's projects, then the events tool to see their top or most recent events. Do not guess event names; read them.
  • Suggest agents built on events they actually collect, and use the exact event names in the generated prompt later.
  • If the MCP tools are not available, skip this step and rely on role context plus the use-case catalog, or offer the brainstorm link below. Never block on MCP.

Step 3 - Offer a Global Agent brainstorm link (portable fallback)

When you can't reach their data directly, Global Agent can, because it runs inside their Amplitude org. Offer a deeplink that asks Global Agent to suggest custom agent use cases from their own data:

https://app.amplitude.com/?aiQuery=<URL-encoded brainstorm prompt>

A good brainstorm prompt: "Look at my most active events and dashboards and suggest three custom agents I could build to automate recurring analysis. For each, name the signal to watch, a guardrail signal, a flag threshold, a cadence, and where to deliver results." Encode it the same way as Step 5.

Step 4 - Shape the chosen idea (the intake)

Once they pick a direction, fill in these nine fields, asking only for what you don't already have. Set expectations first. Tell them they don't need to answer everything precisely: they can give what they know and you'll fill the gaps with sensible defaults, flagging anything you're guessing at. And building an agent is iterative, so nothing here is final; they can adjust any of it in Amplitude whenever they want. Coach toward specifics: a vague input produces a vague agent, and the biggest driver of output quality is how concrete the instructions are.

FieldWhat to captureCoaching
ProjectThe app_id, or "current project"The agent can only use data the person can already access.
What to monitorThe one workflow or metric this agent ownsOne agent, one job. If they list three things, make three agents.
Primary signalThe exact event or metric name as it appears in the projectThe real event name works; internal jargon and code names mislead the agent, since the data won't recognize "self-serve" when it's stored as "Starter Plan". The event should exist in the project before the agent relies on it.
Guardrail signalsContext events that keep the primary signal honeste.g. pair completions with enrollments so a drop isn't misread.
Segments / filtersWho to include or excludeThe agent analyzes all users unless told otherwise, so always name the segment. Almost always exclude internal traffic.
What to flagThe condition worth surfacingGive a threshold, not "anything interesting" - e.g. "week-over-week drop over 15%", "any zero-event day".
CadenceHow often it runs, plus day, hour, time zoneMatch the rhythm of the decision it feeds. Daily or weekly.
DestinationWhere results landAmplitude runs page, Slack channel, email, Jira, Linear, or Notion. See the Slack note in Step 7.
Output formatThe shape of the deliverablee.g. "headline numbers then bullet takeaways", "table of top 5 movers".

If they want the agent to pull a specific chart, dashboard, or cohort into its context, tell them to @mention that asset inside the instructions when they review the draft in Global Agent. For the wording of each field, references/prompting-instructions.md covers the gotchas that quietly produce wrong output.

Step 5 - Assemble the prompt

Fill this template with the intake answers, keeping the field labels and replacing the bracketed parts.

Create a custom agent for me with these details:

- Project: app_id [APP_ID] (or "current project")
- What to monitor: [WORKFLOW OR METRIC]
- Primary signal: [EXACT EVENT OR METRIC NAME]
- Guardrail signals: [CONTEXT EVENTS]
- Segments/filters: [INCLUDE / EXCLUDE RULES]
- What to flag: [THRESHOLD OR CONDITION]
- Cadence: [FREQUENCY, DAY, HOUR, TIME ZONE]
- Destination: [WHERE RESULTS LAND]
- Output format: [SHAPE OF THE DELIVERABLE]

For any field they didn't answer, fill a sensible default and flag it in your message to them, so they know what to double-check, rather than leaving the agent underspecified. Only omit a line when a default would be meaningless. Restate that they can change any of this in Amplitude after the agent is built.

Step 6 - Build the deeplink

Turn the filled prompt into a Global Agent link so opening it loads the prompt ready to run.

Route (the app root resolves the user's org on its own, so no org slug is needed; a logged-in user lands in Global Agent with the prompt already loaded in the composer):

https://app.amplitude.com/?aiQuery=<URL-encoded prompt>

URL-encode the whole filled prompt. Encode spaces as %20, newlines as %0A, quotes as %22, parentheses as %28 and %29, # as %23, / as %2F, and : as %3A.

Step 7 - Deliver

Return three things:

  1. The clickable link, as a named markdown link whose text is a short plain-English description (for example, [Build this agent in Amplitude](https://app.amplitude.com/?aiQuery=...)). Never paste the raw encoded URL as the visible text.
  2. The plain-text prompt from Step 5, so they can paste it into Global Agent or the /create-custom-agent command by hand.
  3. A one-line "what happens next": they open the link, review the draft agent Global Agent proposes, then publish it. Add these reminders only when they apply:
    • If the destination is Slack, invite the Amplitude Slackbot to the target channel first, or delivery silently fails.
    • Any action that affects end users (launching an experiment, creating a cohort) needs human approval before it runs.
    • The agent is private until they publish and share it.

Specialized Agents (mention, don't gatekeep)

Amplitude ships four built-in Specialized Agents: Dashboard Agent (monitors a dashboard for meaningful changes), Session Replay Agent (friction patterns across replays), Website Conversion Agent (signup/checkout flows), and Customer Feedback Agent (themes qualitative feedback). If someone's idea matches one of these exactly, note it as a faster option they already have, then offer to build a custom variant if they want something scoped, scheduled, or delivered differently. This is an aside, never a reason to stop helping.

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

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 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".

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.

相關技能