Logo van Edit Guides Surveys

Edit Guides Surveys

Organisatie
amplitude
edit-guides-surveys

Creates, edits, translates, and archives Amplitude Guides and Surveys through `run_amp`, including step content blocks, buttons, survey questions, and translations. Use before changing a guide's or survey's copy, steps, questions, buttons, targeting, settings, or translations.

Overzicht

Uitgeveramplitude
Repositorymcp-marketplace
Skillnaamedit-guides-surveys
Sterren
47
Forks
12
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door amplitude op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Edit Guides Surveys in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/edit-guides-surveys
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amplitude/mcp-marketplace.git /tmp/mcp-marketplace
mkdir -p .claude/skills
cp -r /tmp/mcp-marketplace/plugins/amplitude/skills/edit-guides-surveys .claude/skills/edit-guides-surveys
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Edit Guides Surveys in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Edit Guides Surveys automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Edit Guides Surveys niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Edit Guides and Surveys

All guide and survey reads and writes go through run_amp, which calls the Amplitude Developer API with the user's MCP credentials. Call them guides and surveys, not "nudges".

Before you write

  • Project: use get_amplitude_context when the project isn't known. Ask the user rather than guessing.
  • Parameters: check them before the first call of each command, for example {"command": ["help", "guides", "update"]}. The help output includes the full step and content block schema.
  • Find the item: ["guides", "list"] or ["surveys", "list"] with project. Filter with platform, created_by, created_after or created_before, and page with limit and cursor.
  • Read the draft: ["guides", "get"] with project, guide and include-unpublished-changes: "true", or ["surveys", "get"] with survey. Without that flag you get the live version, which may differ from the draft you're about to change.

Writes

  • Draft only. Every write changes the draft. Publishing happens in the Amplitude app, so say so and link the item's url from the response.
  • Update: ["guides", "update"] or ["surveys", "update"].
    • latest-version is required: pass latest_version from the get you just did.
    • A 409 means someone else changed the item since you read it. Get it again, reapply your change, and retry once.
  • Send only the fields you change. To edit steps, send variants back with every variant and step id kept. An item without an id is created as new.
  • Create: ["guides", "create"] or ["surveys", "create"] with project and title, plus optional platform and variants. New items are drafts.
  • Archive: ["guides", "archive"] or ["surveys", "archive"]. This only works for items that were never published.
    • Run it with dry-run: "true" first.
    • Then run it with allowDestructive: true, after the user confirms.
  • Retries aren't safe. A retried create makes a duplicate. After an ambiguous failure, list or get before you try again.
  • Objects and arrays as flags: pass them as JSON strings, for example "variants": "[...]".

Step content

A step has a title, a form_factor (modal, popover, tooltip, banner, pin, card, checklist) and content, an array of blocks rendered top to bottom.

  • Block shape: {uuid, type, meta}, with meta keys in camelCase.
  • Edit in place: change the block you need and send the whole content array back.
  • Keep each block's uuid. Survey responses are keyed by it. Give a new block a new v4 UUID.
typemeta
markdownvalue (Markdown; inline HTML is sanitized), optional alignment
buttonlabel, buttonType (primary, secondary, snooze), action
imagesrc, filename, size, optional altText
videotype: "url", src
survey_text, survey_text_shortprompt is the input's placeholder, not the question. Put the question in a markdown block or the step title.
survey_listoptions, listType (single, multiple), displayType (list, dropdown, grid)
survey_ratingtype (stars, numbers, emojis, nps), options, lowerLabel, upperLabel; emojis when the type is emojis
survey_hiddenlabel, source ({type: "static", value} or {type: "event_property", property})

Question validation: questions take an optional validation.required: {value, message}. A required question needs a message.

Button actions:

  • step_forward, step_back, complete, dismiss
  • link with value (the URL) and operation (self or blank)
  • go_to_step with value (the step id)
  • snooze
  • no_action

A button's actions field is an action sequence that overrides action. If you change action on a button that has one, update actions.navigation to match, or remove actions. Leave action types you don't recognize unchanged.

Translations

Translations are stored per variant, as locale → translation key → text. The default locale is the content itself. Edit it with the step content, not with translations.

  • Read first: get with include-unpublished-changes: "true" and include-translations: "true". The response adds:
    • localization: the project's default_locale and the locales you can write.
    • Per variant, translations: what is stored now.
    • Per variant, translation_status.sources: every translatable key with its default-locale text. Translate these values.
    • Per variant, translation_status.locales.<locale>.missing and .outdated: what is left to do. An outdated key was translated from text that has since changed.
  • Copy keys from sources. Don't build them. They look like display_title, steps[123].title and steps[123].blocks[<uuid>].content.markdown.
  • Write only translations: update with latest-version and variants set to [{"id": "<variant id>", "translations": {"fr": {"<key>": "..."}, "de": {...}}}]. Send only the variants and locales you change, and no variant key or content fields. Several locales can go in one call.
  • Merge rules: keys you leave out keep their translation. null for a key clears it; null for a locale clears every key in it.
  • Values: match the source. Keep Markdown and HTML structure, links and {{...}} placeholders. content.survey_list takes an array of option labels in the source order.
  • New content: create doesn't take translations, and only existing steps and blocks can be translated. Create or edit the content first, read it again, then translate it.
  • Errors:
    • A 400 names variants.<i>.translations.<locale>.<key>. The usual causes are a locale that isn't in localization.locales (the user adds languages in project settings), the default locale, or a key that isn't in sources.
    • If localization is only {"enabled": false}, localization is turned off in the project settings: the read has no translations or status, and writes return 400. Tell the user to enable it there; don't retry.
  • Confirm: the update response includes translation_status. Report which locales still have missing or outdated keys.

Block-builder steps

A step with content_v2 was built in the block builder. The dashboard and SDK render that tree and ignore title and content. Unless help shows content_v2 as a writable field, don't edit those steps through the API. Tell the user to edit them in the app.

Confirm the result

Read the item again with include-unpublished-changes: "true", then summarize what changed and link the url.

Veelgestelde vragen

Wat doet de AI-skill Edit Guides Surveys?

Creates, edits, translates, and archives Amplitude Guides and Surveys through `run_amp`, including step content blocks, buttons, survey questions, and translations. Use before changing a guide's or survey's copy, steps, questions, buttons, targeting, settings, or translations.

Waarom Edit Guides Surveys gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Edit Guides Surveys bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Edit Guides Surveys in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/edit-guides-surveys. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Edit Guides Surveys gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Edit Guides Surveys gebruiken?

Zoveel als je wilt. Je kunt Edit Guides Surveys gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Edit Guides Surveys gratis?

Ja. Deze skill is door amplitude op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