initialize-game-repo

initialize-game-repo is a skill for Claude Code, Codex from Shellishack/3d-web-game-dev-skills. It costs 26 tokens per session (1,283 once invoked), scanned A, original, MIT.

A starter setup for a 3D game project that runs in a web browser and can also launch as an Electron desktop app. It uses React, Vite, and Babylon.js.

In plain words
What is it for?
Use it to bootstrap a React-based Babylon.js prototype with a full-window 3D scene and Electron desktop support.
Why use it?
It gives a new game repository an agreed project layout, dependencies, and separate browser and desktop commands.

Skill for Claude CodeCodex

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

Good fit Use it to bootstrap a React-based Babylon.js prototype with a full-window 3D scene and Electron desktop support.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shellishack/3d-web-game-dev-skills/initialize-game-repo
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 Shellishack/3d-web-game-dev-skills --skill initialize-game-repo
Clone the repo
git clone --depth 1 https://github.com/Shellishack/3d-web-game-dev-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 initialize-game-repo

README.md
[![agentmods](https://agentmods.dev/badge/skills/shellishack/3d-web-game-dev-skills/initialize-game-repo/github.svg)](https://agentmods.dev/skills/shellishack/3d-web-game-dev-skills/initialize-game-repo)
Your own site
<a href="https://agentmods.dev/skills/shellishack/3d-web-game-dev-skills/initialize-game-repo"><img src="https://agentmods.dev/badge/skills/shellishack/3d-web-game-dev-skills/initialize-game-repo/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 initialize-game-repo

Your own site · 80×15
<a href="https://agentmods.dev/skills/shellishack/3d-web-game-dev-skills/initialize-game-repo"><img src="https://agentmods.dev/badge/skills/shellishack/3d-web-game-dev-skills/initialize-game-repo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,283 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.00026 $0.01283
Opus 5 $0.00013 $0.00642
Sonnet 5 $0.00005 $0.00257
Haiku 4.5 $0.00003 $0.00128

Measured 8d ago against content hash 42157b5931ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

initialize-game-repo 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 8d 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.

initialize-game-repo/SKILL.md · 208 lines

How it starts

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

Initialize Game Repo

Use this skill when a user wants to bootstrap a 3D web game or prototype repository that runs in the browser and can also launch as an Electron desktop app.

Goals

Create a small, working starter project with:

  • React latest with Vite.
  • Babylon.js packages for 3D scene work.
  • A simple full-window Babylon scene to edit from.
  • Source files under app/, not src/.
  • Electron files under electron/.
  • Kebab-case naming for .ts and .tsx files.
  • Web scripts named *:web.
  • Desktop scripts named *:desktop.

If the target folder is empty, scaffold Vite React in place:

npm create vite@latest . -- --template react

If the scaffold does not apply the React template cleanly, convert the generated project manually:

  • Use index.html with <div id="root"></div>.
  • Point the module script to /app/main.tsx.
  • Add vite.config.ts with the React plugin.
  • Set jsx: "react-jsx" in tsconfig.json.
  • Include app in tsconfig.json.

Install runtime dependencies:

npm install react@latest react-dom@latest babylonjs@latest react-babylonjs@latest @babylonjs/core@latest @babylonjs/loaders@latest

Install dev dependencies:

npm install -D @vitejs/plugin-react@latest @types/react@latest @types/react-dom@latest electron@latest concurrently@latest wait-on@latest

File Layout

Use this shape:

app/
  app.tsx
  babylon-scene.tsx
  main.tsx
  styles.css
electron/
  main.cjs
  preload.cjs
index.html
package.json
tsconfig.json
vite.config.ts

Keep all project-owned .ts and .tsx file names in kebab-case. main.tsx is already compliant.

Vite Configuration

Use base: './' so production assets load correctly from Electron's file:// path:

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  base: './',
  plugins: [react()],
})

Package Scripts

Use explicit web and desktop script names:

Read the full file on GitHub · 208 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. 8d ago First seen · 208 lines · 26 tokens per session scan A 42157b5931ed

Subscribe to this mod's changes

initialize-game-repo is a skill published in the GitHub repository Shellishack/3d-web-game-dev-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 1,283 once invoked, about $0.0001 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

cesiumjs-models-particles

CesiumJS models, glTF, and particle effects - Model, KHRmeshoptcompression, CAD glTF extensions, EdgeDisplayMode, ModelAnimation, ModelNode, ParticleSystem, emitters, GPM extensions. Use when loading compressed or CAD-style glTF/GLB models, controlling edge rendering, playing model animations, positioning particles…

CesiumGS/cesiumjs-skills · 87 tokens

cesiumjs-materials-shaders

CesiumJS materials and post-processing — Material, Fabric JSON, MaterialAppearance, ImageBasedLighting, PostProcessStage, PostProcessStageLibrary, bloom, depth of field, ambient occlusion, FXAA, tonemapping, BlendingState. Use when defining Fabric materials for entities or primitives, configuring PBR image-based…

CesiumGS/cesiumjs-skills · 83 tokens

threejs-docs

Comprehensive Three.js reference covering core API (objects, cameras, lights, materials, geometries, renderers, scenes, textures, math, animation, audio, loaders, helpers, nodes), all addons (controls, postprocessing, loaders, exporters, geometries, shaders, WebXR, physics), TSL (Three.js Shading Language) functions…

pledgeandgrow/pledge-skills · 112 tokens

threejs-water-optics

Solve bounded and coastal water in Three.js WebGPU/TSL. Use for parametric waves, local heightfields, bathymetric wave transport, wet/dry shallow water, two-way body coupling, external free-surface presentation, or water optics and offshore handoffs.

linegel/threejs-complete-set-of-skill · 61 tokens

threejs-dynamic-surface-effects

State-transition screen-space surface effects for Three.js WebGPU/TSL. Use for persistent touch, frost, or thaw history; full-field or sparse accumulation; static crystalline fields; reduced-resolution blur; or history-gated normal refraction.

linegel/threejs-complete-set-of-skill · 56 tokens

threejs-procedural-geometry

Procedural geometry compilation for Three.js WebGPU/TSL. Use when a task needs an indexed mesh writer, contour-derived terrain or terraces, profile or branch sweeps, or a BatchedMesh, InstancedMesh, or dynamic-update decision.

linegel/threejs-complete-set-of-skill · 58 tokens