skills/audience-mining-external/SKILL.md
For TikTok Shop advertisers, identify high-potential remarketing audiences from real reach, audience insight, and existing DMP audience metadata.
npx skillsauth add chatandbuild/chatchat-skills audience-mining-externalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
[DEMO MODE] 标识。(mock) 后缀。当触发以下任一错误场景时,你必须严格按对应模板输出对客话术,不得自行发挥、不得暴露内部字段名、MCP 接口名或内部链路: | 错误场景 | 触发条件 | 强制输出话术 | |----------|----------|--------------| | ERR_DATA_UNAVAILABLE | 关键字段返回 null 或接口返回空值 | "暂时无法获取您账户的完整数据,请稍后重试或联系支持团队。" | | ERR_DIMENSION_UNRECOGNIZED | 行业 / 投放类型 / 维度不在支持范围内 | "您描述的场景暂不在当前诊断覆盖范围内,建议 [兜底引导话术]。" | | ERR_MCP_TIMEOUT | MCP 接口超时或鉴权失败 | "数据加载超时,请稍后重试。" | | ERR_ROUTING_FAILED | 跨 Skill 路由目标不可用 | "当前无法跳转至相关工具,请手动前往 [目标 Skill 名称] 或联系支持团队。" |
若当前场景不在上表中,且数据缺失或场景不支持,默认回执:"当前条件下无法完成诊断,请补充 [缺失信息] 后重试。"
严禁在任何 Error 回执中输出诊断推断、预测数值或优化建议
系统提示(System Prompt)开头必须包含 1P Skill Guardrail Block(见 R10–R21),此处省略,在实际部署时由打包脚本注入。
This Skill helps TikTok Shop advertisers identify high-potential remarketing audiences from reached traffic, audience insight, and existing DMP audience metadata. It uses only the current MAPI Wiki whitelist, segments the opportunity into S/A/B tiers, and can prepare a reusable DMP audience pack after confirmation.
Use this Skill when all of the following are true:
The Skill must ground all conclusions in real fields fetched from the current TikTok MAPI / MCP flat environment:
advertiser_info_get ✅audience_insight_info_get ✅audience_insight_overlap_get ✅dmp_custom_audience_get ✅dmp_custom_audience_list_get ✅dmp_custom_audience_rule_create ✅ad_audience_size_estimate ✅gmv_max_campaign_get ✅Because /gmv_max/exclusive_authorization/get/ is still unavailable / unconfirmed in this environment, the Skill must not claim direct Shop-binding status. Instead:
shop_context_verified may be inferred only from grounded evidence already present in the request flow, such as Shop / live-shopping tags returned by advertiser_info_get, audience-insight or DMP reads that happen under a Shop workflow, or an explicit Shop-scenario flag supplied by the host application.gmv_max_campaign_get is available, so GMV Max history may be used as a grounded signal.
dmp_ready = true and reachable_pool_size passes the minimum threshold:
reachable_pool_size >= 5000reachable_pool_size >= 3000 when gmv_max_campaign_get confirms valid GMV Max historyshop_context_verified as true only when at least one grounded Shop-context signal is present from advertiser metadata, host routing context, or successful Shop-workflow audience data reads.shop_context_verified is false but the audience data is otherwise valid, the Skill may still produce a diagnostic recommendation with [Low Confidence], but it must not auto-create or auto-update an audience pack.propensity_score is computed only from whitelisted signals:
reachable_pool_size)gmv_max_campaign_get confirms GMV Max history[Low Confidence] even when the score would otherwise qualify for S or A tier.shop_context_verified = true, choose the write path by audience goal only after explicit user confirmation:
dmp_custom_audience_rule_create.dmp_custom_audience_lookalike_create.dmp_custom_audience_rule_create, the request body must follow the API schema instead of passing raw audience_ids:
advertiser_id, custom_audience_name, audience_type, rule_spec;audience_sub_type, is_auto_refresh, retention_in_days, and identity fields required by certain engagement audience types;rule_spec must contain inclusion_rule_set (required) and may contain exclusion_rule_set (optional);{ operator: "OR", rules: [...] };retention_days, optional event_source_ids, and optional filter_set; filter_set itself uses { operator: "OR", filters: [...] }.dmp_custom_audience_rule_create is not the interface for directly seeding from existing audience_ids. Do not pass an existing DMP audience list into this API as a shortcut for Lookalike creation.audience_type, source/event scope, inclusion logic, exclusion logic, retention / refresh settings if used;dmp_custom_audience_rule_create when the operator has confirmed a valid audience_type plus rule_spec.dmp_custom_audience_lookalike_create with a confirmed lookalike_spec.source_audience_id when grounded size and quality signals are sufficient.dmp_custom_audience_lookalike_create, the body should be built around advertiser_id, custom_audience_name, and lookalike_spec; the seed audience is passed via lookalike_spec.source_audience_id rather than audience_ids. lookalike_spec can further include audience_size, include_source, location_ids, mobile_os, and placements as needed.shop_context_verified = false, output diagnostic recommendations only. Do not execute any write action and do not call dmp_custom_audience_rule_create or dmp_custom_audience_lookalike_create, even if score signals otherwise look like S or A.[Low Confidence] and do not fabricate metrics.Always answer in this structure:
Usage examples are provided in EXAMPLE.md.
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
development
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.
development
Use this skill when turning messy workout information into clear logs, comparing user-provided sessions, surfacing trends or likely PRs, and suggesting realistic next-session steps.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.