Communitygithub.com

mardab96/tiktok-ads-claude-skills

找出在 TikTok 上花費超過 CPA 門檻但無轉換的成熟廣告活動、廣告組與廣告,排除仍在轉換歸因延遲期內的資料,使用 `wasted_spend.py` 輔助工具。當使用者輸入「TikTok 浪費的開銷在哪」、「哪些廣告組燒預算卻無轉換」、「擴量前可以刪減什麼」、「零轉換廣告」或「客戶會議前清理此帳戶」時使用。

tiktok-ads-claude-skills 是什麼?

這是一個專為 TikTok 廣告買方設計的 AI 技能,用於識別並量化浪費的廣告支出,重點在於避免誤判仍在轉換歸因延遲期內的資料。它透過 `wasted_spend.py` 腳本分析 CSV 導出資料,根據指定的目標 CPA 和轉換延遲天數,找出支出超過 1.5 倍目標 CPA 且無任何轉換的廣告活動、廣告組或廣告行,並將這些標記為「審查候選」。 技能支援所有主流 AI 代理平台(如 Claude Code、Cursor 等),並提供結構化的輸出,包括浪費審查分類帳、可刪減情境(注意:強調為可刪減情境而非「節省」)、以及後續檢查計畫。關鍵在於,它不會將仍在轉換延遲期內的資料標記為浪費,並且在給出最終判定前,要求檢查事件診斷、學習狀態、測試目的等因素。 此技能特別適合用於:客戶要求 CPA 檢討、預算調整前的清理、或準備客戶會議報表等情境。它明確區分「確定浪費」、「待監控」、「需更多資料」等不同判定,並提供清晰的下一步行動建議,以確保決策基於數據且可逆轉。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mardab96/tiktok-ads-claude-skills/tree/HEAD/wasted-spend-finder-tiktok-ads

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

浪費支出搜尋器

何時使用此技能

當買家需要一份可辯護的浪費支出清單,且這些支出項目應包含近期資料(但排除在最終判定外),並且每個候選項目都與一項可逆轉的操作相關聯。輸出結果是一份審查清單與一份估計的可刪減情境,絕非「節省」金額。

常見請求:

  • 「找出此 TikTok 帳戶中的浪費支出。」
  • 「哪些廣告組花了我們 CPA 的兩倍,卻沒有任何成果?」
  • 「提高預算前,我們該刪減什麼?」
  • 「客戶說 CPA 太高了。漏洞在哪裡?」
  • 「用七天延遲執行浪費檢查。」

請勿將此技能用於以下工作:

  • 搜尋詞層級清理:請使用 search-ads-keyword-review-tiktok-ads。
  • 版位比較:請使用 placement-review-tiktok-ads。
  • CPA 突然飆升需找出原因:請使用 cpa-spike-diagnosis-tiktok-ads。
  • 零轉換可能是追蹤故障:請先使用 pixel-events-api-check-tiktok-ads。
  • 為廣告素材輪替排序:請使用 creative-fatigue-detector-tiktok-ads。

必要輸入

使用貼上的導出資料。Claude 的 TikTok for Business MCP 連接器為選用。

必要

  • 導出檔案必須包含以下精確欄位供腳本使用:date、level、name、spend、conversions。日期格式為 ISO YYYY-MM-DD。多餘的欄位會被忽略。
  • 主要事件的目標 CPA,使用帳戶貨幣。
  • 轉換延遲天數,由買方提供或根據帳戶歷史記錄。此為必要參數,無預設值。
  • 主要事件名稱與歸因設定。
  • Events Manager 診斷資料,以及任何屬於刻意測試的廣告組備註。

選用

  • 每行的 campaign、ad group、objective、impressions、clicks 作為背景資訊。
  • 每個廣告組的學習狀態(螢幕截圖)。
  • 相同日期的獨立訂單或潛在客戶報表。
  • 利潤率或潛在客戶價值,當目標 CPA 是推導而非直接給定時使用。

導出路徑:報表 或所需層級的廣告活動表格,並包含支出與報表轉換欄位,日期範圍在檔案名稱中。請參閱 ../tiktok-ads-shared/references/getting-your-data.md。

分析前準備

  1. 每次執行僅選擇一個層級(廣告活動、廣告組、廣告或版位)。子行會彙總到其父層級,因此混合層級會導致重複計算。
  2. 決定如何組織行。每行獨立判斷,因此在成熟時間視窗內,每個實體一行即可;每日行則需要在單日內跨過門檻。每個彙總行應以其視窗的最後一天作為日期。
  3. 保留一段近期行的區塊(每日或彙總),並以導出檔案的真實最後日期為準。新近度是以檔案中最新的日期計算,輔助工具無法得知「今天」。
  4. 檢查導出資料如何將轉換歸因到日期(點擊日期或曝光日期 vs 轉換日期),如您的 Ads Manager 中標示的。若不確定,則延遲處理設為 needs_data。
  5. 對帳:每個層級的 spend 總和應與相同日期的 Ads Manager 總額相符。腳本無法解析的儲存格視為 0。
  6. 排除非轉換目標(例如觸及或影片觀看)的 CPA 門檻。

分析工作流程

  1. 確認主要事件、目標 CPA、延遲、層級與時間視窗。若缺少目標 CPA 或延遲,則設為 needs_data 且不執行。
  2. 清理 CSV:移除 $ 以外的貨幣符號,將空白的 conversions 填上實際值或刪除該行,並確保名稱中無定位字元。
  3. 從技能資料夾執行輔助工具: python3 ../tiktok-ads-shared/scripts/wasted_spend.py waste.csv --target-cpa 40 --conversion-lag-days 7
  4. 讀取 Tab 分隔的輸出(請參閱決策規則),並將 excluded_recent 行歸類為 needs_data。
  5. 對於每個 review_candidate,在做出判決前檢查診斷、測試目的、學習狀態 (T05) 和 Smart+ 分配。
  6. 手動審查有轉換的行。輔助工具不會標記有轉換的行,因此表現弱但有轉換的行需要根據目標 CPA 進行人工比對。
  7. 將候選項按可逆轉操作分組,從干擾最小的開始:收緊排除條件或否定關鍵字、更換廣告素材、削減預算,只有在信心度高且廣告組已脫離學習階段時才暫停。
  8. 按層級和信心等級計算可刪減情境。請勿跨層級或等級加總。
  9. 撰寫核准佇列,包含負責人與延遲期後的重新檢查日期。

決策規則

腳本契約:參數為 CSV 路徑、--target-cpa(數字)和 --conversion-lag-days(整數),皆為必要。截止日期為檔案中最新的日期減去延遲天數。日期在截止日期之後的行為 excluded_recent;日期正好在截止日期上的行則會被判定。被判定且支出等於或超過目標 CPA 1.5 倍且無轉換的行為 review_candidate (T03)。其他所有被判定行皆為 not_flagged。輸出欄位:level、name、spend、conversions、cpa(轉換為零時顯示 n/a,否則顯示未進位數字)、classification、estimated_reducible_spend(候選項等於其支出,否則為 0.00)。錯誤訊息輸出至 stderr 並以 exit 2 終止:缺少欄位、非 ISO 日期、檔案無法讀取。

腳本標籤或條件額外檢查判決下一步
review_candidate,診斷無異常,無記錄為測試,廣告組已脫離學習無異常likely 浪費approval_needed:削減或排除,僅在高度信心下暫停
review_candidate 但事件診斷顯示下降 (T10)追蹤可疑holdpixel-events-api-check-tiktok-ads
review_candidate 仍在學習中 (T05)對學習敏感monitor在約 25 個結果或進入後 7 天重新執行
review_candidate 屬於記錄在案的探索測試單元策略性角色monitor記錄測試結束日期與退出規則
review_candidate 屬於潛在客戶帳戶,且 CRM 品質延遲離線價值未見possible在刪減前,要求 CRM 確認的結果
excluded_recent在延遲期內needs_data延遲期過後重新執行
not_flagged,轉換大於零,CPA 遠高於目標手動審查possible在採取行動前,先與 T04 風格的基準比較
not_flagged,支出低於門檻支出太少monitor不採取行動,保留該行於下次導出
目標 CPA 缺失或未含利潤推導門檻不可靠needs_data在任何執行前先取得目標

not_flagged 並非效率的證明。它僅表示在成熟資料上,沒有發生零轉換且超出門檻的違規。

弱轉換者的手動情境(腳本外部,屬於內部啟發式):支出減去(轉換數乘以目標 CPA),最低為零。將其與腳本總計分開報告。

以價值為最佳化的廣告活動應根據回報而非 CPA 來判斷,這需要從利潤率推導出 CPA 等值。若無此資訊,T03 門檻設為 needs_data。

輸出格式

填寫此範本。

## 浪費審查:[帳戶]、[層級]、時間視窗 [開始日期 至 結束日期]、[貨幣]、[時區]
目標 CPA:[數值] | T03 門檻:[1.5 x 目標] | 延遲:[天數] | 檔案中最新的日期:[日期] | 截止日期:[日期]
執行的指令:[完整指令]  行數:[n 判定]、[n 排除近期]、[n 標記]

### 浪費審查分類帳
| 層級 | 名稱 | 視窗結束日 | 成熟度 | 支出 | 轉換 | CPA | 診斷狀態 | 策略角色 | 判決 | 可刪減情境 | 核准負責人 |

### 可刪減情境(非節省)
高度信心:[總和] | 審查層級:[總和] | 請勿跨層級加總

### 發現
| 發現 | 證據 | 判決 | 嚴重性 | 信心度 | 商業影響 | 下一步 |

### 重新檢查計畫
[延遲期後的日期、指標、若轉換延遲出現則復原]

### 資料缺口
[缺少的診斷、歸因細節、目標來源,以及每個項目待補強的判決]

實際範例

僅為說明性數字。目標 CPA 40 USD,延遲 7 天,因此 T03 門檻為 60 USD。廣告組行已在成熟時間視窗內彙總,並以其最後一天作為日期。

level     name                  spend    conv   cpa               classification    reducible
ad_group  廣泛興趣 25-34        95.00    0.00   n/a               review_candidate  95.00
ad_group  類似購買者            410.00   9.00   45.55555555555556 not_flagged       0.00
ad_group  再行銷 7d             55.00    0.00   n/a               not_flagged       0.00
ad_group  新 UGC 測試           120.00   0.00   n/a               excluded_recent   0.00
ad        Hook B v2             78.00    0.00   n/a               review_candidate  78.00
campaign  秋季促銷              1020.00  24.00  42.5              excluded_recent   0.00

解讀:檔案中最新的日期是 2026-09-20,因此截止日期為 2026-09-13。廣泛興趣 25-34 花費 95 USD 但無轉換,在診斷無異常的情況下為 likely 浪費,中等嚴重性,支出影響。再行銷 7d 花費 55 USD,低於門檻,因此維持 monitor。新 UGC 測試 因為支出屬於近期,尚無判決。Hook B v2 是廣告層級的行,其 78 USD 不會加總到廣告組總計,因此可刪減情境在廣告組層級為 95 USD,在廣告層級為 78 USD,分開報告。秋季促銷 的 CPA 看起來健康(42.50),但也是近期資料,因此設為 needs_data 而非通過。

類似購買者的 CPA 為 45.56,高於目標但有轉換,因此屬於手動審查的 possible 項目,非腳本發現。

常見失敗模式

  • 輸入每日行但預期累積偵測。每行需要獨自跨過門檻。
  • 將所有資料彙總到導出檔案的最後日期。這樣每行都會落在延遲期內,導致腳本無法標記任何項目。
  • 支出欄位中包含 $ 以外的符號。儲存格會被解析為 0,這會隱藏實際支出,並可能在 conversions 為空白時憑空創造出零轉換的行。
  • 將廣告活動、廣告組和廣告層級的可刪減情境加總為一個總數。
  • 刪減仍在學習階段的廣告組。暫停廣告組本身是 TikTok 列出會影響學習階段的操作。
  • 在事件停止觸發時,直接將零轉換歸為浪費。請務必先檢查診斷。
  • 刪減 TikTok 已經限制或暫停的 Smart+ 廣告。分配是自動化的,因此請轉至 smart-plus-audit-tiktok-ads。
  • 將可刪減情境視為預測或保證節省。

下一步路由

搜尋詞:search-ads-keyword-review-tiktok-ads。版位:placement-review-tiktok-ads。追蹤可疑:pixel-events-api-check-tiktok-ads。CPA 變動:cpa-spike-diagnosis-tiktok-ads。調動釋出的預算:budget-scaling-planner-tiktok-ads。帳戶未對應:account-triage-tiktok-ads。

護欄

  • 請勿對即時帳戶、預算、出價、版位、追蹤、商店、頁面或廣告素材進行任何變更。
  • 當行仍處於轉換延遲期內時,請勿將其標記為浪費。
  • 若削減或排除即可達到相同目標,請勿建議暫停。
  • 在檢查診斷、測試目的與學習狀態之前,請勿將 review_candidate 稱為浪費。
  • 請勿跨層級或信心等級加總可刪減情境。
  • 請勿在未提供成本結構的情況下,將平台報告的轉換或 GMV 呈現為利潤。
  • 請勿隱瞞遺漏的日期、延遲、歸因設定或轉換定義。
  • 在獲得對照組測量結果之前,請勿宣稱任何成果。

