Agent skill

Minigame

by ChatbotXIO in ChatbotXIO/ChatbotX

Work on the Minigame tool — the Jackpot slot-machine game (and four scaffolded-but-unimplemented types: luckyWheel, gashapon, drawLots, scratchOff) that workspaces create, share a public play link…

Custom licenceAuto-check passedDevelopment

Install Minigame

skills CLI
$ npx skills add ChatbotXIO/ChatbotX --skill minigame -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ChatbotXIO/ChatbotX minigame --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ChatbotXIO/ChatbotX.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/minigame .claude/skills/minigame && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
minigame
GitHub stars
881
Token cost
~3.3k tokens
SKILL.md length
1,301 words
Files
1
Skills in repo
18
Repo updated
First seen
Licence
Custom licence

At a glance

Work on the Minigame tool — the Jackpot slot-machine game (and four scaffolded-but-unimplemented types: luckyWheel, gashapon, drawLots, scratchOff) that workspaces create, share a public play link…

  • Works in 9 steps: Playability is decided by ONE registry —… → Concurrency-critical code lives in… → No probability redistribution when a… → …
  • Touching minigame CRUD
  • SKILL.md covers Where things live, Data flow in one line, The traps (read before editing) and Adding gameplay for a new…, plus 2 more sections
  • Calls pnpm

What it does

Minigame is an agent skill from ChatbotXIO/ChatbotX. Work on the Minigame tool — the Jackpot slot-machine game (and four scaffolded-but-unimplemented types: luckyWheel, gashapon, drawLots, scratchOff) that workspaces create, share a public play link for, and track plays/prizes for. Use when touching minigame CRUD, the type picker, prize/draw logic, the public play page or play token, the jackpot preview UI, or extending gameplay to a new minigame type. Read this BEFORE editing anything under features/minigames, business/src/minigame, or minigame-play-token to avoid…

Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Project scaffolding. The repository describes itself as: Open-source ManyChat alternative, built for AI. Omnichannel marketing across WhatsApp, TikTok, Facebook, Instagram, Telegram, Zalo, Email, API, and Webchat 🤖.

When your agent uses it

  • Touching minigame CRUD
  • The type picker
  • Prize/draw logic
  • The public play page

Example prompts

  • “only jackpot works”
  • “/minigame”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Playability is decided by ONE registry — keep it that way. All five types (jackpot, luckyWheel, gashapon, drawLots, scratchOff) are…
  2. Concurrency-critical code lives in minigame-contact-service.ts — read reliability-concurrency skill before touching it. drawPrize…
  3. No probability redistribution when a prize sells out. drawPrize filters out prizes with quantity <= 0 before drawing, but does not rescale…
  4. MinigamePrizeSettings must sum to exactly 100%. isMinigameProbabilityTotalValid (in the partials file) does integer-cents rounding…
  5. MinigamePlay.prizeName is a denormalized snapshot, not a live join. prizeId is a plain text column, not an FK — prizes live in…
  6. minigameService.update's quantity reconciliation only protects the same prize id across the load-then-save window (compares submitted…
  7. The referral flow has ONE consistent lock order: player row → Minigame row. Do not fold the referral grant into the transaction that…
  8. {{minigame_play_token}} is minted at message/broadcast-send time, not at click time, with a 24h TTL (DEFAULT_TOKEN_TTL_MS in…
  9. minigameService.findUnscoped(id) is the only workspace-unscoped lookup on the service — it exists because /minigames is a public route…

What it can do on your machine

Read from SKILL.md and the folder at commit 81b971a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Minigame loads about 3.3k tokens when it runs. Until then it costs about 143 tokens; SKILL.md has 1,301 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~143
When it runs · the whole SKILL.md, loaded when a task matches
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,301 words (~3,307 tokens).

“minigame-preview-registry.tsx:35, falling back to GenericMinigamePreview; per-type previews exist for jackpot, luckyWheel, gashapon, drawLots, scratchOff) |”

— opening of SKILL.md by ChatbotXIO, Custom licence
name
minigame

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/minigame of ChatbotXIO/ChatbotX.

Open the folder on GitHubat commit 81b971a

Compare with similar skills

