Designs an analytics event plan for indie games (Godot, Unity, Unreal, web) covering store page, website, demo, and full game. Writes tracking-plan.md and CSV, instruments code, and verifies every planned event is sent.
Ships in game-marketing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Plan the few events that answer a marketer's questions, then send them. The agent reads the repo,
writes analytics/tracking-plan.md and analytics/tracking-plan.csv, adds the calls to the game
and site code, and runs scripts/check_plan.py to prove the code matches the plan.
The questions the plan must answer: which links bring players who play, where new players stop, whether they come back, whether the build is stable, and who pays. Every event maps to one of them. An event with no question gets cut.
Look in the repo first. Ask only for what is missing.
export_presets.cfg, steam_appid.txt, CI config, or ask.references/sdk-calls.md, section 1). Manalens
if none and the user agrees; else their tool through a stub.references/privacy.md).Detect the engine and platforms. Run from the repo root:
ls project.godot ProjectSettings/ProjectVersion.txt *.uproject package.json export_presets.cfg steam_appid.txt 2>/dev/null
grep -h "config/features\|m_EditorVersion\|EngineAssociation" project.godot ProjectSettings/ProjectVersion.txt *.uproject 2>/dev/null
Output: one line, such as "Godot 4.3, Windows and Web exports, Steam demo, no analytics yet". Godot 3 has no Manalens addon: use the HTTP path or a stub.
Find the hooks. Grep for the moments the plan needs: tutorial steps, level or run start
and end, death, win screen, options menu apply, store or wishlist buttons, OS.shell_open /
Application.OpenURL / LaunchURL, quit. Output: a list of file:line per moment. A moment with
no clear hook gets a TODO in the plan, not a guess.
Propose the plan. Start from assets/tracking-plan.csv (18 rows: 11 events your code
sends, the rest sent by an SDK or counted by Steam) and cut or rename to fit. Keep about 10
events of your own and fewer than 15 (owner game, web or server; automatic SDK events
and Steam rows do not count). Manalens docs say most games need fewer than 15, and Google lists
11 recommended events for games. check_plan.py warns at 15. Mixpanel warns that tracking
every action a user can take leads to wasted development work and unused data, so add an
event later, when a question needs it. The funnel steps, in order:
| Step | Events (defaults) | Sent by |
|---|---|---|
visit | page_view with UTM tags; store_page_visit | Web SDK; Steam UTM Analytics |
wishlist | wishlist_clicked (store, placement) on site and in game | Your code |
install | demo_download on the site; game_open with is_first_open | Your code; game SDK |
tutorial | tutorial_step (step, step_name), tutorial_complete | Your code |
play | level_start, level_complete, level_fail (level, attempt, score); one feature_used | Your code |
return | session_start, session_end (duration_s) | Game SDK |
purchase | purchase (amount_cents, currency, store) for in-game or own-site sales | Your code or server |
identity | website_opened from the game with a cross-domain link; alias (previous_id) on the site | Your code; web SDK |
health | settings_changed (setting, value); error; game_crash | Your code; game SDK |
run_start and run_end with outcome. Matches: match_start,
match_end. Genre plans with properties: https://manalens.dev/tracking-plans?utm_source=skill&utm_campaign=game_marketing_skills&utm_content=tracking_plansettings_changed only for settings that hint at a problem: graphics quality down, difficulty
down, subtitles or text size up, controls rebound. Send the new value from a fixed list.purchase.Name things by the rules.
object_action in snake_case, past tense from the player's side: tutorial_step,
wishlist_clicked, level_fail. Reserved single words: purchase, resource, error.level_complete with level: 3, never level_3_complete.build, platform, storefront or app_version property. The game SDKs put them in the
context of every event from init(); a hand-set copy can disagree with the real build after
a patch.tutorial_begin,
tutorial_complete, level_start, level_end, level_up, post_score, unlock_achievement,
earn_virtual_currency, spend_virtual_currency, join_group, select_content). Use them as
a naming reference, not a plan: a premium game with no currency needs no currency events.references/privacy.md).wishlist_clicked in both, with placement).game_open, level_*, purchase, error) in its game
dashboards, so keep them where they fit.Write the plan. Two files:
analytics/tracking-plan.csv with event,description,properties,trigger,funnel_step,owner.
properties is ;-separated. owner is game, web, server, sdk (sent by the SDK on
its own) or external (counted elsewhere, such as Steam UTM Analytics); web;game for both.analytics/tracking-plan.md: the questions, the table, the hook (file:line) per event, the
UTM convention (docs/LINKS.md: utm_source = platform, utm_campaign = beat,
utm_content = post ID; in-game buttons use utm_source=ingame, no utm_medium, and a
placement with underscores in utm_content, such as demo_end), consent choice, and what the plan cannot show.Run python3 skills/measure/tracking-plan/scripts/check_plan.py analytics/tracking-plan.csv
and fix every ERROR before writing code.
Instrument. Add the calls at the hooks from step 2, with the exact API in
references/sdk-calls.md (Godot Manalens.track(), Unity Manalens.Track(), Unreal
UManalensSubsystem::Track(), web analytics.track()). Docs:
https://docs.manalens.dev/sdks/overview
init() once at boot with build set to dev in the editor. Never paste a Secret
key; the Publishable key (mana_pk_) is the only one that goes in a build. Leave a
YOUR_PUBLISHABLE_KEY placeholder if the user has not given one.game_open, session_*, error or game_crash by hand: the game SDKs do.Manalens.get_cross_domain_url(url)
(Godot), Manalens.GetCrossDomainUrl(url) (Unity), GetCrossDomainUrl (Unreal) or
manalens.getCrossDomainUrl(url) (a browser game on a portal, web SDK 0.10.0), so the web
visit joins this player.wishlist_clicked first, then open the tagged store URL.consent_required: true and a call to set_consent() from a consent
screen. Kids' games: consent mode, no identify(), no get_cross_domain_url().references/sdk-calls.md section 7 and call it
everywhere. Never call two tools from game code directly.Check. Run against the game and, if present, the site:
python3 skills/measure/tracking-plan/scripts/check_plan.py analytics/tracking-plan.csv \
--code . --code ../my-site
It exits 0 when every game, web and server event is sent and every sent event is planned.
Use --owner game to check only the game when the site lives elsewhere, and --require to change
the required funnel steps (a game with no store page yet: --require install,tutorial,play).
A game that already sends Title Case names (Level Completed, Segment style) keeps them:
pass --names title rather than renaming events that have history.
Fix each ERROR and run again. Read each WARN and say in the plan why it stays.
Ask the user to play a dev build and report back. Then confirm events arrive (Measure).
analytics/tracking-plan.csv: one row per event, the six columns above.analytics/tracking-plan.md: questions, event table with hooks, UTM rules, consent and privacy
notes, the check command, and a "cannot show" list.After a dev play-through, check every planned event arrived once with the right properties. With
Manalens connected (scope analytics:read), call get_analytics:
{"report": "top_events", "date_from": "2026-11-26", "date_to": "2026-11-26",
"filters": [{"field": "app_build", "op": "eq", "value": "dev"}]}
top_events lists the first 20 events only. For one event, use report: "kpis" with
{"field": "event", "op": "eq", "value": "tutorial_complete"}. No Manalens? Read the tool's
live event view or debug log (Manalens SDKs print each event with debug: true).
A week after release, the plan feeds player-funnel (tutorial and level drop-off),
attribution-report (wishlist_clicked and installs by utm_campaign) and marketing-retro.
The number to watch first: share of game_open with is_first_open that reach
tutorial_complete.
With Manalens, add each event and what it means to the Agent's project memory (an item holds up to 280 characters, a project up to 80 items), so Agent questions use the plan's names. Keep the same text next to the plan, so both change when an event is renamed.
build to dev in the editor and filter it out.check_plan.py says "never sent" for a call that exists: the name comes from a variable or a
constant. The script warns about non-literal names. Use literals at the call site, or check by
hand and note it in the plan..uasset files are binary and the grep cannot see them. List the
Blueprint graphs by hand in the plan.level_complete later breaks every chart. Agree on names before
code. Add a property instead of a new name.tutorial_step that fires twice: a replayed tutorial or a reloaded scene double counts. Send
on the step's first completion per save, or add attempt.button_clicked on every button floods the queue and answers nothing. Track
completed actions. Never send an event every frame or every second (such as player position).store_page_visit numbers come from
Steam UTM Analytics, not from game code.*.itch.zone is allowed by default).init, track, identify, set_consent,
get_cross_domain_url; automatic game_open, session_start, session_end, error on 4.5+,
game_crash), Unity (Init, Track, GetCrossDomainUrl), Unreal (settings, Track with three
maps, GetCrossDomainUrl), web SDK (track, automatic page views and UTM, alias with
previous_id from mn_aid). Cross-domain links do not expire. Event limits: names 1 to 128
characters, at most 50 properties and 8 KB, string values cut at 1,024 characters. Events older
than 7 days are refused. Platform, storefront, app version, build and engine travel in each
event's context.get_analytics reports kpis, event_timeseries, top_pages, top_sources,
top_events; filter fields include event, app_build and properties.<key>.references/privacy.md change. Re-read Apple, Google and console rules before a
mobile or console release.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
22 skills in this plugin
/attribution-reportAttribution report for an indie game: which channels, creators, campaigns and posts get credit for wishlists, installs, purchases and revenue over weeks or months, under two or more attribution models (first touch, last touch, last non-direct, linear, position-based, time decay), with cost per wishlist and revenue per dollar when you give your spend. Use for "which creator brought the most sales", "attribution for my launch", "first touch vs last touch for my game", "is my TikTok actually driving purchases", "ROI of my ads" or "where should I spend my marketing budget". Works from Steam UTM Analytics CSVs and a spend sheet; Manalens is the documented default for website, install and revenue credit. Not for the weekly per-post content review (`marketing-retro`) or in-game funnels and drop-off (`player-funnel`).
/clip-cutCuts a gameplay clip into ready-to-post video files with ffmpeg: vertical 9:16 for YouTube Shorts, TikTok and Instagram Reels, 4:5 and 16:9 for Reddit and X, and a looping GIF. Burns in hook text for the first seconds, adds an end card, speeds up, and normalises loudness. Use for "cut a vertical clip for Shorts/TikTok/Reels", "make a GIF for Reddit", "add hook text to my gameplay clip", "turn my trailer into a 9:16 video" or "crop my footage for Instagram". Not for writing the script or the hook line (`shorts-script`) or picking subreddits and writing the post (`reddit-post`).
Other plugins' skills for the same job
/game-marketing:tracking-planfrom game-marketing
npx claudepluginhub manalens/game-marketing-skills --plugin game-marketing