Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sparkx-create-ai-group

БесплатноБез исполняемых скриптовНе проверен

Create a NEW AI managed group (托管组) for Amazon Sponsored ads and place campaigns under it when required. Routes by ad type - SD via create_sd_ai_managed_group…

infometaот infometa★ 475 звёзд на GitHub

Об этом скилле

Create AI Managed Group

Create a new AI managed group. SD creation requires campaigns; SP/SB creation may create an empty group or include campaigns. This is a write, non-idempotent operation: calling it twice creates two groups. Read references/platform-notes.md once before your first write - it covers auth, the shared response envelope, the 30s-timeout rule, and how errors come back (data.error + an optional recoveryHint that isn't always populated, so some stay generic).

The one thing that decides everything: ad type

Creation logic differs by ad type, and they use different tools. Your first job is always to determine the campaign type, then route:

Ad type Tool Read before building the call
SD (Sponsored Display) create_sd_ai_managed_group references/create-sd.md
SP / SB (Sponsored Products / Brands) save_sp_sb_ai_managed_group (leave aiGroupId empty -> create mode) references/create-sp-sb.md

How to determine the ad type, in order of preference:

  1. The user says it ("SP 托管组", "for my Sponsored Display campaigns").
  2. Infer it from the campaigns to be added - look them up and read campaignType.
  3. If still unknown, ask the user - don't guess. A group is created for one ad type; picking the wrong tool creates the wrong kind of group.

SP and SB both go through save_sp_sb_ai_managed_group, but a few capabilities are SP-only (see create-sp-sb.md). SB is not SP - don't copy SP-only fields into an SB group.

Reads use the full signature. Every get_entity_metadata call requires profileIds, entity, and userContext - get_entity_metadata(profileIds=[<id>], entity='campaign', userContext='<why>'). The shorthand get_entity_metadata(entity='campaign') fails; always pass all three.

Disambiguate before writing (when in doubt, ASK - don't guess)

Everyday words - in English OR Chinese - map to different fields. Before setting a value, be sure which field the user means; if it could be more than one, list the options and ask - don't guess.

This section lists business meanings only - the exact field depends on ad type, so confirm the meaning first, then use the ad-type reference to pick the field.

  • "budget" / "预算" - decide the sense AND whether it's a target value or an increase:
    • 托管组总预算 / group total budget (= sum of the group's enabled campaigns' daily budgets) and a single campaign's daily budget are target values. Note: a single campaign's daily budget cannot be set through the managed-group tools (it's campaign-level - use the platform).
    • 按表现调预算 / performance (dynamic) budget is an increase cap on top of the current budget, NOT a target (fixed +$num or +num%); its scope depends on 预算 重新分配 (OFF = per enabled campaign; ON = whole group). See references/coupling-rules.md.
    • 预算重新分配 / budget reallocation - a switch that also changes the scope of 按表现调预算. Which field, at create time:
    • SD uses budget + budgetChange (a boolean toggle) - there is no budgetType at create (budgetType/budgetRatio are edit/batch only).
    • SP/SB create has no group-budget input at all - only budget-related action-space switches. If the user wants an SP/SB group's spend budget set at creation, tell them that's not a create-time field here. Never map "set budget to X" (a target) onto the dynamic-budget increase value; if the meaning isn't clear, ask. When enabling 按表现调预算 on an SP/SB create, set 预算 重新分配 explicitly - its scope (per-campaign vs whole-group) depends on it; don't rely on an unknown default. To preview a cap, base it on the enabled campaigns among those you're adding (use each one's dailyBudget). SD creation does not support 按表现调预算.
  • "target / goal" / "目标": 推广目标 targetType (1 growth / 2 stability / 3 volume / 4 legacy) vs 目标 ACOS (acos). Create has no roas field - if the user says "目标 ROAS", do NOT build roas; tell them create can't set a target ROAS directly, and ask whether they want to set the promotion target or convert it to a target ACOS. Also: "ACOS 优先模式 / ACOS priority" is the strict-ACOS switch (see the ACOS-priority item below), not setting a target ACOS value - don't confuse them.
  • AI on/off at creation: AI starts on unless the user asks otherwise (staged flows excepted) - see "AI on vs off at creation" below and the preview step.
  • "ACOS 优先模式 / strict ACOS / ACOS priority" (bidPerformanceStrictAcosStatus) - a sub-switch of 按表现调价, SP only, and only triggers with targetType=2 + bidPerformanceStatus=1 + an AI personality of at least 3 on 按表现调价 - which field that is depends on the account: group-level aiPersonality on legacy accounts, bidPerformanceAiPersonality where
Полный SKILL.md на GitHub

Установить sparkx-create-ai-group в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/action-space-matrix.mdreferences/ai-personality.mdreferences/budget-limits.mdreferences/coupling-rules.mdreferences/create-sd.mdreferences/create-sp-sb.mdreferences/enum-i18n.mdreferences/field-reference.mdreferences/platform-notes.mdreferences/template-guide.md

FAQ

Что делает скилл sparkx-create-ai-group?

Create a NEW AI managed group (托管组) for Amazon Sponsored ads and place campaigns under it when required. Routes by ad type - SD via create_sd_ai_managed_group (campaigns required); SP/SB via save_sp_sb_ai_managed_group (create mode). Use when the user wants to create / set up / 新建 / 建一个 a managed group, or put campaigns under AI management for the first time, even without the exact words "managed group". When the user isn't sure how to set the group up, recommends a matching platform template (推荐托管组模板) - optional, never forced. This creates the group itself - it is NOT for enabling or editing an existing group (use sparkx-edit-ai-group) or deleting one (use sparkx-delete-ai-group).

Как установить скилл sparkx-create-ai-group?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sparkx-create-ai-group запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sparkx-create-ai-group с