Command Palette

Search for a command to run...

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

sparkx-edit-ai-group

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

Modify an EXISTING AI managed group (托管组) for Amazon Sponsored ads - change target ACOS/ROAS, budget, turn its AI on/off, personality, adjust SP/SB campaign…

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

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

Edit AI Managed Group

Change the configuration of one or more existing managed groups. Read references/platform-notes.md once first - it covers auth, the response envelope, generic errors, and the crucial fact that MCP bypasses the platform UI's validation, so you must enforce the front-end-only rules yourself.

Route by ad type

Ad type Tool Reference
SD edit_sd_ai_managed_group (takes an ids array - inherently batch, max 20) references/edit-sd.md
SP / SB save_sp_sb_ai_managed_group: aiGroupId > 0 for one group; operation + ids for batch references/edit-sp-sb.md

Outside batch mode, aiGroupId = 0/empty means create (that's sparkx-create-ai-group) and a positive id edits. In SP/SB batch mode, operation selects batch behavior, ids are the targets, and aiGroupId is ignored. Determine ad type from each group's campaignType before choosing a mode.

Editing a running group can be silently skipped

If a group's AI is on (aiStatus=1), the backend may silently drop some of your changes - the call returns success but the setting didn't move. This is the single biggest trap here.

  • Never turn AI off on your own to force an edit through. Turning off AI stops live optimization; that's the user's decision, not yours.
  • If an edit doesn't stick because AI is running, tell the user what didn't apply and let them decide (e.g. pause AI themselves, or accept it).
  • Always verify after (below) - don't trust the success envelope.

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

Everyday words - in English OR Chinese - map to DIFFERENT things in a managed group, and the exact field depends on the ad type (SD vs SP/SB) and the write path (flat/batch vs action-space). So this section lists business meanings only - do NOT hard-code a field name from it. Resolve the meaning first, then determine ad type + tool path, then look up the exact field/param in references/field-reference.md and references/action-space-matrix.md.

If a request could map to more than one meaning, STOP and ask - don't pick one. Guessing wrong changes live spend.

"budget" / "预算" (e.g. "把预算调到 100" / "set the budget to 100") - be precise which one, and whether it's a target value or an increase:

  • 托管组总预算 / group total budget = the sum of the group's enabled campaigns' daily budgets. Editing it proportionally rescales every enabled campaign's daily budget to the new total (totalBudget / totalDailyBudget on read reflect this sum).
  • 单个 campaign 的日预算 / a campaign's daily budget - campaign-level, and cannot be modified through the managed-group tools. It can be changed with the sparkx-edit-ads skill (batch_update_ads, entity=campaign + action=updateBudget); route the user there rather than telling them to use the platform UI. Warn them that editing this group's total budget afterwards rescales every enabled campaign's daily budget proportionally, which would overwrite that change.
  • 按表现调预算 / performance (dynamic) budget (DYNAMIC_BUDGET) - the value is an increase cap on top of the current budget, NOT a target (fixed +$num or +num%; e.g. $100 with 20 -> up to $120). Its scope depends on 预算重新分配: OFF = per enabled campaign; ON = whole group (see references/coupling-rules.md).
  • 预算重新分配 / budget reallocation (BUDGET_REDISTRIBUTE) - a switch that also changes the scope of 按表现调预算 (above).

Target vs increase: "把预算调到 X" is a target value; "按表现最多加 X" is an increase. Never map one onto the other. When the user says "调预算" / "预算预期", confirm which they mean - 托管组总预算 / a campaign's budget (targets) vs 按表现调预算 的增量上限 (an increase) - before writing. The exact write field still depends on ad type

  • path (budgetType/budgetRatio are edit/batch only); look it up in field-reference once the meaning is fixed.

"bid / adjust bid" / "调价 / 出价 / 竞价" - candidate meanings (field differs by ad type/path, look it up after): 按表现调竞价 · 广告位调价 (SP only) · 竞价范围 (min/max) · 分时调价 (on SB this is Rule/RBA-only; MCP can read and explain the retained Rule configuration through get_entity_metadata, but cannot edit it - if that's the intent on an SB group, show the current setup when useful, point the user to the platform for changes, and do not build write params). Also ACOS 优先模式 / strict ACOS / ACOS priority (bidPerformanceStrictAcosStatus) is a sub-switch of 按表现调价 - SP only, with strict preconditions (targetType=2 + bidPerformanceStatus=1 + an AI personality of at least 3 on 按表现调价 - group-level aiPersonality on legacy accounts, bidPerformanceAiPersonality where personality is per action space, see [`references/ai

Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

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

FAQ

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

Modify an EXISTING AI managed group (托管组) for Amazon Sponsored ads - change target ACOS/ROAS, budget, turn its AI on/off, personality, adjust SP/SB campaign membership, and the AI action space (bid / budget / target / structure optimization) - for one group or many at once (bulk). Use when the user wants to modify / adjust / 修改 / 调整 / 批量改 an existing group's settings or automations, or asks how a group should be set up (suggests a matching platform template - optional). SD uses edit_sd_ai_managed_group; SP/SB uses save_sp_sb_ai_managed_group (edit mode). Not for creating a group (use sparkx-create-ai-group) or deleting one (use sparkx-delete-ai-group).

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

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

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

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

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

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