copy-tracking-plan-to-projects
БесплатноБез исполняемых скриптовНе проверенCopies selected tracking-plan events, or every event in the plan, from one Amplitude project's main or branch, or from a tracking-plan CSV file, to other…
от amplitude★ 50 звёзд на GitHubОб этом скилле
Copy tracking plan to projects
This skill covers only taxonomy data from tracking-plan CSV (events, event properties, and referenced property-group rows present in that CSV). It does not cover instrumentation, data sources, destination setup, governance rollout, or branch reviews and approvals. It merges an import branch only when the user explicitly asks in step 8.
Required inputs
- A source, one of:
- a source project (id or name) and optional source branch name, or
- CSV mode: a tracking-plan CSV file in the format Amplitude exports, as a file path or pasted text.
- One or more target projects (ids or names).
- For a source project: event names to sync, or all events (the whole events tracking plan of the source main or branch). If the user names a source branch but no events, step 2 derives them from that branch. CSV mode copies every event in the file.
- Optional branch-name prefix for target imports.
Important run_amp constraints:
- Inline CSV cap is 256 KiB (262,144 characters) for import and export output.
dry-runis not supported for tracking-plan export/import in run_amp.- Import must create a new branch; never use
mainormaster. - Never set or change the CSV
Actioncolumn; a value there can make import delete objects. Exports leave it empty except forIGNOREon events and properties that are unexpected (seen but not planned), deleted or blocked on the source; step 3 drops those rows. - For an event the target already has, import makes its sources, tags and
property-group links match the CSV: ones the target has but the CSV lacks
are removed. Sources are matched by name; a source name the target does
not have is skipped, so if none of an event's CSV sources exist on the
target, it ends up with no sources. Properties the target's event has but
the CSV lacks are not unlinked. A blank cell does not clear a value the
target has (seen for
Object Description).
Workflow
Pre-flight
- Use one Amplitude MCP server (one region and environment) for every call
in this run. If several are connected (for example US and EU), use the
one whose
get_amplitude_contextlists every project the user named; ask only if more than one does, or none does. - Call
run_ampwithcommand: ["help", "tracking-plan", "export"]andcommand: ["help", "tracking-plan", "import"]. - If either command is unavailable (
availableThroughRunAmp: false) or the help call fails, stop and tell the user run_amp tracking-plan CSV is not enabled in the current MCP environment. - Help does not show whether this MCP connection can write: import needs
the write scope listed in its
requiredScopes, and a read-only connection only fails at the first import. Step 4 says so. - If a read fails with a transient error (a timeout or connection reset), retry it once. Never retry an import.
- Use one Amplitude MCP server (one region and environment) for every call
in this run. If several are connected (for example US and EU), use the
one whose
Resolve and validate inputs
- Call
get_amplitude_contextwith noprojectId. Use itsprojectslist for every check below, and keepuser.orgRolefor step 4 (4or5means org admin). - Resolve every project given by name to an id by exact
appNamematch. If there is no exact match, or several projects match exactly, list the candidates with ids and ask which one is meant. If one project matches exactly but others have near-identical names (for example a[TEMP]copy or a(Dev)variant), use the exact match and list the look-alikes with ids in the step 4 preview so the user can correct it at the gate. Do not list a project the user named as the source or a target as a look-alike. - The source and every target must be in
projects; stop and name any that is not (no access, or a different org). The source must not also be a target, and target ids must be unique. - CSV mode has no source project or source branch: skip the source
checks and the event-list bullets below, and use the file name without
its extension (or
csvfor pasted text), slugified like a project name, as<source-project>in the branch name. If the user names events, say CSV mode copies the whole file and ask them to trim the file or confirm. - If no events were given but a source branch was, call
get_amp_taxonomywithaction: "branch_changes"on the source branch, list the events it adds or updates, and ask the user to confirm the event list. - All-events mode applies only when the user asks for the whole tracking plan or all events (for example "copy the tracking plan from A to B"). If they gave neither events nor a source branch and did not say all, ask whether they mean all events or specific ones; never assume all. In all-events mode the event list comes from the step 3 export.
- Otherwise, ensure every event name is non-empty. If source branch is
empty, export from main by omitting
branch-name
- Call
Установить copy-tracking-plan-to-projects в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл copy-tracking-plan-to-projects?
Copies selected tracking-plan events, or every event in the plan, from one Amplitude project's main or branch, or from a tracking-plan CSV file, to other projects through run_amp tracking-plan CSV export/import, reviews each import branch, then merges, deletes, or leaves it as the user chooses. Use when asked to copy a tracking plan, tracking-plan changes or events to other projects, to apply a tracking-plan CSV to several projects, or to keep the same tracking-plan edits in sync across projects.
Как установить скилл copy-tracking-plan-to-projects?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл copy-tracking-plan-to-projects запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic