rbx-badges-groups
Skill0 starsChanged 3 months agoMITView on GitHub
Badges, group configuration, and avatar-item dashboard work — BadgeService award wiring and icon prep done code-side first, the auth-gated creation steps emitted as a ready-to-paste Cowork prompt. Use when the user wants badges ("add a Welcome badge", "badge for beating the game"), group setup ("create roles", "publish under my group"), or avatar/UGC dashboard steps — or when award code exists but silently does nothing because the badge id is still 0. Do not use for gamepass or dev-product creation — load rbx-handoff-dashboard — or for auth-gated file uploads — load rbx-handoff-uploads instead.
In this repository253 other files it gives its agents.
- rbx-abtestSkill
- rbx-accessibilitySkill
- rbx-analytics-eventsSkill
- rbx-analytics-funnelsSkill
- rbx-analytics-readingSkill
- rbx-animationSkill
- rbx-anim-cutscenesSkill
- rbx-anim-npcSkill
- rbx-anim-proceduralSkill
- rbx-anim-rigsSkill
- rbx-anim-tweenSkill
- rbx-architectureSkill
- rbx-assets-audioSkill
- rbx-assets-id-policySkill
- rbx-assets-sanitizeSkill
- rbx-assetsSkill
- rbx-assets-toolboxSkill
- rbx-assets-webSkill
- rbx-audio-feedback-mapSkill
- rbx-audio-mixingSkill
- rbx-audio-musicSkill
- rbx-audio-sfxSkill
- rbx-audioSkill
- rbx-audio-spatialSkill
- rbx-build-compositionSkill
- rbx-build-detailingSkill
- rbx-build-greyboxSkill
- rbx-buildingSkill
- rbx-build-interiorsSkill
- rbx-build-kitbashSkill
- rbx-build-landscapeSkill
- rbx-build-propsSkill
- rbx-build-scaleSkill
- rbx-build-structuresSkill
- rbx-camera-controllersSkill
- rbx-camera-cutsceneSkill
- rbx-camera-shakeSkill
- rbx-chat-moderationSkill
- rbx-ciSkill
- rbx-combat-abilitiesSkill
- rbx-combat-hitregSkill
- rbx-combat-meleeSkill
- rbx-combat-rangedSkill
- rbx-combatSkill
- rbx-combat-statusSkill
- rbx-complianceSkill
- rbx-comprehendSkill
- rbx-controlsSkill
- rbx-data-crossserverSkill
- rbx-data-profilestoreSkill
- rbx-data-recoverySkill
- rbx-data-schemaSkill
- rbx-data-sessionlockSkill
- rbx-dataSkill
- rbx-design-difficultySkill
- rbx-design-loopSkill
- rbx-design-sheetSkill
- rbx-design-socialSkill
- rbx-economy-currenciesSkill
- rbx-economy-gachaSkill
- The first 60 shown.
The file
Files
rbx-badges-groups
Triggers
Badges are free-to-earn achievement markers (join badge, beat-the-game, secrets) — not
monetization; products go to rbx-handoff-dashboard. Group work triggers on revenue
splits, team permissions, or "publish under my group". Avatar-item requests get the
dashboard-steps prompt here; the file uploads themselves ride rbx-handoff-uploads.
Do first (all of it, before any handoff)
Badges:
- Award wiring, server-side — one Badges module:
BadgeService:UserHasBadgeAsync(pcall) to skip owners, thenBadgeService:AwardBadge(userId, badgeId)(pcall, retry once on failure). Award at the earn moment, never in a check-everything loop on join — BadgeService calls are budgeted per minute and a join-scan burns the budget for zero awards. - CONFIG placeholders —
BADGE_WELCOME = 0 -- TODO: real id, per luau-contract.md rule 4. - Icons — 512×512 PNG per badge via
rbx-marketing-icon, subject centered: badge icons display cropped to a circle, so corners are dead space. - The award moment gets celebration wiring (
rbx-juice-celebrations+ a stinger) — and remember badge award counts are public on the badge page, so a "beat the game" badge doubles as a public completion-funnel stat. Name badges accordingly.
Groups:
- Code-side perks first:
Player:IsInGroup(groupId)for the classic "join the group for +10% coins" loop,Player:GetRankInGroup(groupId)for role-gated areas/admin — both pcall'd and cached per player per session (results don't update mid-session; say so in the perk copy: "rejoin after joining the group"). - Decide the role table before the handoff: role names, rank numbers, and per-role permissions (who can publish, who sees group funds) — the prompt executes decisions, it never makes them.
The prompt
Fill cowork-handoff-template.md:
- Badges — dashboard path: Creations → experience → Engagement → Badges → Create. Include the cost rule in the prompt so the executor isn't surprised: 5 badges per experience are free per 24 hours; each additional badge costs 100 Robux. Table: name, description (player-facing, tells them HOW to earn it), icon file path.
- Groups — roblox.com → Groups → Create (one-time 100 Robux fee), then Configure Group: paste the role table (name, rank number, permissions per role); group payouts additionally require funds and the account's 2-Step Verification enabled — note it, don't walk it.
- Avatar items — dashboard path only (Creations → Avatar Items); files and moderation
wait ride the
rbx-handoff-uploadsprompt format. - REPORT BACK: each badge's numeric id, the group id, and the final rank number per role.
Verify & clear
Ids return → pcall(BadgeService.GetBadgeInfoAsync, BadgeService, id): name matches and
IsEnabled is true; paste ids into CONFIG; trigger one award in a Studio playtest and
confirm the toast + console show it landed. Group: GetRankInGroup on a known member
returns the expected rank number. Then clear the manual steps pending: entry in the
game's projects.md block and record badge name=id under the game's block (ids never
transfer between games — MEMORY-PROTOCOL.md).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

