world-of-claudecraft: Instructions file for Gemini CLI

GEMINI.md

world-of-claudecraft GEMINI.md is an instructions file for Gemini CLI from levy-street/world-of-claudecraft. It costs 777 tokens per session, scanned B, original, MIT.

Project instructions for using Gemini in a game project, with the main rules kept in CLAUDE.md files. They cover code structure, deterministic simulation, graphics, translations, accessibility, secrets, tests, branches, and release checks.

In plain words
What is it for?
Use them when developing the project with Gemini, especially for simulation or server changes, release-based work, commits, pull requests, and final quality checks.
Why use it?
They give the coding agent the project’s rules and workflow in one place, reducing inconsistent changes and missed checks.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

This is levy-street/world-of-claudecraft's own configuration. It tells Gemini CLI how to work on world-of-claudecraft itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything world-of-claudecraft configures →

About the project

World of ClaudeCraft is a browser-based classic-style multiplayer online game with a persistent shared world that can also run locally or be controlled through a Python reinforcement-learning interface. Players can quest and raid in the online world, while developers can host it themselves and train AI agents to play. The catalogue skills, agents, instructions, hooks, and setting support workflows for interacting with and developing the game.

levy-street/world-of-claudecraft · 2,251 stars · on GitHub · worldofclaudecraft.com

Reuse

Borrowing it

Nothing to install: this file belongs to levy-street/world-of-claudecraft. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/levy-street/world-of-claudecraft/main/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/levy-street/world-of-claudecraft

Made for: Gemini CLI.

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 world-of-claudecraft GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/levy-street/world-of-claudecraft/gemini-md/github.svg)](https://agentmods.dev/instructions/levy-street/world-of-claudecraft/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/levy-street/world-of-claudecraft/gemini-md"><img src="https://agentmods.dev/badge/instructions/levy-street/world-of-claudecraft/gemini-md/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 world-of-claudecraft GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/levy-street/world-of-claudecraft/gemini-md"><img src="https://agentmods.dev/badge/instructions/levy-street/world-of-claudecraft/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 777 This file is loaded in full into every session.
When invoked 777 The same file — it is already loaded in full.
Security scan B 1 finding. 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.00777 $0.00777
Opus 5 $0.00388 $0.00388
Sonnet 5 $0.00155 $0.00155
Haiku 4.5 $0.00078 $0.00078

Measured 13d ago against content hash 0223d15bbe4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

world-of-claudecraft GEMINI.md scanned grade B with 1 finding 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 13d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Configs live in `~/.gemini/config/mcp_config.json` and `~/.gemini/settings.json`.
GEMINI.md · 44 lines

How it starts

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

Gemini Developer Guide: World of ClaudeCraft

The root CLAUDE.md and the per-directory CLAUDE.md files are the canonical source of truth. This project is driven primarily through Claude Code; read the root CLAUDE.md in full and the local CLAUDE.md when you open files in a directory. They own the architecture, the hard invariants (sim purity and determinism, graphics fairness, i18n, secrets, the no-em-dash and no-emoji rule), the module-first doctrine, the commands, the UI / a11y / i18n rules, the git conventions (Conventional Commits WITH a scope, and every commit carries a body), and the default task workflow: base the work on the latest release/** branch rather than main, use a separate worktree, add tests with every src/sim/ or server/ change, and deliver a mergeable PR gated locally with node scripts/gate_select.mjs (the pre-merge bar; npm run gate is the deeper full suite). Before calling an implementation complete, run the QA gate described in docs/qa-gate.md. When this guide and CLAUDE.md disagree, CLAUDE.md wins. Do not keep a second copy of those rules here; this file holds only the Gemini-session notes that have no home in CLAUDE.md.

GEMINI.md is tracked (committed); do not add it to .gitignore.

Model capabilities and optimization

  • Thinking level. Raise it for complex logic (simulation consistency, pathfinding, WS sync, DB schemas, multi-step algorithms); lower it for lightweight edits (docs, simple UI alignment) to save latency and cost. Reason through edge cases and blast radius before writing code, and red-team your own diff before declaring it done.
  • Context-cache discipline (large input discount). Keep imports stable and grouped at the top of files; avoid gratuitous edits to the large coordinators (src/sim/sim.ts, src/ui/hud.ts, src/main.ts, src/render/renderer.ts, this guide), since any prefix or import change invalidates the cache and raises latency and cost. Keep static reference material early in the prompt.
  • Agentic loop. Spawn a research subagent for long-horizon research or verbose E2E runs to keep the main context clean. Use the native schedule tool for delayed or recurring checks instead of terminal sleep. Gemini at high reasoning tends toward flowery narration, so keep comments and explanations concise and functional.

Read the full file on GitHub · 44 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. 13d ago First seen · 44 lines · 777 tokens per session scan B 0223d15bbe4a

Subscribe to this mod's changes

world-of-claudecraft GEMINI.md is an instructions file published in the GitHub repository levy-street/world-of-claudecraft (2,251 stars, last pushed yesterday), licensed MIT. It adds 777 tokens to every session, about $0.0039 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,126 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens