bamboobuddy

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

A project-specific skill for BambooBuddy, a Vue and Phaser browser game that teaches children daily habits. It describes the game's package structure, task data, saves, and automated tests.

In plain words
What is it for?
For extending the game's habit tasks, Vue shell, Phaser gameplay, JSON validation, local saves, and Vitest or Playwright tests.
Why use it?
It gives an agent the project's architecture and rules so changes fit the existing game and its checks. A monorepo is a repository containing several related packages; this project uses a pnpm workspace in that style.

Skill for Claude CodeCodex

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

Good fit For extending the game's habit tasks, Vue shell, Phaser gameplay, JSON validation, local saves, and Vitest or Playwright tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/znlgis/opengis-skills/bamboobuddy
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 bamboobuddy
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 bamboobuddy

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/znlgis/opengis-skills/bamboobuddy"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/bamboobuddy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,253 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.00118 $0.06253
Opus 5.5 $0.00047 $0.02501
Sonnet 5.5 $0.00024 $0.01251
Haiku 4.5 $0.00012 $0.00625

Measured yesterday against content hash a0d24ee0b8e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bamboobuddy 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 yesterday.

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/bamboobuddy/SKILL.md · 377 lines

How it starts

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

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

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

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

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

版本: v0.0.2(GitHub Release,2026-10-20;仓库根 package.json 的 version 为 0.1.0)

许可证: MIT

概述

BambooBuddy(《熊猫宝宝的一天》,副标题 A Panda's Day)是面向 4–8 岁儿童的习惯养成 H5 游戏:孩子照顾一只叫「竹竹」的大熊猫,在刷牙、洗手、吃饭、穿衣、洗澡、睡觉、整理、运动、情绪、学习这十件小事里一件件帮它做好。产品指标只有一句「孩子今天愿意把某个好习惯真的做一遍」,由此定下所有技术取舍——没有失败、没有倒计时、没有体力、没有广告、没有账号,进度只存在本机。

架构是「Phaser 管游戏 + Vue 管外壳」的双栈,pnpm workspace 分成三层:apps/*(壳)、packages/*(库)、games/*(玩法包)。核心能力:

  • 契约隔离:packages/game-kit 只放类型(GameModule / GameContext / 事件表 / 存档形状),游戏包与外壳互不认识
  • 内容驱动:一条任务 = 一份 JSON(摘要 + 详情),由 zod 在构建期与 content:check 双重校验,换任务不改代码
  • 模板复用:8 个交互模板撑 10 个任务,差异化全部落在关卡数据上
  • 零美术资源:所有角色、房间、食物由代码绘制,12 个音效由 WebAudio 合成
  • 可测:逻辑层不 import Phaser,单测(Vitest)全在 Node 环境跑;真实的按住/拖拽/连点交给 Playwright
  • 多端:同一份 apps/site/dist 喂 Web 静态站、Tauri 2 桌面壳与 Capacitor 8 安卓壳

环境准备

前置条件

依赖 版本 何时需要
Node.js 24 必需(Vite 8 与 Playwright 1.64 要求 20+,仓库以 24 为基线)
pnpm 11.22.0 必需,版本由 packageManager 字段锁定
Chromium Playwright 自带 仅跑 pnpm e2e 时需要
Rust 工具链 — 仅 pnpm dist:win(Tauri 2)
JDK + Android SDK — 仅 pnpm dist:apk(Capacitor 8);pack:check 不装也能跑

安装(两种方式)

# 方式一:Corepack(读 packageManager 字段,自动选到 11.22.0)
corepack enable
corepack prepare [email protected] --activate

# 方式二:全局安装指定版本
npm install -g [email protected]
git clone https://github.com/znlgis/BambooBuddy.git
cd BambooBuddy
pnpm install          # 本地开发:允许更新 lockfile
# pnpm install --frozen-lockfile   # CI/发布:lockfile 与 package.json 不一致直接失败

验证

node -v      # v24.x
pnpm -v      # 11.22.0
pnpm typecheck && pnpm test
pnpm dev     # http://127.0.0.1:5190(strictPort,端口被占用会直接退出)

打开 http://127.0.0.1:5190 能看到小屋(米白底色、程序化绘制的竹竹、五条状态条、底部三个大入口)即环境就绪。

Read the full file on GitHub · 377 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. yesterday First seen · 377 lines · 118 tokens per session scan A a0d24ee0b8e5

Subscribe to this mod's changes

bamboobuddy is a skill published in the GitHub repository znlgis/opengis-skills (75 stars, last pushed 2d ago), licensed MIT. It adds 118 tokens to every session and 6,253 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-28.

Related

Other skills, from other repositories

slidev

Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.

slidevjs/slidev · 51 tokens

nuxt-docs

Nuxt 4.x — full-stack Vue.js framework. File-based routing, auto-imports, SSR, Nitro, layers, modules.

pledgeandgrow/pledge-skills · 33 tokens

events-system

Use this skill when working with the Phaser 4 event system. Covers EventEmitter, scene events, game events, custom events, and event-driven communication. Triggers on: events, on, emit, EventEmitter, scene events, listeners.

phaserjs/phaser · 52 tokens

game-object-components

Use this skill when working with Phaser 4 game object components and the mixin system. Covers Transform, Alpha, Tint, Origin, Depth, Flip, Mask, GetBounds, Lighting, and other shared component behaviors. Triggers on: component, mixin, transform, mask, bounds, lighting.

phaserjs/phaser · 65 tokens

geometry-and-math

Use this skill when using Phaser 4 math and geometry utilities. Covers vectors, rectangles, circles, triangles, polygons, random number generation, angles, distance, interpolation, and snapping. Triggers on: Vector2, Rectangle, Circle, math, distance, angle, random, lerp.

phaserjs/phaser · 64 tokens

particles

Use this skill when creating particle effects in Phaser 4. Covers ParticleEmitter, emission zones, death zones, particle properties, textures, gravity wells, and particle movement. Triggers on: particles, emitter, particle effect, explosion, fire, smoke.

phaserjs/phaser · 53 tokens