mathmindforge

mathmindforge is a skill for Claude Code, Codex from znlgis/opengis-skills. It costs 111 tokens per session (6,431 once invoked), scanned A, original, MIT.

A project-specific guide for Math Mind Forge, a math-thinking quest game for ages 5–18. It documents the Vue interface, Phaser game canvas, level structure, automatic answer checking, and pnpm workspace layout.

In plain words
What is it for?
Use it when building, extending, testing, or reviewing Math Mind Forge levels, gameplay logic, content, or its Vue and Phaser applications.
Why use it?
It gives an agent the project’s rules and boundaries before changing code, such as separating game logic from rendering and loading level details only when needed.

Skill for Claude CodeCodex

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

Good fit Use it when building, extending, testing, or reviewing Math Mind Forge levels, gameplay logic, content, or its Vue and Phaser applications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/mathmindforge
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 znlgis/opengis-skills --skill mathmindforge
Clone the repo
git clone --depth 1 https://github.com/znlgis/opengis-skills

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 mathmindforge

README.md
[![agentmods](https://agentmods.dev/badge/skills/znlgis/opengis-skills/mathmindforge/github.svg)](https://agentmods.dev/skills/znlgis/opengis-skills/mathmindforge)
Your own site
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/mathmindforge"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/mathmindforge/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 mathmindforge

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/mathmindforge"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/mathmindforge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,431 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.00111 $0.06431
Opus 5.5 $0.00044 $0.02572
Sonnet 5.5 $0.00022 $0.01286
Haiku 4.5 $0.00011 $0.00643

Measured 21d ago against content hash 601f2ff6983d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mathmindforge 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 21d 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.

others/mathmindforge/SKILL.md · 348 lines

How it starts

The opening of the file, as written. The whole thing — 348 lines — stays where its author put it; the contents beside it link to each section on GitHub.

项目地址: https://github.com/znlgis/mathmindforge

在线试玩: https://znlgis.github.io/mathmindforge/

官方文档: 20 章中文教程:https://znlgis.github.io/others/MathMindForge/

包管理器: pnpm 11.22.0(根 package.json 的 packageManager 字段锁版本)+ Node.js 24(截至 2026-11)

最新版本: v1.0.0-rc.1(仓库 README 与 docs/09-发布检查清单.md 标注的当前状态,截至 2026-11;仓库尚无 Release tag,根 package.json 仍为 0.1.0)

许可证: MIT

概述

数思工坊(Math Mind Forge)是面向 5–18 岁的数学思维闯关场。它不是题库:每关要求玩家在画布或面板上把结构、规则、模型或论证直接摆出来,填完自动判题,答对自动进下一关,答错在关卡顶部直说错在哪。通关条件不是「猜对选项」,而是「工具产物通过校验 + 约束被满足 + 证据链完整」。

技术上它是「Phaser 管画布 + Vue 管外壳」的双栈,pnpm workspace 分三层:apps/*(壳)、packages/*(库)、games/*(玩法包)。技术栈以仓库 package.json 实测为准:Vue 3.5.44 + Pinia 4.0.3 + Vite 8.3.4 + TypeScript 5.9.3 + Phaser 4.2.1(裁剪版)+ Vitest 5.0.4 + Playwright 1.64.0。

核心特征:

  • 动作驱动:所有交互折叠成 LevelAction,由纯 LevelRuntime 处理;画布与作答面板只是两个视图,读同一份 RunSnapshot
  • 逻辑与渲染分离:判定/求解包不 import Phaser / Vue / DOM,因此 20 关的判定能在 Node 里跑,审计脚本才可能存在
  • 平台出口唯一:存储、音频、语音、文件、生命周期一律经 PlatformServices,业务代码里出现 localStorage / fetch / indexedDB 视为 bug
  • 内容驱动:一关 = 摘要 JSON(静态,进首屏)+ 详情 JSON(动态,按关切 chunk),换关卡不改代码
  • 自动判题:answerComplete 快照布尔量决定何时判题,玩家侧没有「提交」按钮;autoplay 与真实点击走同一条动作路径
  • 可测:单测在 Node 环境跑纯逻辑,真实点击与自动过关交给 Playwright

环境准备

前置条件

依赖 版本 何时需要
Node.js 24 必需;仓库没有 .nvmrc 也没有 engines,基线写在文档与 CI 里
pnpm 11.22.0 必需,由 packageManager 字段锁定,Corepack 自动校验
Chromium Playwright 1.64 自带 仅跑 pnpm e2e 时需要
Rust 工具链 — 仅 Tauri 桌面壳;仓库当前尚未创建 apps/desktop
Android SDK — 仅 Capacitor 安卓壳;仓库当前尚未创建 apps/mobile

安装与启动

git clone https://github.com/znlgis/mathmindforge.git
cd mathmindforge
pnpm install          # 按 pnpm-lock.yaml 安装;Corepack 会自动切到 11.22.0
pnpm dev              # http://127.0.0.1:5192
pnpm build            # 产物 apps/site/dist(base: './',可放任意子目录)
pnpm preview          # http://127.0.0.1:5193

apps/site/vite.config.ts 里 strictPort: true,端口被占时直接报错而不是悄悄换端口——Playwright 的 webServer 会探测 5192,端口漂移可能让它连上残留服务、测出一份过期的绿。

Read the full file on GitHub · 348 lines

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. 21d ago First seen · 348 lines · 111 tokens per session scan A 601f2ff6983d

Subscribe to this mod's changes

mathmindforge is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 111 tokens to every session and 6,431 once invoked, about $0.0004 per session on Opus 5.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-11-10.

Related

mathmindforge compared with skills from other repositories

mathmindforge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mathmindforgeznlgis/opengis-skillsSkill8720d agoMITA111Claude Code, Codex
pixi-svelte-integratoregorfedorov/Slot-Casino-Game-Developer-Skills-for-Stake-EngineSkill1039mo agononeA63Codex
playtest-reportDonchitos/Claude-Code-Game-StudiosSkill42k21d agoMITA20Claude Code
godot-signals-groupsgamedev-skills/awesome-gamedev-agent-skillsSkill13kyesterdayApache-2.0A93Claude Code
texture-workflowarjun988/blender-skillsSkill5.5k25d agoMITA41Claude Code
threejs-exposure-color-gradingscottstts/Threejs-Awesome-Graphics-Agent-SkillsSkill1.1k3d agoMITA91Codex
motionOpenDCAI/GameFactory-3ASkill1.5k7d agoApache-2.0A0Claude Code, Codex