Communitygithub.com

mardab96/tiktok-ads-claude-skills

將 TikTok Shop 和 GMV Max 報告轉換為每項產品的成本堆疊帳本,包含退款、聯盟佣金、賣方補貼優惠券、推薦費、廣告支出、銷貨成本及賣方負擔運費,並使用 gmv_profit.py 標記任何不完整的成本堆疊(T09)。當 TikTok Shop 賣家或媒體買家說「GMV Max ROI 看起來很棒,但我們沒有賺錢」、「這個產品在 TikTok Shop 上有利可圖嗎」、「檢查我們的 TikTok Shop 利潤」、「聯盟佣金正在侵蝕我們」時,或在提高 GMV Max 預算或 ROI 目標之前使用。

tiktok-ads-claude-skills 是什麼?

此技能旨在解決 TikTok Shop 賣家常見的利潤盲點:GMV Max 報告僅顯示 GMV 和平台廣告支出回報率,卻忽略了退款、聯盟佣金、賣方補貼優惠券、平台推薦費、銷貨成本(COGS)及賣方負擔運費等關鍵成本。透過建立一個嚴謹的「每項產品成本堆疊帳本」,使用專用腳本 gmv_profit.py 自動標記任何缺失的成本項目(即 T09 驗證),技能強制要求完整數據才能給出利潤結論。它支援在決策前必須釐清報告期間、市場、貨幣以及數據是按訂單日期還是結算日期。分析流程包括匯入賣家中心和廣告管理員匯出的 CSV 檔案、執行腳本解析、手動補充 COGS 和運費、比對平台數據,最後根據決策規則(如成本堆疊完整、利潤正/負、退款窗口成熟度)給出「待收集數據」、「批准後可執行」、「監控中」或「暫緩」等狀態,並引導進入預算規劃或出價策略等後續技能。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mardab96/tiktok-ads-claude-skills/tree/HEAD/gmv-max-profit-check-tiktok-ads

在你喜歡的 AI 中提問

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

說明文件

GMV Max 利潤檢查:TikTok 廣告

何時使用此技能

GMV Max 報告的是總商品交易額(GMV)和基於廣告支出的平台回報率。除非你的報告另有說明,否則應將這兩者視為毛額:它們都不會顯示決定利潤的退款、聯盟佣金、賣方補貼優惠券、推薦費、產品成本以及賣方負擔運費。此技能為每個產品建立該帳本,若任何成本項目缺失(T09)則拒絕提出利潤聲明,並說明買家可以得出和不能得出的結論。需使用賣家中心和廣告管理員的匯出檔案;TikTok for Business 連接器在 Claude 中為選用。

典型請求:

  • "GMV Max 顯示強勁的 ROI。財務說我們在 Shop 上虧錢。誰是對的?"
  • "哪些 SKU 應該獲得更多 GMV Max 預算?"
  • "聯盟創作者驅動了大部分銷售。扣除他們的佣金後還剩下什麼?"
  • "退款突然增加。這對上個月的數字有什麼影響?"
  • "我們可以降低 ROI 目標但仍然賺錢嗎?"

請勿在以下情況使用此技能:

  • 問題涉及網站像素購買而非 Shop 訂單。請執行 pixel-events-api-check-tiktok-ads 或 attribution-gap-check-tiktok-ads。
  • 在了解利潤後才需要決定預算規模和節奏。請執行 budget-scaling-planner-tiktok-ads。
  • 需要檢討出價或 ROI 目標的機制。請執行 bid-strategy-check-tiktok-ads,並附上此帳本。
  • 範圍涵蓋沒有 Shop 功能的更廣泛帳戶。請執行 account-triage-tiktok-ads。

必要輸入資料

每一項成本項目都來自提供的匯出檔案或企業擁有的數據。空白的項目保持缺失狀態,絕不會被視為零。

為每個期間建立一個 CSV 檔案,使用以下精確的欄位標題,每個產品或 SKU 一行:

product, revenue, refunds, affiliate_commission, coupons, referral_fees, ad_spend

每個欄位的來源(賣家中心的名稱因市場而異,以你帳戶中的標籤為準):

欄位典型來源備註
revenue賣家中心的 訂單 或 財務 結算報告退款前的產品毛收入
refunds訂單 的退貨和退款,或結算調整相同的訂單日期區間
affiliate_commission聯盟 佣金報告使用已結算或估算的金額,並說明是哪一種
coupons促銷 報告僅限賣方補貼的部分
referral_fees財務 結算費用項目平台佣金或推薦費(依標籤而定)
ad_spend廣告管理員 GMV Max 廣告活動報告,若有產品層級則使用相同日期和貨幣

