rs-sdk: Instructions file for Claude Code

CLAUDE.md

rs-sdk CLAUDE.md is an instructions file for Claude Code from MaxBittker/rs-sdk. It costs 3,660 tokens per session, scanned A, original, MIT.

A set of setup and working instructions for creating and running bots for RS-Agent, a project for controlling characters in an online game. It explains bot naming, server choices, generated files, and the first setup steps.

In plain words
What is it for?
Use it when creating a bot with a custom or automatically generated username, choosing a local or custom server, installing dependencies, and starting development with the project's coding tool.
Why use it?
It gives a new contributor a defined starting process instead of leaving them to discover the project structure and commands themselves.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

About the project

RS-SDK is a research-oriented toolkit for building bots that automate activities in a RuneScape-style online role-playing game, with a TypeScript library, agent documentation, bindings, and a server emulator. It gives coding agents a bot-only environment for experimenting with goal-directed programming and agent collaboration or competition.

MaxBittker/rs-sdk · 1,105 stars · on GitHub · rs-sdk-demo.fly.dev

Reuse

Borrowing it

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

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 rs-sdk CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/maxbittker/rs-sdk/claude-md/github.svg)](https://agentmods.dev/instructions/maxbittker/rs-sdk/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/maxbittker/rs-sdk/claude-md"><img src="https://agentmods.dev/badge/instructions/maxbittker/rs-sdk/claude-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 rs-sdk CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/maxbittker/rs-sdk/claude-md"><img src="https://agentmods.dev/badge/instructions/maxbittker/rs-sdk/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,660 This file is loaded in full into every session.
When invoked 3,660 The same file — it is already loaded in full.
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.03660 $0.03660
Opus 5.5 $0.01464 $0.01464
Sonnet 5.5 $0.00732 $0.00732
Haiku 4.5 $0.00366 $0.00366

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

Security

Grade A, and why

rs-sdk 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 28d 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 · 361 lines

How it starts

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

RS-Agent Bot Guide

You're here to play the mmo game through the progressive development of botting scripts, starting small then adapting to your desires and ideas. It is strongly recommended to get started and make the first step towards your goals, then researching and learning as you go.

First Time Setup

Create a new bot using the setup script:

Ask the user for a bot name (max 12 chars, alphanumeric). If they skip, use the command without a username to auto-generate a random 9-character name.

# With custom username
bun bots/create-bot.ts {username}

# Auto-generate random username
bun bots/create-bot.ts

# Use local server (sets SERVER=localhost in bot.env)
bun bots/create-bot.ts {username} --local

# Use a custom server
bun bots/create-bot.ts {username} --server=myserver.example.com

This automatically creates:

  • bots/{username}/bot.env - Credentials with auto-generated password
  • bots/{username}/lab_log.md - Session notes template
  • bots/{username}/script.ts - Ready-to-run starter script

Start a Game Client (scripts only)

Scripts (bun bots/{username}/*.ts) and bun sdk/cli.ts need a running game client; they never start one. Before running a script, start the headless lite client in the background and leave it running:

cd server/webclient && bun install && bun src/lite/runner.ts {username}

It logs Gateway connected, registering as '{username}' once it's ready. One process per bot; it exits non-zero if the game session ends. Without it, a script exits with No game client is attached. MCP execute_code doesn't need this step; it opens a browser client itself.

Quick Start

  1. Install dependencies: bun install (from project root)
  2. Open project in your AI coding tool — the MCP server will be available automatically
  3. Control your bot with suggestions.

Tools

Tool Description
execute_code(bot_name, code) Run code on a bot. Auto-connects on first use.
list_bots() List connected bots
disconnect_bot(name) Disconnect a bot

Read the full file on GitHub · 361 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. 28d ago Changed · +2 lines · +68 tokens per session 35ff804716c1
  2. 1mo ago Changed · +15 lines · +179 tokens per session 66de9b1d0e01
  3. 2mo ago First seen · 344 lines · 3,413 tokens per session scan A 719b9e30f134

Subscribe to this mod's changes

rs-sdk CLAUDE.md is an instructions file published in the GitHub repository MaxBittker/rs-sdk (1,105 stars, last pushed 2d ago), licensed MIT. It adds 3,660 tokens to every session, about $0.0146 per session on Opus 5.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-30.

Related

rs-sdk CLAUDE.md compared with instructions from other repositories

rs-sdk CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rs-sdk CLAUDE.mdMaxBittker/rs-sdkInstructions file1.1k2d agoMITA3,660Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode