zyphraxns

Rimworld Modding — AI skill for Claude Code

AI community

Give an AI agent a grounded RimWorld modding API reference instead of letting it guess signatures from memory.

How to install Rimworld Modding

This entry records only its repository, not the path inside it, so there is no exact command to give. Open zyphraxns/rimworld-modding and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Rimworld Modding does

Give an AI agent a grounded RimWorld modding API reference instead of letting it guess signatures from memory.

Alternatives in AI

  • Memory Forge Rs — Stop resetting satisfying AI chats — edit the memory instead 474 ★
  • Graymatter — 30 sec to give your AI agents persistent memory 460 ★
  • Awareness Local — Local-first AI agent memory — one command, works offline, no account needed 199 ★

README

rimworld-modding

[English](README.md) | [简体中文](README.zh-CN.md)

A RimWorld modding knowledge base + toolchain for AI agents. **Stops models from inventing APIs from memory.**

RimWorld modding has a specific problem: the game API has no official documentation, so a model can only guess from whatever it happens to have memorized from training data. That produces code which looks entirely plausible but does not exist — a made-up `Map.Tile.biome`, a wrong parameter order for `GrowthSeasonNow`. This project turns **the assemblies from a real RimWorld install** into a grep-exact source of API truth, so "look up the signature" becomes a single command.

[![skills.sh](https://skills.sh/b/zyphraxns/rimworld-modding)](https://skills.sh/zyphraxns/rimworld-modding)

Install

npx skills add zyphraxns/rimworld-modding

Why this is not just documentation

Documentation does not load itself. If an agent does not read it, it might as well not exist. So there are three layers:

Layer Purpose
SKILL.md Entry point. The Skill mechanism auto-loads it on task match — the only place where you can enforce a rule on the agent
guides/ + reference/ The knowledge body. Carries what scripts cannot look up: version traps, build pitfalls, performance constraints
tools/ + api/ Mechanical guarantees. Signatures are extracted from assemblies, compilation is enforced by script

Quick start

# 0. Check prerequisites (one pass, lists everything missing)
./tools/rwapi.sh doctor

# 1. Generate the API corpus (required on first run, ~30s)
./tools/rwapi.sh rebuild

# 2. Look up API signatures
./tools/rwapi.sh find GrowthSeason        # fuzzy search
./tools/rwapi.sh type Verse.Pawn             # full signature, with parameter names
./tools/rwapi.sh game-only find Mutant       # cross-check against the game assembly (ref has known defects)

# 3. Verify compilation
./tools/verify-csharp.sh --list                    # list csproj fi