math-adventure

math-adventure is a skill for Claude Code, Codex from sumo1/AI-GAME-COOL. It costs 39 tokens per session (479 once invoked), scanned A, original, Apache-2.0.

A recipe for interactive addition and subtraction games for children aged 4 to 8, including scores and progress feedback. It uses randomly generated questions and can adjust the number range as the child improves.

In plain words
What is it for?
Use it to create and check child-friendly maths games with configurable operations, number ranges, difficulty progression, visual themes, question counts, time limits, answer feedback, and encouraging endings.
Why use it?
It helps avoid incorrect arithmetic, broken score updates, fixed question lists, and difficulty that fails to increase with progress.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create and check child-friendly maths games with configurable operations, number ranges, difficulty progression, visual themes, question counts, time limits, answer feedback, and encouraging endings.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sumo1/ai-game-cool/math-adventure
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sumo1/AI-GAME-COOL --skill math-adventure
Clone the repo
git clone --depth 1 https://github.com/sumo1/AI-GAME-COOL

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for math-adventure

README.md
[![agentmods](https://agentmods.dev/badge/skills/sumo1/ai-game-cool/math-adventure/github.svg)](https://agentmods.dev/skills/sumo1/ai-game-cool/math-adventure)
Your own site
<a href="https://agentmods.dev/skills/sumo1/ai-game-cool/math-adventure"><img src="https://agentmods.dev/badge/skills/sumo1/ai-game-cool/math-adventure/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for math-adventure

Your own site · 80×15
<a href="https://agentmods.dev/skills/sumo1/ai-game-cool/math-adventure"><img src="https://agentmods.dev/badge/skills/sumo1/ai-game-cool/math-adventure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00479
Opus 5 $0.00019 $0.00239
Sonnet 5 $0.00008 $0.00096
Haiku 4.5 $0.00004 $0.00048

Measured 9d ago against content hash 85b544938663, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

math-adventure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

game-agent-backend/src/main/resources/skills/math-adventure/SKILL.md · 45 lines

What it actually says

数学冒险

10 以内加减法互动游戏,包含计分系统和进度反馈。

何时使用

用户提到数学、加法、减法、算术、计算、口算等关键词时激活此 Skill。

生成步骤

  1. 根据年龄段确定数值范围(4-6 岁: 1-10, 6-8 岁: 1-20)
  2. 参考 assets/template.html 的 HTML 结构和交互模式
  3. 根据用户需求调整:
    • 数学运算类型(加/减/乘/除)
    • 难度递进方式(固定/渐进/随机)
    • 视觉主题(可更换颜色方案和装饰元素)
    • 题目数量和时间限制
  4. 调用 generateGame 生成完整 HTML
  5. 调用 evaluateGame 检查质量

评估重点

  • 每道题的答案必须算术正确
  • 答对/答错必须有明确的视觉和文字反馈
  • 必须有计分系统且分数正确累计
  • 题目必须随机生成(非固定题库)
  • 难度应随答对次数递进
  • 游戏区域内所有元素在可见范围内
  • 必须有鼓励性的结束语

常见问题

  • 答案计算错误 → 检查 JS 算术逻辑,确保使用 parseInt() 而非字符串拼接,验证运算符与期望结果一致
  • 难度不递进 → 检查题目生成函数,确保数值范围随答对次数递增
  • 计分不更新 → 确保 score 变量在答题正确时递增,且 DOM 中显示分数的元素实时更新
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 45 lines · 39 tokens per session scan A 85b544938663

Subscribe to this mod's changes

math-adventure is a skill published in the GitHub repository sumo1/AI-GAME-COOL (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 479 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

gentleman-trainer

Vim Trainer RPG system patterns for Gentleman.Dots. Trigger: When editing files in installer/internal/tui/trainer/, adding exercises, modules, or game mechanics.

Gentleman-Programming/Gentleman.Dots · 39 tokens

game-builder

Convert any topic into playable browser games. Types: trivia, matching, word puzzles, adventure games. Uses Phaser.js or Kaboom.js.

OneWave-AI/claude-skills · 31 tokens

teach-me

Teach the user end-to-end browser game development over multiple sessions — design, engine, art, audio, juice, multiplayer, shipping — by building real games together. Use when the user wants to LEARN to make games themselves: 'teach me game development', 'I want to learn to make games', 'teach me Phaser', 'how do…

kyh/vibedgames · 98 tokens

hr-game-development

Help HR and recruiting teams hire and assess game development candidates across engineering, design, and art disciplines. Use when asked to write a game developer job description, create a gameplay engineer interview, assess a game designers portfolio, build a game studio leveling framework, or similar…

tuanductran/hr-skills · 61 tokens

tutorial-workflow

A workflow for designing, reviewing, and testing tutorials and new-player onboarding for a game. It checks whether the tutorial teaches the game’s goals, turns, and cause-and-effect actions rather than merely listing buttons or reading like a rulebook.

zhuanggenhua/BoardGame · 39 tokens

godot-genre-educational

Expert blueprint for educational games including gamification loops (learn/apply/feedback/adapt), progress tracking (student profiles, mastery %), adaptive difficulty (target 70% success rate), spaced repetition, curriculum trees (prerequisite system), and visual feedback (confetti, XP bars). Use for learning apps…

thedivergentai/GD-Agentic-Skills · 105 tokens