open-mmorpg: Agent for Claude Code

.claude/agents/webclient.md

webclient is an agent for Claude Code from developerz-ai/open-mmorpg. It costs 0 tokens per session (698 once invoked), scanned A, original, MIT.

A specialist coding agent for the operator web portal, the browser-based site used to manage and view an online game. It owns the Bun and SolidJS application, typed network data handling, sign-in, game views, and browser tests.

In plain words
What is it for?
Use it for the web app shell, server-rendered pages, interactive browser screens, translations, account access, armoury and auction views, world feeds, branding, and Playwright browser tests.
Why use it?
It keeps website concerns separate from the Rust game server and the player client. It also validates data received from server APIs before the interface uses it.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is developerz-ai/open-mmorpg's own configuration. It tells Claude Code how to work on open-mmorpg 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 open-mmorpg configures →

Reuse

Borrowing it

Nothing to install: this file belongs to developerz-ai/open-mmorpg. 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/developerz-ai/open-mmorpg/main/.claude/agents/webclient.md
Clone the repo
git clone --depth 1 https://github.com/developerz-ai/open-mmorpg

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 webclient

README.md
[![agentmods](https://agentmods.dev/badge/agents/developerz-ai/open-mmorpg/webclient/github.svg)](https://agentmods.dev/agents/developerz-ai/open-mmorpg/webclient)
Your own site
<a href="https://agentmods.dev/agents/developerz-ai/open-mmorpg/webclient"><img src="https://agentmods.dev/badge/agents/developerz-ai/open-mmorpg/webclient/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 webclient

Your own site · 80×15
<a href="https://agentmods.dev/agents/developerz-ai/open-mmorpg/webclient"><img src="https://agentmods.dev/badge/agents/developerz-ai/open-mmorpg/webclient.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 698 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.00000 $0.00698
Opus 5.5 $0.00000 $0.00279
Sonnet 5.5 $0.00000 $0.00140
Haiku 4.5 $0.00000 $0.00070

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

Security

Grade A, and why

webclient 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 15d 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/agents/webclient.md · 27 lines

How it starts

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

You are the Web Client specialist for Open-MMORPG. You own track 50: the brandable operator portal every server operator hosts — the standard web product, deliberately Bun + SolidJS, not a hot path.

Read before non-trivial work

  • Your track: docs/mvp/v1/50-web-client.md (PR batches W1–W10, Definition of Done).
  • Your specs: docs/specs/web-client/README.md + every subsystem (app-shell, design-system, i18n, data-layer, account-auth, armory, auction-house, world-feed, operator-brand, testing-dx); plus docs/architecture/09-operator-web.md.
  • The rules: root CLAUDE.md (apps/web conventions), docs/mvp/v1/01-workflow-and-parallelization.md, gold standards.

Own / don't own

  • Own: apps/web, packages/ui, packages/i18n, and the Zod mirror of the gateway/worldsvc contracts.
  • Don't own: the Rust server that serves those contracts (→ server — you consume gateway + worldsvc over HTTP), the Bevy game client (→ gameclient). You never touch shards or the DB directly.

Non-negotiable rules

  1. TypeScript strict, no any; Zod at every boundary — validate every network shape, then the inferred type flows into the UI. Custom typed errors, not bare throws.
  2. SRP / thin routes — one component one job, files ≤300 LOC; shared UI → packages/ui; a route parses params → calls a query → renders; data logic in TanStack Query hooks.
  3. Server state only via TanStack Query — no hand-rolled fetch caches.
  4. Dark theme ONLY — no toggle; semantic CSS-variable tokens by role (bg-bg, text-fg), defined once in :root; never raw hex.
  5. i18n from day one — every user-facing string via t(); missing keys render loud (⟦key⟧). Dates/money via Intl.
  6. Server-authoritative — the web renders projections and submits intents to gateway/worldsvc; it never holds game truth.

How you work

Ship one fat, green PR per batch (small ≤300-LOC files, tests included). Gate: bun run --filter @omm/web test (Biome + tsc + bun test + Playwright) green; land via the merge loop. Deterministic dark theme → stable visual diffs. Document each surface for operators in the same PR. Correct any request for a light-theme toggle, an un-validated boundary, or game truth held in the browser.

Read the full file on GitHub · 27 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. 15d ago First seen · 27 lines · 0 tokens per session scan A a9d70027b7e9

Subscribe to this mod's changes

webclient is an agent published in the GitHub repository developerz-ai/open-mmorpg (12 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 698 tokens. 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-02.

Related

Other agents, from other repositories

godot-engineer

Use this agent when working on a Godot 4 project: designing Node trees and scenes, choosing signals or direct calls, handling shared Resources, picking physics bodies, writing typed GDScript or C#, or testing with GUT. It writes idiomatic Godot rather than Unity patterns translated over, and flags engine gotchas…

HermeticOrmus/LibreGameDev-Claude-Code · 74 tokens

network-engineer

Use this agent when adding or debugging multiplayer: choosing rollback, lockstep, or an authoritative server, client prediction and reconciliation, lag compensation for hit detection, bandwidth budgets, NAT traversal, or Godot and Unity netcode APIs. It picks the model that fits the genre and diagnoses rubber-banding…

HermeticOrmus/LibreGameDev-Claude-Code · 67 tokens

unity-engineer

Use this agent when working on a Unity project: choosing MonoBehaviour or ECS/DOTS, picking URP or HDRP, moving from Resources to Addressables, using the Input System, structuring ScriptableObject data, or replacing GameObject.Find with explicit references. It writes idiomatic Unity 6 C# and makes the architecture…

HermeticOrmus/LibreGameDev-Claude-Code · 73 tokens

physics-engineer

Use this agent when setting up or debugging game physics: choosing CharacterBody or RigidBody, collision layers and masks, raycasts and triggers, joints, compound colliders, physics materials, or the Godot PhysicsServer3D API. It knows when to simulate and when to fake it with code.

HermeticOrmus/LibreGameDev-Claude-Code · 65 tokens

unreal-developer

Use this agent when working in Unreal Engine 5: Gameplay Framework classes, Blueprint or C++ tradeoffs, actor lifecycle, the Gameplay Ability System, Enhanced Input, replication, materials, or Lumen and Nanite. It writes C++ with the right UPROPERTY and UFUNCTION macros and picks the right Blueprint communication…

HermeticOrmus/LibreGameDev-Claude-Code · 70 tokens

level-designer

Use this agent when building or reviewing game levels: greyboxing, Godot or Unity TileMap setup, modular kit design, navigation mesh baking, zone streaming, or environmental storytelling. It keeps levels readable before they are beautiful and ties layout decisions to implementation.

HermeticOrmus/LibreGameDev-Claude-Code · 55 tokens