Minigame next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Minigame compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Minigame this skillChatbotXIO/ChatbotX881—~3.3kAutomated safety check: PassCustom licence
Nx Generatenomcopter/react-mosaic4.8k7 repos~1.9kAutomated safety check: PassCustom licence
PonytailDavidObando/gsharp5648 repos~1.7kAutomated safety check: PassMIT
Run Nx Generatornrwl/nx29k2 repos~592Automated safety check: NotesMIT
Conductor Setupgemini-cli-extensions/conductor3.8k—~4.2kAutomated safety check: PassApache-2.0
Mirage VFS Adapter Authoringstrukto-ai/mirage3.7k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Nx Generate

    nomcopter/react-mosaic

    Generate code using nx generators. An agent skill from nomcopter/react-mosaic.

    4.8k GitHub starsUsed in 7 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    564 GitHub starsUsed in 8 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Run Nx generators with prioritization for workspace-plugin generators.

    29k GitHub starsUsed in 2 repos~592 tokens
    DevelopmentAuto-check: notes
  • Conductor Setup

    gemini-cli-extensions/conductor

    Scaffolds the project and sets up the Conductor environment.

    3.8k GitHub stars~4.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Builds or extends a custom Mirage virtual filesystem adapter for an API, database, object store or app data, with a working mount configuration and filesystem tests.

    3.7k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Enforces this repository's TypeScript backend module architecture under server/: feature folders, barrel exports, and where shared types and utilities belong.

    14k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from ChatbotXIO/ChatbotX

All 18 skills in this repo
  • Builder UI I18n

    ChatbotXIO/ChatbotX

    Build or modify ChatbotX builder UI components, forms, tables, dialogs, shared UI usage, and translations.

    881 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Business Data Access

    ChatbotXIO/ChatbotX

    Implement or modify ChatbotX business services, repositories, cache invalidation, event emission, and data-access boundaries.

    881 GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Chatbotx Basecode

    ChatbotXIO/ChatbotX

    Understand and audit the ChatbotX base code before making changes.

    881 GitHub stars~867 tokensUpdated today
    Auto-check passed
  • Contact Filter

    ChatbotXIO/ChatbotX

    Work with the ChatbotX contact filter system — the shared filter model behind the contacts list, conversations, and broadcast audiences.

    881 GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Drizzle Database

    ChatbotXIO/ChatbotX

    Work with Drizzle ORM database schema, migrations, relations, and queries in PostgreSQL.

    881 GitHub stars~2.1k tokensUpdated today
    Auto-check passed
  • Flow Step Development

    ChatbotXIO/ChatbotX

    Add new flow steps with state-based routing (success/error/skip).

    881 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Categories

Questions about Minigame

What does Minigame do?

Work on the Minigame tool — the Jackpot slot-machine game (and four scaffolded-but-unimplemented types: luckyWheel, gashapon, drawLots, scratchOff) that workspaces create, share a public play link…. Minigame is an agent skill from ChatbotXIO/ChatbotX. Work on the Minigame tool — the Jackpot slot-machine game (and four scaffolded-but-unimplemented types: luckyWheel, gashapon, drawLots, scratchOff) that workspaces create, share a public play link for, and track plays/prizes for.

When should I use Minigame?

Minigame fits situations like: touching minigame CRUD; the type picker; prize/draw logic; the public play page.

How do I install Minigame in Claude Code?

Run `npx skills add ChatbotXIO/ChatbotX --skill minigame -a claude-code`. Or copy the skill folder (.agents/skills/minigame in ChatbotXIO/ChatbotX) into .claude/skills/minigame in your project. Claude Code loads it when a task matches its description.

How do I install Minigame in Codex?

Run `npx skills add ChatbotXIO/ChatbotX --skill minigame -a codex`. Or copy the skill folder (.agents/skills/minigame in ChatbotXIO/ChatbotX) into .agents/skills/minigame in your project. Codex loads it when a task matches its description.

Can I use Minigame in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ChatbotXIO/ChatbotX --skill minigame -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/minigame, .gemini/skills/minigame, .github/skills/minigame and .opencode/skills/minigame in your project.

What does Minigame need to run?

Going by SKILL.md and its folder, Minigame needs the command-line tools its instructions call (pnpm).

Does Minigame access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Minigame safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Minigame use?

Minigame has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Minigame use?

About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Minigame?

Skills that share tags, products or a category with Minigame: Nx Generate (nomcopter/react-mosaic, 4.8k stars), Ponytail (DavidObando/gsharp, 564 stars), Run Nx Generator (nrwl/nx, 29k stars) and Conductor Setup (gemini-cli-extensions/conductor, 3.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Minigame?

ChatbotXIO (a GitHub organization) maintains it in ChatbotXIO/ChatbotX, which has 881 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 9, 2026.

Source: ChatbotXIO/ChatbotX on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.