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.
npx skills add znlgis/opengis-skills --skill chagsgit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote 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.
[](https://agentmods.dev/skills/znlgis/opengis-skills/chags)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/chags"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/chags/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.
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/chags"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/chags.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00114 | $0.07558 |
| Opus 5.5 | $0.00046 | $0.03023 |
| Sonnet 5.5 | $0.00023 | $0.01512 |
| Haiku 4.5 | $0.00011 | $0.00756 |
Grade A, and why
chags 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.
How it starts
The opening of the file, as written. The whole thing — 415 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/znlgis/CHAGS
在线试玩: https://znlgis.github.io/chags/
官方文档: https://znlgis.github.io/others/CHAGS/
包管理器: pnpm 11.22.0(
packageManager字段锁版本)+ Node.js 24版本:
v0.1.3(2026-10-28,GitHub Releases;仓库根package.json的 version 为 0.1.0,截至 2026-11 仍为最新正式 tag)许可证: MIT
概述
CHAGS(Chinese Historical Anecdotes Game Series,中国历史典故儿童游戏合集)是面向 6–12 岁儿童的开源 H5 游戏合集:「一个典故一个小游戏」,让孩子在「做」故事的过程中记住典故。当前共 53 条内容、分两组:典故组 17 条(神话 / 传说 / 信史 / 寓言)+ 三十六计组 36 条,每条一个专属动词。界面 / 内容 / 语音支持中英双语一键切换。架构是「Phaser 4.2 管游戏 + Vue 3.5 管外壳」的双栈:外壳负责典故馆 / 图鉴 / 路由,每个典故是一个独立游戏包,懒加载、纯代码绘制。无后端、无账号、无广告,进度只存本机 IndexedDB;同一份站点产物还能打成 Windows 便携 exe(约 3.3 MB)与安卓 apk。
核心特性
| 特性 | 说明 |
|---|---|
| 内容合集 | 53 条 = 典故 17 部(神话 / 传说 / 信史 / 寓言)+ 三十六计 36 计;每条一个只属于它的「动词」 |
| 分组 | packages/content/src/groups.ts 的 GROUPS:allusion(按 yearApprox 排)与 stratagem(按计策序号排),新增分组只改这张表 |
| 双栈隔离 | Phaser 绝不进外壳首屏包,只在进入游戏时按需加载 |
| 契约层 | packages/game-kit 定义 GameModule / GameContext / 事件协议,游戏与外壳互不认识 |
| 玩法模板库 | 26 个模板 id(packages/content/src/schema.ts 的 TEMPLATE_IDS):典故组 substitution / tap / place / aim / sort / trace / wait / beacon / mark / split / burrow / butcher(12 个);三十六计组 ruse / siege / borrow / stillness / window / show / twoline / read / matchup / probe / lure / chase / swap / chain(14 个) |
| 内容驱动 | 典故 = 一份 JSON(zod schema 构建期校验),换典故不改代码 |
| 记忆工程 | keyMoment 关键抉择 + misconceptions + transfer 迁移题 + 1/3/7/21/60 天复习调度 |
| 质量门禁 | pnpm verify 六连跑 + Playwright 真实鼠标操作通关 + 体积守卫 |
| 多端分发 | Web 静态站点 / Tauri 2 便携 exe / Capacitor 8 apk |
环境准备 / 快速开始
前置条件
- Node.js 24.x(Vite 8 要求现代 Node,CI 统一用 Node 24)
- pnpm 11.x(根
package.json声明"packageManager": "[email protected]") - Chromium 系浏览器(开发预览与端到端测试)
安装与启动
git clone https://github.com/znlgis/CHAGS.git
cd CHAGS
pnpm install
pnpm dev # http://127.0.0.1:5183(strictPort,端口被占用会直接报错)
验证方式
pnpm verify # typecheck → lint → test → content:check → build → size,全绿才算「完成」
pnpm e2e # 首次需 npx playwright install chromium
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.
- 21d ago Changed · +1 lines bc2fd804d6eb
- 1mo ago Changed · +10 lines 34c96c3b0bb3
- 1mo ago Changed · +10 lines 9ad776515221
- 1mo ago First seen · 394 lines · 114 tokens per session scan A 2b7a01fdc6f4
chags is a skill published in the GitHub repository znlgis/opengis-skills (87 stars, last pushed 20d ago), licensed MIT. It adds 114 tokens to every session and 7,558 once invoked, about $0.0005 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-10-15.
chags compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| chagsznlgis/opengis-skills | Skill | 87 | 20d ago | MIT | A | 114 | Claude Code, Codex |
| portable-text-serializationvercel/eve | Skill | 6.1k | today | Apache-2.0 | A | 80 | Claude Code, Codex |
| estella-3d-gameplayesengine/estella | Skill | 1.3k | today | Apache-2.0 | A | 85 | Claude Code, Codex |
| estella-screen-uiesengine/estella | Skill | 1.3k | today | Apache-2.0 | A | 52 | Claude Code, Codex |
| estella-animationesengine/estella | Skill | 1.3k | today | Apache-2.0 | A | 90 | Claude Code, Codex |
| estella-workflowesengine/estella | Skill | 1.3k | today | Apache-2.0 | A | 58 | Claude Code, Codex |
| cyrene-exam-paperPlaya-0v0/Cyrene-Agent | Skill | 811 | 10d ago | MIT | A | 64 | Claude Code, Codex |