What is the Edit Guides Surveys skill?
Edit Guides Surveys is a writing skill by amplitude for Claude Code, Cursor, Codex and other AI coding agents. 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.
All guide and survey reads and writes go through runamp, which calls the Amplitude Developer API with the user's MCP credentials. Call them guides and surveys, not "nudges".
When to use it
Use before changing a guide's or survey's copy, steps, questions, buttons, targeting, settings, or translations.
What the SKILL.md covers
- Before you write
- Writes
- Step content
- Translations
- Block-builder steps
- Confirm the result
- Author
- amplitude
- Pack
- amplitude/mcp-marketplace (30 skills)
- Category
- Writing, #592 of 697
- Alyn Score
- 55 / 99
- Files
- 1
- License
- MIT
- Last updated
- 5 days ago
- Works with
- Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot
Edit Guides Surveys compared to similar skills
| Skill | Alyn Score | GitHub stars | Updated |
|---|---|---|---|
| Edit Guides Surveys · amplitude | 55 | 48 | 5 days ago |
| Content Research Writer · anbeime | 61 | 9.9k | 31 h ago |
| Content Strategist · alirezarezvani | 63 | 30k | 3 days ago |
| Huashu Article Edit · alchaincyf | 52 | 2.3k | 3 days ago |
Install Edit Guides Surveys
Pick your agent. Every command is ready to paste.
npx alyn-cli add edit-guides-surveysDetects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.
npx skills add amplitude/mcp-marketplace --skill edit-guides-surveysOr use the open skills CLI directly.
01
Install it
Run the command above, or upload the folder in Claude.
02
Ask naturally
Describe the task. Your agent loads edit-guides-surveys when the request matches its description.
03
Name it if needed
If it does not trigger, say “use the edit-guides-surveys skill”. In Codex, type $edit-guides-surveys.
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_contextwhen 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"]withproject. Filter withplatform,created_by,created_afterorcreated_before, and page withlimitandcursor. - Read the draft:
["guides", "get"]withproject,guideandinclude-unpublished-changes: "true", or["surveys", "get"]withsurvey. 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
urlfrom the response. - Update:
["guides", "update"]or["surveys", "update"].latest-versionis required: passlatest_versionfrom 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
variantsback with every variant and stepidkept. An item without anidis created as new. - Create:
["guides", "create"]or["surveys", "create"]withprojectandtitle, plus optionalplatformandvariants. 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.
- Run it with
- 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}, withmetakeys in camelCase. - Edit in place: change the block you need and send the whole
contentarray back. - Keep each block's
uuid. Survey responses are keyed by it. Give a new block a new v4 UUID.
type |
meta |
|---|---|
markdown |
value (Markdown; inline HTML is sanitized), optional alignment |
button |
label, buttonType (primary, secondary, snooze), action |
image |
src, filename, size, optional altText |
video |
type: "url", src |
survey_text, survey_text_short |
prompt is the input's placeholder, not the question. Put the question in a markdown block or the step title. |
survey_list |
options, listType (single, multiple), displayType (list, dropdown, grid) |
survey_rating |
type (stars, numbers, emojis, nps), options, lowerLabel, upperLabel; emojis when the type is emojis |
survey_hidden |
label, 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,dismisslinkwithvalue(the URL) andoperation(selforblank)go_to_stepwithvalue(the step id)snoozeno_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:
getwithinclude-unpublished-changes: "true"andinclude-translations: "true". The response adds:localization: the project'sdefault_localeand thelocalesyou 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>.missingand.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 likedisplay_title,steps[123].titleandsteps[123].blocks[<uuid>].content.markdown. - Write only translations:
updatewithlatest-versionandvariantsset to[{"id": "<variant id>", "translations": {"fr": {"<key>": "..."}, "de": {...}}}]. Send only the variants and locales you change, and novariantkey or content fields. Several locales can go in one call. - Merge rules: keys you leave out keep their translation.
nullfor a key clears it;nullfor a locale clears every key in it. - Values: match the source. Keep Markdown and HTML structure, links and
{{...}}placeholders.content.survey_listtakes an array of option labels in the source order. - New content:
createdoesn'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 inlocalization.locales(the user adds languages in project settings), the default locale, or a key that isn't insources. - If
localizationis 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.
- A 400 names
- Confirm: the update response includes
translation_status. Report which locales still havemissingoroutdatedkeys.
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.
Tips for Edit Guides Surveys
- • Start a fresh session after installing so your agent picks up the new skill.
- • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
- • If two skills overlap, mention the one you want by name.
Questions about Edit Guides Surveys
What does the Edit Guides Surveys skill do?
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.
How do I install Edit Guides Surveys?
Run "npx alyn-cli add edit-guides-surveys" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.
Does Edit Guides Surveys work in Cursor and Codex?
Yes. Edit Guides Surveys uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.
When should I use the Edit Guides Surveys skill?
Use before changing a guide's or survey's copy, steps, questions, buttons, targeting, settings, or translations.
What is inside the Edit Guides Surveys skill?
The SKILL.md covers Before you write, Writes, Step content, Translations, Block-builder steps, Confirm the result.
What is a good alternative to Edit Guides Surveys?
Content Research Writer by anbeime is the highest-ranked similar skill from another creator, with an Alyn Score of 61 compared to 55 for Edit Guides Surveys.
Is Edit Guides Surveys free?
Edit Guides Surveys is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.
Who made Edit Guides Surveys?
Edit Guides Surveys is published by amplitude in the amplitude/mcp-marketplace repository, together with 29 other skills.

