AppGrowing 智能广告素材分析助手,支持策略探索(chat_mode=6)和灵感激发(chat_mode=10)两种模式。触发:关键词 投放分析、分析素材、素材分析、素材解析;命令 /agclaw(自动推断模式)、/ag(策略探索)、/ag-inspire(灵感激发)
文档
aggclaw
试用对接 AppGrowing Global 广告素材数据库,返回创意分析并支持下载原始素材。
它能做什么
aggclaw 直接调用 AppGrowing Global 广告情报 API。在对话中提出问题,助手会返回经过分析的广告素材及 session_id,后续追问可沿用同一会话并保持原语言回复。一次分析完成后,可以把报告中提到的素材或全部素材,下载到以报告标题命名的本地文件夹。内置游戏、非游戏应用与短剧、Inspire 灵感三种模式,也可通过关键词自动识别。
什么时候用它
- 调研某款游戏的近期广告素材趋势
- 对比短剧应用在不同区域的投放方式
- 通过 Inspire 模式发想新的广告创意方向
- 把分析报告里提到的素材下载到本地复盘
技能文档
aggclaw
AppGrowing Global intelligent ad creative analysis assistant; analyzes global ad creatives, includes Inspire mode. Available to AI plus / Pro subscribers.
Prerequisite: API Key
Read from env var YOUCLOUD_API_KEY. Never send requests without a valid key. When missing, prompt:
Please configure your API Key first:
1. Get it from AppGrowing Global → Profile → Enterprise Info
2. Set env var: Linux/macOS `export YOUCLOUD_API_KEY="..."`; Windows `$env:YOUCLOUD_API_KEY="..."`
3. Resend your request
Triggers & Modes
| Trigger | chat_mode |
|---|---|
/aggclaw (auto-detect, see below) | — |
/aggclaw-game | 7 Game |
/aggclaw-app, /aggclaw-shortdrama | 8 Non-game |
/agg_inspire | 9 Inspire |
| Keywords (analyze creatives, creative analysis etc.) | Auto-detect |
/aggclaw auto-detect: discussion-style question (advice/strategy/ideas/comparison/"how to", not asking for specific creative data) → 9; game content (game titles, RPG/SLG/MMO) → 7; other → 8.
Language Detection
Detect the user's input language and reply in that language throughout (framing text, errors, summaries included); keep input in the user's original wording — do not translate. Preference persists for the whole session.
| Input contains | language_code |
|---|---|
| Chinese characters | zh |
| Hiragana / Katakana | ja |
| Other | en |
| Undetermined | omit |
language_code may only be zh/ja/en; omit for any other language.
Execution Flow
- Check API Key (above)
- Detect language + determine chat_mode (above)
- Call the API directly — do not ask the user for product positioning, target market, or other supplementary info; let the API search on its own:
- New analysis → send
input+chat_mode+language_code, nosession_id - Follow-up → reuse
session_id, omitchat_mode/language_code(preserve the session's mode & language) - Output
output; translate if its language differs from the user's; savesession_idfor follow-ups
- New analysis → send
⚠️ Mandatory timeout rule: set timeout to 600s (responses often take 60s+). Never interrupt before timeout. Never send "still processing" / "will let you know" messages. Wait for the complete result, then reply in one shot; only "result returned" or "timeout/error" situations may send a message.
Analysis Endpoint
- URL:
https://ai-chat-global.youcloud.com/aichat/claw - Method: POST JSON
- Headers:
Authorization: Bearer {KEY},Content-Type: application/json - Params:
input(required),session_id(follow-ups),chat_mode(7/8/9, new sessions only),language_code(zh/ja/en, new sessions only) - Timeout: ≥600s
Materials Download
After an analysis completes (session_id available), the user may ask to download that conversation's creatives.
Intent routing:
- "Download materials" without a scope → do not start downloading; ask the user to choose a scope first. Prefer the host's ask/question tool to pop an interactive card; if the host lacks one (e.g., IM clients), fall back to a plain text message listing the options. All display text must be in the detected language:
- Title: information retrieved from the last conversation — which would you like to download?
- Option 1: creatives mentioned in the analysis result → download
is_mentioned=true - Option 2: all creatives → download the entire list (no filtering)
- "Download mentioned creatives" or close semantics → download
is_mentioned=true
Materials endpoint:
- URL:
https://ai-chat-global.youcloud.com/aichat/sessions/{session_id}/materials - Method: GET; Header
Authorization: Bearer {KEY}; Timeout ≥120s - Encode
=insession_idas%3D(keep~). Example:99QLLyMfj8uUrvalSiHr~g%3D%3D - Response: JSON array
[{id, detail_url, download_url, is_mentioned}]; always returns the full list — filter byis_mentionedclient-side
Download rules:
- On HTTP 403 (link expired) → silently re-fetch materials and retry the failed item, no message to the user
- Concurrency ≤ 3; queue when exceeded
- No messages during download; on completion send one message in the detected language: local path + download count (success x, failure y; append failed ids if y>0)
- Save to a new folder named after the first
##heading of the analysis report (strip##, replace illegal chars/ \ : * ? " < > |with_); filename{id}.{ext}(ext from download_url, else response Content-Type)
Auth (two models — do not mix)
| URL | Auth |
|---|---|
/aichat/claw, /sessions/{id}/materials | Authorization: Bearer {KEY} header |
download_url (CDN direct link) | No header — relies on the auth_key embedded in the URL |
PowerShell Template
# Analysis
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$body = @{input="Your analysis request"; chat_mode=8; language_code="en"} | ConvertTo-Json -Compress
Invoke-RestMethod -Uri "https://ai-chat-global.youcloud.com/aichat/claw" -Method Post -ContentType "application/json; charset=utf-8" -Headers @{Authorization="Bearer $env:YOUCLOUD_API_KEY"} -Body $body -TimeoutSec 600 | Select-Object -ExpandProperty output
# Materials list + download (no auth header on download_url)
$enc = [uri]::EscapeDataString($sessionId)
$resp = Invoke-RestMethod -Uri "https://ai-chat-global.youcloud.com/aichat/sessions/$enc/materials" -Headers @{Authorization="Bearer $env:YOUCLOUD_API_KEY"} -TimeoutSec 120
foreach ($m in $resp) { Invoke-WebRequest -Uri $m.download_url -OutFile "$folder\$($m.id).mp4" -TimeoutSec 180 }
Error Handling
- 400/401 auth failed:
API Key authentication failed. Check if your key is active or expired. Get it from AppGrowing Global Profile → Enterprise Info, or contact support. - Other:
Request returned an error (code={code}). Check your API Key permissions, account quota, or contact support.
Examples
For full input/output examples, see references/example.md
常见问题
- 需要配置哪个 API Key?
- 需在环境中设置 YOUCLOUD_API_KEY,可在 AppGrowing Global → Profile → Enterprise Info 获取;没有有效密钥时不会发出请求。
- 支持哪些语言?
- 助手按输入语言以 zh、ja 或 en 回复,其他语言会回退或省略参数,语言选择在整个会话内保持一致。
- 一次分析要等多久?
- HTTP 超时建议设为 600 秒以上。实际响应经常超过 60 秒,期间不要打断,等拿到完整结果后一次性回复。
相关技能
有米云创意管家 AI 策略分析:AI 驱动创意策略迭代,为你全方位分析第三方广告素材和自有待投放的广告素材,生成广告投放策略报告或持续碰撞,灵感激发。 当用户需要广告投放策略分析、创意灵感激发、素材策略分析,或提到"创意管家"、 "策略探索"、"灵感激发"、或使用 `/cmclaw` 时触发。
Create, edit, and ship ad creative via the AdMakeAI API — ad images, edits, batch ad sets, ad copy, UGC video, Meta uploads/analytics. Use it when a request is about making, publishing, or reporting ads. Default to read and list calls; confirm every write or credit-spending action with the user. Trigger words: create, generate, make, design, produce, brainstorm, batch, vary, mock up, upload, publish, push, ship, draft, list, browse, find, get, fetch, look up, audit, or recap ads, ad creatives, product photos, lifestyle shots, UGC, ad copy, hooks, headlines, ad sets, campaigns, competitor ads, competitor research, Meta ads, Facebook ads, or ad analytics. Also use when the user mentions AdMakeAI, admakeai, ad images, ad generator, ad image API, or wants to know their AdMakeAI credit balance.
Detect ad copy fatigue and auto-suggest micro-pivot refreshes by analyzing CTR/CPC degradation across Facebook, Google, and LinkedIn campaigns. Use when the user needs performance recovery, creative rotation strategies, or real-time ad health monitoring.
从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。
有米云智能营销分析助手,深度拆解广告创意,挖掘品牌投放策略,支持创意策略讨论、营销策略探讨。触发:关键词 分析品牌, 品牌分析, 策略探索, 投放策略, 创意质询, 压力测试, 创意激发, 创意打磨;命令 /youclaw、/youmiyun、/creative-chat、/grill-chat、/grill-youclaw、/grill