cloud-minestom: Instructions file for Claude Code

CLAUDE.md

cloud-minestom CLAUDE.md is an instructions file for Claude Code from cubixgg/cloud-minestom. It costs 2,002 tokens per session, scanned A, original, MIT.

Project instructions for contributing to cloud-minestom, including its architecture rules, coding style, testing, and documentation practices. Cloud and Minestom are software components used together to handle commands in the project.

In plain words
What is it for?
Use them when changing cloud-minestom code, especially command parsing, argument handling, architecture, tests, or documentation.
Why use it?
They give coding agents the project’s non-negotiable rules and point them to the specification, roadmap, and contribution guidelines before changes are made. This helps prevent implementations that conflict with the intended command-processing design.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md.

This is cubixgg/cloud-minestom's own configuration. It tells Claude Code how to work on cloud-minestom 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 cloud-minestom configures →

Reuse

Borrowing it

Nothing to install: this file belongs to cubixgg/cloud-minestom. 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/cubixgg/cloud-minestom/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/cubixgg/cloud-minestom

Made for: Claude Code.

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 cloud-minestom CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/cubixgg/cloud-minestom/claude-md.svg)](https://agentmods.dev/instructions/cubixgg/cloud-minestom/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/cubixgg/cloud-minestom/claude-md"><img src="https://agentmods.dev/badge/instructions/cubixgg/cloud-minestom/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,002 This file is loaded in full into every session.
When invoked 2,002 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.02002 $0.02002
Opus 5 $0.01001 $0.01001
Sonnet 5 $0.00400 $0.00400
Haiku 4.5 $0.00200 $0.00200

Measured 6d ago against content hash 9fd0137fb37e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cloud-minestom CLAUDE.md 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 6d 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.

CLAUDE.md · 121 lines

How it starts

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

CLAUDE.md

Conventions for working in cloud-minestom. Read spec.md for the architecture and roadmap.md for what's next before making changes — this file is how to build it, those are what to build. CONTRIBUTING.md owns the commit/branch/PR/workflow rules; don't duplicate those here.

Architecture principles (non-negotiable)

These come straight out of spec.md's design decisions. Don't "improve" around them without updating the spec and writing an ADR — they're the reason this is a full implementation and not another greedy-string bridge.

  • Cloud is the only parser, always (spec §5.4 / ADR-0001). A syntax executor never reads Minestom's own parsed argument values into the handler — it re-joins the raw input and re-dispatches through commandExecutor().executeCommand(...). Native Minestom Argument nodes exist purely for client-side shape (coloring, tab-complete structure), never as a second opinion on what a command means. If you're tempted to read a value straight off a Minestom Argument, stop — that's the bug class this rule exists to prevent.
  • Native argument-tree mirroring is the default, not the exception. Every Cloud component gets a real Minestom node via ArgumentMapperRegistry (spec §5.2); the flattened greedy-string fallback is only for parsers with no sane native equivalent and for flag subtrees (spec §5.5). If you're adding a new parser type, add a mapper — don't let it silently fall back.
  • ExecutionCoordinator.simpleCoordinator() is the default and stays the default (spec §4.1). It's a correctness requirement (handlers touch thread-confined Minestom game state), not a performance knob. Never change the default to an async coordinator to "speed things up" — that's a footgun for every consumer who doesn't read the fine print.
  • No new module without a second real consumer on the other side of the split. cloud-annotations and cloud-minecraft-extras are already platform-agnostic upstream, which is why there's no cloud-minestom-annotations/cloud-minestom-extras (spec §3 / ADR-0003). Don't add a module because it "feels cleaner" — add it when something else besides cloud-minestom would actually depend on it.
  • The library is generic over the sender type C via SenderMapper<CommandSender, C> (spec §4). Never hardcode a specific project's player/permission model into cloud-minestom itself — the identity case (C = CommandSender) is the only sender type the library may assume.
  • The library never talks to an external system. No bundled permission backend, no bundled auth service, no network calls. Permission resolution, sender mapping and exception formatting are all pluggable through the builder (spec §6, §7) with a sane Minestom-native default; the plug points are the product, not a workaround.

Read the full file on GitHub · 121 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. 6d ago First seen · 121 lines · 2,002 tokens per session scan A 9fd0137fb37e

Subscribe to this mod's changes

cloud-minestom CLAUDE.md is an instructions file published in the GitHub repository cubixgg/cloud-minestom (5 stars, last pushed 4d ago), licensed MIT. It adds 2,002 tokens to every session, about $0.0100 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 instructions, from other repositories

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,182 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

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

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

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,104 tokens