Logotipo de Edit Guides Surveys

Edit Guides Surveys

Organización
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.

Descripción general

Editoramplitude
Repositoriomcp-marketplace
Nombre de la habilidadedit-guides-surveys
Estrellas
47
Forks
12
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por amplitude en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Edit Guides Surveys en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/edit-guides-surveys
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Edit Guides Surveys en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Edit Guides Surveys automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Edit Guides Surveys no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Edit Guides Surveys en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Edit Guides Surveys está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Edit Guides Surveys en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/amplitude/mcp-marketplace/tree/main/plugins/amplitude/skills/edit-guides-surveys. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Edit Guides Surveys?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Edit Guides Surveys?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Edit Guides Surveys con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Edit Guides Surveys?

Sí. amplitude la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