/roblox-skills:roblox-analytics-liveopsfrom roblox-skills
Provides AnalyticsService helpers for economy events, funnels, onboarding, progression, and custom events. Also covers ConfigService, A/B experiments, badges, notifications, timed events, daily rewards, and season passes for Roblox live ops.
Ships in roblox-skills. 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.
None: SKILL.md is the whole skill.
AnalyticsService)Standard events feed the Creator Hub dashboards automatically (economy, funnels, progression,
custom). The Fire* methods are deprecated; use the Log* family.
--!strict
local AnalyticsService = game:GetService("AnalyticsService")
local Analytics = {}
-- Currency sources and sinks → Economy dashboard.
function Analytics.coinsEarned(player: Player, amount: number, balance: number, source: string)
AnalyticsService:LogEconomyEvent(
player,
Enum.AnalyticsEconomyFlowType.Source,
"Coins", -- currency type
amount,
balance, -- ending balance
Enum.AnalyticsEconomyTransactionType.Gameplay.Name, -- or a custom string like "QuestReward"
source -- item SKU / source id
)
end
function Analytics.itemBought(player: Player, price: number, balance: number, itemSku: string)
AnalyticsService:LogEconomyEvent(
player,
Enum.AnalyticsEconomyFlowType.Sink,
"Coins",
price,
balance,
Enum.AnalyticsEconomyTransactionType.Shop.Name,
itemSku
)
end
-- First-session tutorial funnel (steps must be sequential, 1-based).
function Analytics.onboarding(player: Player, step: number, stepName: string)
AnalyticsService:LogOnboardingFunnelStepEvent(player, step, stepName)
end
-- Recurring funnels (e.g. shop purchase flow); share a session id per attempt.
function Analytics.shopFunnel(player: Player, sessionId: string, step: number, stepName: string)
AnalyticsService:LogFunnelStepEvent(player, "ShopPurchase", sessionId, step, stepName)
end
-- Level progression.
function Analytics.levelStarted(player: Player, level: number)
AnalyticsService:LogProgressionStartEvent(player, "MainPath", level, `Level{level}`)
end
function Analytics.levelCompleted(player: Player, level: number)
AnalyticsService:LogProgressionCompleteEvent(player, "MainPath", level, `Level{level}`)
end
-- Anything else: numeric custom events, sliced by up to 3 custom fields.
function Analytics.bossKilled(player: Player, bossId: string, seconds: number)
AnalyticsService:LogCustomEvent(player, "BossKillTime", seconds, {
[Enum.AnalyticsCustomFieldKeys.CustomField01.Name] = bossId,
})
end
return Analytics
Guidelines:
endingBalance; log every source and sink or the dashboard misleads.AnalyticsService:GetPlayerSegmentsAsync(player) returns segment info (payer status, account age in
your game, ...) at runtime to tailor onboarding and offers — pcall it.Create configs in Creator Hub (or Open Cloud) — balance numbers, feature flags, event toggles — and read them
on the server with ConfigService. Published changes arrive in running servers.
--!strict
local ConfigService = game:GetService("ConfigService")
local ok, snapshot = pcall(function()
return ConfigService:GetConfigAsync()
end)
local function get(key: string, default: any): any
if not ok then
return default
end
local value = snapshot:GetValue(key)
return if value == nil then default else value
end
local bossHealth = get("bossHealth", 500)
print("boss health", bossHealth)
if ok then
snapshot.UpdateAvailable:Connect(function()
snapshot:Refresh() -- apply newly published values at a safe moment (e.g. between rounds)
print("new boss health", get("bossHealth", 500))
end)
end
ConfigService:GetConfigForPlayerAsync(player)
(GetConfigAsync ignores targeting). Experiments run 14–60 days, up to two variants plus control; pick a
goal metric and respect the minimum detectable effect. Manage via Creator Hub or the Open Cloud
experimentation API (roblox-open-cloud). Early Harm Detection shows near-real-time playtime, payer
conversion, and ARPU (every 5 min) for the first 24 h — stop a harmful variant early. Metric sets now
include Custom (up to three metrics from custom, economy, and funnel events) and Rewarded Video Ads.ConfigService:SetTestingValue(key, value) / ClearTestingValue.BadgeService:AwardBadgeAsync(userId, badgeId) (server, pcall; skip if UserHasBadgeAsync or
CheckUserBadgesAsync already says owned). AwardBadge/UserHasBadge are deprecated. Badges are
great onboarding and progression milestones and show on players' profiles. Rate-limited
UserHasBadgeAsync/GetBadgeInfoAsync error with "Too many requests": back off and retry.
ExperienceNotificationService:CanPromptOptInAsync() then
PromptOptIn() (client).POST /cloud/v2/users/{userId}/notifications (e.g. "your crops are ready", "event starts now").
Notifications are rate-limited and moderated; send ones players value.eventStart, eventEnd); compare with
os.time() on the server; broadcast state via attributes; clients show countdowns from
workspace:GetServerTimeNow().math.floor(os.time() / 86400) for daily shops; store
claimed rewards per season id in player data.lastClaimDay (UTC day number) and streak count; grant on the server.SocialService:PromptFeedbackSubmissionAsync({ FeedbackType = Enum.FeedbackType.PlayerSupport })
(client, pcall); reports arrive with device info and screenshots in Creator Hub → Audience → Player Support.roblox-monetization (offers, pricing), roblox-data-stores (streaks, season data),
roblox-open-cloud (configs/experiments/notifications APIs), roblox-game-systems.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
roblox, game-analytics, live-operations, ab-testing, economy-tracking
npx claudepluginhub el4cteo/roblox-skills --plugin roblox-skills23 skills in this plugin
/roblox-architectureRoblox project structure and client/server model - replication, where code and assets belong (ServerScriptService, ReplicatedStorage, StarterPlayer), RunContext, service/controller bootstrapping, player/character lifecycle, CollectionService components, attributes, streaming-safe client code, library choices. Use when starting a project, deciding where code goes, or fixing replication/streaming bugs./roblox-audioSound and music - the Audio API (AudioPlayer, AudioEmitter, AudioListener, AudioDeviceOutput, Wire, effects, faders), classic Sound/SoundGroup, 2D vs 3D audio, music and SFX volume, client vs server playback, asset permissions, streaming caveats, voice routing, text-to-speech. Use when adding music, sound effects, spatial audio, mixing, or fixing sounds that don't play./roblox-characters-animationCharacters and animation - Humanoid properties/states, spawning (LoadCharacterAsync), health and damage, HumanoidDescription appearance, Animator/AnimationTrack playback, priorities and markers, default animation replacement, Tools, TweenService, IKControl, Character Controller Library (beta). Use when changing movement, abilities, damage, respawn, avatars, animations, tweens, or tools/weapons./roblox-code-reviewReview Roblox/Luau code for exploits, data loss, memory leaks, performance problems, lifecycle bugs, policy issues, and deprecated or superseded APIs, using a severity-ranked checklist and the full 2026 deprecation map. Use when reviewing a PR or script, auditing a game before launch, modernizing legacy code, or asked what is wrong with some Roblox code./roblox-data-storesPersistence and cross-server data - DataStoreService (UpdateAsync, retries, budgets, limits), session locking with ProfileStore, schema migrations, OrderedDataStore leaderboards, MemoryStore queues/sorted maps/hash maps, MessagingService, right-to-be-forgotten. Use when saving player data, building leaderboards or queues, or fixing data loss, duplication, or throttling./roblox-game-systemsRecipes for common systems built on server authority - currency service and leaderstats, XP/levels, round loops with intermission and teams, validated melee/ranged combat, inventory and tools, soft-currency shops, obby checkpoints, daily rewards, pets. Use when implementing or reviewing gameplay systems such as rounds, combat, weapons, inventories, shops, currencies, or progression.Other plugins' skills for the same job