要進行利潤聲明,還需要:每個產品的 COGS 和已售單位數,以及每個產品或訂單的賣方負擔運費。還需要:期間、市場、貨幣,以及數字是按訂單日期還是結算日期。

選用輸入資料

  • 平台顯示的 GMV 和 ROI,用於與帳本進行比較。
  • 退款窗口或退貨政策期限,以判斷近期訂單的成熟度。
  • 寄送給聯盟的樣品訂單或免費樣品成本(若企業有追蹤)。

分析前準備

  1. 確定分析單位:產品、SKU 或 GMV Max 廣告活動。在每個匯出檔案中保持同一個鍵值,以便行資料能乾淨地對應。
  2. 詢問在商店報告中,聯盟驅動的訂單和廣告驅動的訂單如何重疊。如果一筆訂單同時包含聯盟佣金和 GMV Max 信用額度,請將兩項成本都保留在該行中;即使信用額度是共享的,成本是真實存在的。
  3. 詢問每個促銷活動的資金來源。平台補貼和賣方補貼的折扣可能位在同一個報告欄位中。
  4. 確認每個市場的退貨期限和今天的日期,以便在閱讀結果前了解期間內尚未成熟的訂單部分。
  5. 記錄廣告支出是產品層級還是廣告活動層級。按 GMV 比例分配給產品的廣告活動層級支出屬於分攤,應標記為 hypothesis。

分析工作流程

  1. 在所有匯出檔案中對齊期間、市場和貨幣。標記每個來源是按訂單日期還是結算日期;混合使用的帳本會顯示來自不同訂單的費用和收入。

  2. 在執行腳本前標準化數字。gmv_profit.py 會移除 $ 符號,並將逗號或非有限值視為缺失。將小數逗號(12,50)轉換為小數點(12.50),並移除千位分隔符(1.234,56 變成 1234.56)。移除其他貨幣符號或代碼(EUR、GBP、PLN),否則該行將保持不完整。

  3. 使用上述精確欄位標題建立 CSV。真正的零請輸入 0;未知的儲存格留空,以保持缺失狀態。

  4. 從此技能資料夾執行輔助腳本:

    python3 ../tiktok-ads-shared/scripts/gmv_profit.py shop_ledger.csv
    

    若是從已安裝的副本執行,請使用 ~/.claude/skills/tiktok-ads-shared/scripts/gmv_profit.py。一個合成的範例檔案位於 ../tiktok-ads-shared/examples/data/gmv_profit.csv。

  5. 讀取以 Tab 分隔的輸出。欄位:product, revenue, cost_stack, contribution_before_cogs, status, missing_columns。cost_stack 將退款、聯盟佣金、優惠券、推薦費和廣告支出相加為絕對值,因此來自結算匯出的負號是安全的。complete_cost_stack 表示每個可見儲存格都已解析。incomplete_cost_stack / needs_data 會印出 n/a 並列出每個缺失的欄位(T09)。如果檔案無法開啟或缺少必要的標題,則退出碼 2 並顯示 ERROR: 訊息。

  6. 對於已完成的行,手動加入 COGS 和賣方負擔運費:COGS 和運費後的貢獻等於 contribution_before_cogs 減去 COGS 再減去賣方運費。如果缺少任一輸入,僅報告 COGS 前的貢獻,並將利潤標記為 needs_data。

  7. 將帳本與平台數據進行比較。並排顯示每個產品的 GMV、平台 ROI、COGS 前貢獻以及 COGS 和運費後的貢獻。

  8. 檢查退款的成熟度。仍在退貨期限內的訂單仍可能發生退款;當退款窗口尚未關閉時,將最近的期間標記為未成熟。

  9. 產生行動清單:需要收集哪些成本項目,哪些產品對於預算或目標討論應標記為 monitor、hold 或 approval_needed。

決策規則

條件證據判定下一步行動
收入、退款、聯盟佣金、優惠券、推薦費或廣告支出中的任一項為空白或無法解析(T09)shop_export + 腳本狀態needs_data收集指定的欄位;無法給出利潤或規模判定
可見成本堆疊已完成,但缺少 COGS 或賣方運費(T09)腳本輸出利潤判定為 needs_data僅報告 COGS 前的貢獻
對於承載有意義 GMV Max 支出的產品,COGS 和運費後的貢獻為負值帳本approval_needed由負責人決定目標、預算或產品排除;導向 bid-strategy-check-tiktok-ads
貢獻為正值,退款窗口已關閉帳本用於規模擴張的 monitor 或 approval_needed導向 budget-scaling-planner-tiktok-ads
貢獻為正值,退款窗口仍開放帳本 + 退貨政策hold窗口關閉後重新檢查
混合使用了訂單日期和結算日期的來源匯出元數據needs_data在同一基礎上重建
聯盟佣金為估算而非已結算聯盟報告possible標記為估算;結算後重新檢查

