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★ 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:
- The user says it ("SP 托管组", "for my Sponsored Display campaigns").
- Infer it from the campaigns to be added - look them up and read
campaignType. - 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 (seecreate-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_metadatacall requiresprofileIds,entity, anduserContext-get_entity_metadata(profileIds=[<id>], entity='campaign', userContext='<why>'). The shorthandget_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
+$numor+num%); its scope depends on 预算 重新分配 (OFF = per enabled campaign; ON = whole group). Seereferences/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 nobudgetTypeat create (budgetType/budgetRatioare 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 noroasfield - if the user says "目标 ROAS", do NOT buildroas; 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 withtargetType=2+bidPerformanceStatus=1+ an AI personality of at least3on 按表现调价 - which field that is depends on the account: group-levelaiPersonalityon legacy accounts,bidPerformanceAiPersonalitywhere
Установить sparkx-create-ai-group в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic