Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/majidmanzarpour/vibe-coding-starter-pack-3d-multiplayernpx agentmods add rules/majidmanzarpour/vibe-coding-starter-pack-3d-multiplayer/techguideWrote 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/rules/majidmanzarpour/vibe-coding-starter-pack-3d-multiplayer/techguide)<a href="https://agentmods.dev/rules/majidmanzarpour/vibe-coding-starter-pack-3d-multiplayer/techguide"><img src="https://agentmods.dev/badge/rules/majidmanzarpour/vibe-coding-starter-pack-3d-multiplayer/techguide/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/rules/majidmanzarpour/vibe-coding-starter-pack-3d-multiplayer/techguide"><img src="https://agentmods.dev/badge/rules/majidmanzarpour/vibe-coding-starter-pack-3d-multiplayer/techguide.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.04520 | $0.04520 |
| Opus 5.5 | $0.01808 | $0.01808 |
| Sonnet 5.5 | $0.00904 | $0.00904 |
| Haiku 4.5 | $0.00452 | $0.00452 |
Grade C, and why
techguide scanned grade C with 2 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 1mo 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
* Install: `curl https://sh.rustup.rs -sSf | sh` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
* Install: `curl https://sh.rustup.rs -sSf | sh` Copies of this mod
1 near-identical copy found in the catalogue:
- techguide — 100% identical, 8 lines differ
How it starts
The opening of the file, as written. The whole thing — 302 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vibe Coding Starter Pack: 3D Multiplayer - Technical Guide
This document describes the architecture, setup, workflow, and key development patterns for the Vibe Coding Starter Pack 3D Multiplayer project. SpacetimeDB v2.0.1 is used throughout.
1. Project Overview
- Goal: Provide a foundation for building 3D multiplayer web games using SpacetimeDB as the backend.
- Backend: SpacetimeDB module written in Rust (
server/). Handles game logic, state management, and data persistence. Compiled to WASM. - Frontend: Client application built with Vite, React 19, TypeScript, and React Three Fiber (
client/). Connects to SpacetimeDB via WebSocket, subscribes to data, calls reducers, and renders the game state.
2. Game Architecture
The starter pack uses a modular, component-based architecture with the following core systems:
- Core Game Loop: Managed in
client/src/App.tsx, which initializes all components and runs the input send cycle at 20Hz - Rendering System: Handled by Three.js via React Three Fiber with scene setup in
client/src/components/GameScene.tsx - Character System: Player controls, FBX model loading, animations, and client-side prediction in
client/src/components/Player.tsx - UI System: HUD elements and feedback in
client/src/components/PlayerUI.tsxandclient/src/components/DebugPanel.tsx - Multiplayer System: Client-server communication in
client/src/App.tsxand server-side code inserver/src/directory - Load Testing: Bot simulation in
client/src/simulation.tsfor stress-testing with configurable bot count
3. Core SpacetimeDB v2 Concepts
- Tables: Relational data storage defined as Rust structs with
#[spacetimedb::table]. Key tables includeplayerandlogged_out_player. Tables must be markedpublicfor client access. Thename = "..."attribute defines the SQL table name; theaccessor = "..."attribute defines the Rust accessor name used inctx.db. Table names in client SQL subscriptions are case-sensitive (e.g.,name = "player"requiresSELECT * FROM player). - Reducers: Atomic, transactional Rust functions (
#[spacetimedb::reducer]) that modify table state. Triggered by client calls or internal events. Key reducers:register_player,update_player_input, lifecycle reducers (identity_connected,identity_disconnected). - Subscriptions: Clients subscribe to SQL queries (e.g.,
SELECT * FROM player) usingconn.subscriptionBuilder(). IMPORTANT: Register.onApplied()and.onError()callbacks before calling.subscribe()— in v2, backfill data fires immediately on subscribe. - Generated Bindings: The
spacetime generatecommand creates TypeScript code (client/src/generated/) based on the Rust module's schema, providing type-safe access to tables, reducers, and types on the client. Types are ingenerated/types.ts. - Identity: Represents a unique, authenticated user. In v2 reducers:
ctx.sender()(method call with parentheses). On client:conn.identity. Used as the primary key for player-related tables.
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.
- 1mo ago First seen · 302 lines · 4,520 tokens per session scan C ef641ff30f68
techguide is a cursor rule published in the GitHub repository majidmanzarpour/vibe-coding-starter-pack-3d-multiplayer (322 stars, last pushed 8mo ago), licensed MIT. It adds 4,520 tokens to every session, about $0.0181 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other cursor rules, from other repositories
.playcanvas-react
Rules for creating 3D React content.
002-components
React Three Fiber Component Rules.
webgpu-r3f-tsl
Entry point for React Three Fiber + WebGPU + TSL guidance. Covers Canvas/renderer setup, node materials in JSX, node-graph memoization, and TSL syntax fundamentals. Auto-attaches on JS/TS/JSX/TSX files in projects using three/webgpu with R3F.
compute-shaders
GPU compute shaders in React Three Fiber + WebGPU using TSL. Covers instanced array buffers, parallel simulation, particle systems, atomic operations, workgroup barriers, and dispatching from useEffect/useFrame. Use when writing compute passes, particle systems, or GPU-side simulations in R3F.
wgsl-integration
Mixing custom WGSL code into TSL shaders in React Three Fiber via wgslFn(). Use when integrating raw WGSL functions, porting existing WGSL, or optimizing hot paths that need hand-written shader code.
tanstack-react-router_routing
TanStack Router: Routing.