輸出格式

## GMV Max 利潤檢查:[商店名稱], [市場], [期間], [貨幣], [訂單日期 / 結算日期基準]

**判定:** [共享判定標籤] 因為 [最強證據]
**腳本:** 在 [檔案名稱] 上執行 gmv_profit.py;已完成行數:[n] / [n]

### 商店經濟帳本
| 產品 | GMV (平台) | 收入 | 退款 | 聯盟 | 優惠券 | 推薦費 | 廣告支出 | COGS 前貢獻 | COGS | 賣方運費 | COGS 和運費後貢獻 | 狀態 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|

### 平台視圖 vs 帳本
| 產品 | 平台 ROI | 每單位廣告支出的 COGS 和運費後貢獻 | 差距解釋 |
|---|---|---|---|

### 決策表
| 發現 | 證據 | 判定 | 嚴重性 | 信心 | 業務影響 | 下一步行動 |
|---|---|---|---|---|---|---|

### 需收集的成本項目
- [產品]: [欄位],來源:[報告],負責人:[姓名]

### 數據缺口
- [缺失項目]: 阻礙 [結論]

實用範例

以下為來自合成樣本檔案的說明性數字,並非基準。在 ../tiktok-ads-shared/examples/data/gmv_profit.csv 上執行輔助腳本會回傳:

product	revenue	cost_stack	contribution_before_cogs	status	missing_columns
Starter kit	1000.00	445.00	555.00	complete_cost_stack
Incomplete refill	n/a	n/a	n/a	incomplete_cost_stack / needs_data	affiliate_commission

Starter kit:收入 1,000,退款 50,聯盟佣金 100,優惠券 75,推薦費 40,廣告支出 180,因此成本堆疊為 445,COGS 前貢獻為 555。GMV Max 報告會顯示 GMV 1,000,廣告支出 180。假設企業提供這些單位的 COGS 為 320,賣方運費為 90:COGS 和運費後的貢獻為 145。判定 monitor,待退款窗口關閉後,規模擴張導向 budget-scaling-planner-tiktok-ads。

Incomplete refill:聯盟佣金為空白。適用 T09;判定為 needs_data,不進行利潤陳述,收集任務指派給負責聯盟報告的人員。

常見誤解

  • 將 GMV Max ROI 解讀為利潤。就報告而言,它忽略了費用、佣金、COGS 和運費堆疊,以及退款(除非你的報告顯示已扣除)。
  • 將退款後的淨收入輸入到 revenue 中,同時也填寫 refunds,這會導致退款被重複扣除。
  • 將平台補貼的優惠券計入賣方成本。只有賣方補貼的部分才應屬於 coupons。
  • 在空白的聯盟佣金儲存格中輸入 0 以使腳本通過。這會將未知數轉變為虛假的利潤。
  • 使用帶有小數逗號的歐洲格式數字,腳本會將其解讀為大了百倍的數值。
  • 將基於訂單日期的收入匯出與基於結算日期的費用匯出進行比較。
  • 在退貨窗口仍開放時,評判上週的產品。
  • 按 GMV 比例將廣告活動層級的廣告支出分配給產品,然後將產品利潤呈現為已衡量。

導向後續技能

  • 帳本完整且為正值,正在討論規模擴張:budget-scaling-planner-tiktok-ads,然後在進行任何即時編輯前執行 learning-phase-guard-tiktok-ads(T05)。
  • 在以目標為導向的廣告活動中帳本顯示為負值:bid-strategy-check-tiktok-ads,並附上帳本。
  • 聯盟創作者內容優於品牌內容:spark-vs-brand-ad-split-tiktok-ads。
  • 客戶摘要報告商店經濟狀況:weekly-client-report-tiktok-ads。

護欄

  • 請勿將 GMV、平台 ROI 或 COGS 前貢獻稱為利潤。
  • 請勿在未標記為 hypothesis 的情況下,將缺失的費用、退款或支出儲存格填入零或估算值。
  • 請勿更改 GMV Max 目標、預算、產品選擇或商店促銷活動。輸出內容僅止於可供批准的建議。
  • 請勿建議擴大成本堆疊在 T09 下不完整的產品。
  • 請勿將一個市場的費用類別套用到另一個市場。

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

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

Finds mature TikTok campaigns, ad groups, and ads that spent past a CPA-based floor with zero reported conversions, after excluding rows still inside the conversion lag, using the wasted_spend.py helper. Use when someone types "where is the wasted spend on TikTok", "which ad groups burn budget with no conversions", "what can we cut before we scale", "zero conversion ads", or "clean this account before the client call".

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.

相關技能