weekly-metrics-sheet

Turn the weekly analytics exports from Instagram, TikTok and YouTube Shorts into one spreadsheet and a short written summary. Normalises views, likes, comments, shares, saves, average watch time, completion and followers gained, matches the same video across platforms by title similarity and publish date within 2 days, writes weekly.xlsx and weekly.md, and says what changed versus last week. Use when the user says "weekly report", "combine my analytics", "Instagram TikTok YouTube numbers in one sheet", "how did my videos do this week", "compare this week to last week", "cross-platform metrics".

O que é weekly-metrics-sheet?

weekly-metrics-sheet is a Claude Code agent skill that turn the weekly analytics exports from Instagram, TikTok and YouTube Shorts into one spreadsheet and a short written summary. Normalises views, likes, comments, shares, saves, average watch time, completion and followers gained, matches the same video across platforms by title similarity and publish date within 2 days, writes weekly.xlsx and weekly.md, and says what changed versus last week. Use when the user says "weekly report", "combine my analytics", "Instagram TikTok YouTube numbers in one sheet", "how did my videos do this week", "compare this week to last week", "cross-platform metrics".

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/umerdarazkha-debug/weekly-metrics-sheet/tree/HEAD

Installed? Explore more Produtividade e Colaboração skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Weekly metrics sheet

Views are not equal across platforms. The sheet keeps them apart and says so.

Steps

  1. Ask the user to put this week's exports in one folder (any sub-folders are fine):
    • Instagram: Meta Business Suite content export (CSV).
    • TikTok: TikTok Studio analytics export (CSV, desktop).
    • YouTube: Studio advanced mode, "Export current view", then unzip. Keep Table data.csv. Name files with the platform in the name if you can (instagram_reels.csv). Otherwise the script reads the headers. If they cannot export, ask for the numbers by hand and write a CSV in the column shape in references/column-mapping.md.
  2. Look for last week's weekly.xlsx. If the user has it, use it as --previous.
  3. Run from the skill folder:
uv run --python 3.12 scripts/weekly.py --inputs EXPORT_DIR --out OUT_DIR [--previous LASTWEEK/weekly.xlsx] [--shorts-max-seconds N]

Optional: --threshold 0.6 (title similarity), --max-days 2 (publish date gap), --json. 4. Read the Notes at the end of weekly.md. They list skipped files and rows with no readable date. If a column the user expected is blank, check references/column-mapping.md and the header row of their file. 5. Show the user: the totals table, the matched videos, and the "What changed vs last week" lines. Write two or three plain sentences of your own on top: the biggest move, the best video, one thing to try. Keep the numbers exactly as printed. 6. Check matches by eye. Print the Matched table and ask if any pair is wrong. A wrong pair can be fixed by raising --threshold or by editing the title column in the CSV and re-running. 7. Keep weekly.xlsx somewhere stable. Next week it is the --previous file.

Rules

  • Never add views across platforms and call it reach. The "All platforms" row in the sheet is labelled not like-for-like. Say so if you quote it.
  • Never quote a platform's definition from memory. Use references/view-definitions.md. Lines marked UNVERIFIED stay marked.
  • YouTube exports hold long videos too. If the user only wants Shorts, pass --shorts-max-seconds with the current Shorts length limit from YouTube's help page (not checked here).
  • Averages of watch time and completion are weighted by views and only use videos that have the metric.
  • A video posted with a different title, or more than 2 days apart, is not matched. That is intended.

Limits

  • Per-video numbers in an export are usually lifetime-to-date for the exported range. Totals can change for old videos between weeks.
  • TikTok and Instagram header names are not officially documented (see the mapping file). Check your own header row.
  • No API calls. Reading from the platform APIs is not built.

Habilidades Relacionadas