Install
openclaw skills install @youcloud/aggclawAppGrowing Global intelligent ad creative analysis assistant. Finds the most relevant global ad creatives based on your instruction and delivers automated analysis. Includes Inspire ideation mode. Triggers: keywords analyze creatives, creative analysis, global campaigns, explore creatives, find creatives; commands /aggclaw, /agg_inspire
openclaw skills install @youcloud/aggclawAppGrowing Global intelligent ad creative analysis assistant; analyzes global ad creatives, includes Inspire mode. Available to AI plus / Pro subscribers.
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
| 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.
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.
input + chat_mode + language_code, no session_idsession_id, omit chat_mode/language_code (preserve the session's mode & language)output; translate if its language differs from the user's; save session_id for follow-ups⚠️ 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.
https://ai-chat-global.youcloud.com/aichat/clawAuthorization: Bearer {KEY}, Content-Type: application/jsoninput (required), session_id (follow-ups), chat_mode (7/8/9, new sessions only), language_code (zh/ja/en, new sessions only)After an analysis completes (session_id available), the user may ask to download that conversation's creatives.
Intent routing:
is_mentioned=trueis_mentioned=trueMaterials endpoint:
https://ai-chat-global.youcloud.com/aichat/sessions/{session_id}/materialsAuthorization: Bearer {KEY}; Timeout ≥120s= in session_id as %3D (keep ~). Example: 99QLLyMfj8uUrvalSiHr~g%3D%3D[{id, detail_url, download_url, is_mentioned}]; always returns the full list — filter by is_mentioned client-sideDownload rules:
## heading of the analysis report (strip ## , replace illegal chars / \ : * ? " < > | with _); filename {id}.{ext} (ext from download_url, else response Content-Type)| 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 |
# 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 }
API Key authentication failed. Check if your key is active or expired. Get it from AppGrowing Global Profile → Enterprise Info, or contact support.Request returned an error (code={code}). Check your API Key permissions, account quota, or contact support.For full input/output examples, see references/example.md