rs-sdk CLAUDE.md

rs-sdk CLAUDE.md is an instructions file for coding agents from MaxBittker/rs-sdk. It costs 3,413 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

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/maxbittker/rs-sdk/claude-md
Clone the repo
git clone --depth 1 https://github.com/MaxBittker/rs-sdk

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,413 This file is loaded in full into every session.
When invoked 3,413 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 $0.03413 $0.03413
Opus 5 $0.01707 $0.01707
Sonnet 5 $0.00683 $0.00683
Haiku 4.5 $0.00341 $0.00341

Measured 5d ago against content hash 719b9e30f134, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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 · 344 lines

How it starts

The opening of the file, as written. The whole thing — 344 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

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

Example

// Just execute - auto-connects on first use
execute_code({
  bot_name: "mybot",
  code: `
    const state = sdk.getState();
    console.log('Position:', state.player.worldX, state.player.worldZ);

    // Chop trees for 1 minute
    const endTime = Date.now() + 60_000;
    while (Date.now() < endTime) {
      const tree = sdk.findNearbyLoc(/^tree$/i);
      if (tree) await bot.chopTree(tree);
    }

    return sdk.getInventory();
  `,
});

Read the full file on GitHub · 344 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. 5d 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 (784 stars, last pushed 2d ago), licensed MIT. It adds 3,413 tokens to every session, about $0.0171 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-30.

Related

Other instructions, from other repositories

claudemon CLAUDE.md

Instructions for zamarrowski/claudemon, covering ai agent guidelines, project shape, general guidelines, general rules and guards & defensive code.

zamarrowski/claudemon · 7,681 tokens

unity-code-style-guide AGENTS.md

Instructions for krogh-jacobsen/unity-code-style-guide, covering agents.md — unity 6 c, project setup — edit this block, never do these — they corrupt the project, deprecated in unity 6 and if you read nothing else.

krogh-jacobsen/unity-code-style-guide · 4,528 tokens

game-and-watch-retro-go-sd CLAUDE.md

Claude Code instructions for sylverb/game-and-watch-retro-go-sd, covering claude.md, what this project is, build / flash workflow, architecture and three storage tiers, one elf.

sylverb/game-and-watch-retro-go-sd · 2,946 tokens

nes-php-glfw copilot-instructions.md

Instructions for oliverearl/nes-php-glfw, covering github copilot development guidelines for nes emulator, agent document source of truth, project overview, code style & standards and documentation.

oliverearl/nes-php-glfw · 2,719 tokens

base-building-trap-defense-design-agent-skill CLAUDE.md

Instructions for dungnotnull/base-building-trap-defense-design-agent-skill, covering claude.md — skill 250: base-building-trap-defense-design, skill identity, problem this skill solves, harness flow summary and sub-skills.

dungnotnull/base-building-trap-defense-design-agent-skill · 1,910 tokens

trident-mcp AGENTS.md

Instructions for mordor-forge/trident-mcp, covering agents.md, what this is, build and test, single-file verification and e2e tests.

mordor-forge/trident-mcp · 1,465 tokens