Individual skills in this repo

This repo contains 19 individual skills — each has its own dedicated page.

mardab96/tiktok-ads-claude-skills

Runs an ordered, layer-by-layer triage of an unfamiliar TikTok Ads account (tracking, structure, learning, creative, bidding, landing page) and hands the first blocker to one named sibling skill. Use when the user inherits a TikTok account, onboards a client, asks where to start, says TikTok results dropped with no known cause, asks whether an account is ready to scale, or says "audit this TikTok account" without naming a problem.

mardab96/tiktok-ads-claude-skills

Reconciles TikTok Ads Manager conversions with GA4, Shopify, CRM, or app analytics using a baseline-ratio method, separating click-through from view-through credit, attribution window and timezone differences, and real tracking drift (T07). Use when a TikTok media buyer or client says "TikTok says 200 sales, Shopify says 90", "GA4 does not show our TikTok conversions", "TikTok ROAS looks too good", "the gap got bigger this month", or "which number do we report to the client".

mardab96/tiktok-ads-claude-skills

Checks whether a TikTok ad group's bidding strategy fits its goal, budget, and conversion volume using the labels TikTok currently lists (Maximum Results, Target Cost per Result, value options as shown in the account) and asks for a screenshot before mapping any legacy name. Use when someone types "Maximum Results or Target Cost per Result", "Cost Cap vs Lowest Cost on TikTok", "our target CPA is too low and delivery died", "bid strategy check", or "should we use hybrid bidding".

mardab96/tiktok-ads-claude-skills

Builds a staged TikTok budget plan with entry gates, one change per observation window, stop rules, and a recorded rollback, using T04, T05, T06, and T10 from the shared register. Use when someone types "can we scale this TikTok campaign", "double the budget on the winner", "how fast can I raise the daily budget", "scale before the sale", or "plan the budget increase for next week".

mardab96/tiktok-ads-claude-skills

Strips personal data from TikTok ad comments, clusters them into objections, questions, proof requests, and noise with counts, links each cluster to product facts, and drafts reply options and hook ideas for approval. Use when the user pastes TikTok comments and asks "what are people objecting to", "mine the comments for hooks", "draft replies to these comments", "what do viewers keep asking", or wants an FAQ and creative briefs built from comment themes.

mardab96/tiktok-ads-claude-skills

Diagnoses a TikTok CPA jump by splitting it into CPM, CTR, and CVR movement between a baseline and a current window with the cpa_decompose.py helper, then checking tracking, changes, mix, creative, and landing page in that order. Use when someone types "TikTok CPA doubled", "cost per purchase is up 40%", "why did CPA spike", "CVR dropped but clicks are fine", or "the client wants to know what broke".

mardab96/tiktok-ads-claude-skills

Detects whether a TikTok ad is tiring by comparing the last seven distinct dates with the preceding seven for frequency and CTR, using the bundled fatigue_scan.py script and a 14-date rule, then builds a control-versus-refresh queue. Use when the user asks "is this TikTok ad fatigued", says CTR is dropping while frequency climbs, wants to know when to refresh TikTok creative, or pastes a daily ad export and asks which ads to replace.

mardab96/tiktok-ads-claude-skills

Turns TikTok Shop and GMV Max reporting into a per-product cost-stack ledger with refunds, affiliate commissions, seller-funded coupons, referral fees, ad spend, COGS, and seller-borne shipping, using gmv_profit.py to flag any incomplete cost stack (T09). Use when a TikTok Shop seller or media buyer says "GMV Max ROI looks great but we are not making money", "is this product profitable on TikTok Shop", "check our TikTok Shop margins", "affiliate commissions are eating us", or before raising a GMV Max budget or ROI target.

mardab96/tiktok-ads-claude-skills

Scores the opening seconds of TikTok ads by computing 2-second and 6-second view rates and a thumb-stop proxy from ad-level export columns, comparing them with like-for-like ads, and scoring the script opening on a five-point rubric. Use when the user asks "which TikTok hook is weak", "what's my hook rate", "why do people scroll past my ad", wants a hook test plan, or pastes a transcript of the first seconds next to video-view columns.

mardab96/tiktok-ads-claude-skills

Compares a TikTok ad's spoken and on-screen promise with what a phone user sees on the first mobile screen after the tap, then checks in-app browser load friction and form or checkout friction, and writes a repair brief. Use when a TikTok media buyer says "CTR is fine but nobody buys", "the ad says one thing and the page says another", "check this landing page against our TikTok ad", "landing page views are way below clicks", "our TikTok lead form converts badly", or before scaling a winning TikTok creative onto a new page.

mardab96/tiktok-ads-claude-skills

Sequences planned TikTok edits around the learning phase, separating urgent repairs from optimisation, naming which edits TikTok itself labels as affecting learning, and ordering one observable action at a time with rollback. Use when someone types "can I edit this ad group during learning", "will this reset the learning phase", "campaign is in learning, what can we change", "sequence these changes", or "the client wants five edits this week".

mardab96/tiktok-ads-claude-skills

Checks TikTok Pixel and Events API health from Events Manager screenshots and an Ads Manager export, covering event match signals, event_id deduplication between browser and server events, parameter completeness on value events, and primary-event drops against stable clicks (T10). Use when a TikTok media buyer says "purchases dropped but clicks are flat", "check our TikTok pixel", "is Events API deduplicating", "Events Manager shows a diagnostic warning", "TikTok value does not match our orders", or before any bid, budget, or scale call that depends on TikTok conversion data.

mardab96/tiktok-ads-claude-skills

Reviews TikTok Ads delivery split between the TikTok placement and Pangle or TikTok Ad Network inventory (as labelled in your Ads Manager), testing CPA and downstream quality per placement against T08 and keeping brand safety and suitability as a separate question. Use when a TikTok media buyer says "should we turn off Pangle", "where is our TikTok spend actually going", "automatic placement is eating budget", "network traffic converts badly", "is our TikTok ad showing next to unsafe content", or when a client asks for a placement and brand safety readout.

mardab96/tiktok-ads-claude-skills

Reviews TikTok Search Ads search terms and keywords and decides what to add as a keyword, add as a negative, or watch, with match handling as labelled in the account and a lag-aware waste floor. Use when someone types "review our TikTok search terms", "negative keyword list for TikTok Search Ads", "which queries should become keywords", "broad match is bringing junk", or "Search Ads spend with zero conversions".

mardab96/tiktok-ads-claude-skills

Audits a TikTok Smart+ campaign by mapping what Smart+ automates against what the media buyer still controls (creative supply, audience exclusions, conversion event, budget, bidding), then ranks the risks. Use when someone types "audit our Smart+ campaign", "what does Smart+ actually control", "Smart+ vs manual", "Smart+ spend is up but results are flat", or "can we trust Smart+ with this budget".

mardab96/tiktok-ads-claude-skills

Compares TikTok Spark Ads with brand-handle ads like-for-like by matching objective, optimization event, audience, offer, placements, bidding label, dates, and concept before any metric is read, then records authorization status and designs a matched test when no clean pair exists. Use when the user asks "do Spark ads perform better than our brand ads", "Spark vs non-Spark", "should we boost creator posts", "why is the creator ad cheaper", or pastes ad-level data with a format column and wants a verdict.

mardab96/tiktok-ads-claude-skills

Writes a complete creator-facing UGC brief for TikTok ads, with viewer situation, one message, three hook options, scene structure, claims allowed and forbidden, do and don't lists, disclosure, usage rights, and a Spark authorization note, plus an internal approval checklist. Use when the user says "write a UGC brief for TikTok", "brief a creator", "I need a creator script with approved claims", "what rights do I need to run this creator video as an ad", or has product facts and needs something a creator can film from.

mardab96/tiktok-ads-claude-skills

Writes the weekly TikTok Ads client report as a plain-language narrative, a scorecard against the client goal, and next-week decisions with owners and approvals, after an integrity check on tracking, lag, and learning status (T04, T05, T07, T10). Use when an agency or freelance TikTok media buyer says "write the weekly TikTok report", "client update is due", "explain this week's TikTok results to the client", "what do we tell the client about CPA going up", or "set up a repeatable TikTok report format".

mardab96/tiktok-ads-claude-skills

Turns one proven TikTok ad into N distinct angle scripts, each with hook, body beats, CTA, on-screen text, and a shot list, after deconstructing why the winner worked and checking every claim against product facts and rights. Use when the user says "remix my winning TikTok ad", "give me new angles on this winner", "I need five scripts like this one", "my best ad is wearing out, what next", or pastes a winning transcript and asks for variations.

相關技能