/fs25-modding:fs25-modding-debugfrom fs25-modding
Debugs FS25 mods by reading log.txt errors, troubleshooting crashes, fixing common mod issues, and using in-game console commands.
Ships in fs25-modding. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Systematic approach to debugging FS25 mods — reading logs, common errors, console commands, and troubleshooting techniques.
| Platform | Path |
|---|---|
| Windows | %USERPROFILE%\Documents\My Games\FarmingSimulator2025\log.txt |
| macOS | ~/Library/Application Support/FarmingSimulator2025/log.txt |
The log is overwritten each game launch. Save it before restarting if you need to preserve it.
| Prefix | Meaning |
|---|---|
Error: | Critical — mod won't work correctly |
Warning: | Non-fatal — may cause issues |
LUA call stack: | Lua error with traceback |
data/ or mod path | Context for where the error occurred |
Missing node / nil index:
Error: Can't find node 'wheelRepr' in '...'
Fix: Check i3dMappings or node path. Node was renamed or removed from I3D.
Lua nil error:
Error: attempt to index a nil value
LUA call stack: ...mySpecialization.lua:42
Fix: A variable is nil — check if prerequisite specialization is loaded, or if spec_ table was initialized.
Missing file:
Error: Can't load resource '...textures/diffuse.dds'
Fix: File doesn't exist at that path. Check case sensitivity (Linux/macOS).
XML parse error:
Error: XML parse error in '...modDesc.xml' at line 15
Fix: Invalid XML — unclosed tag, wrong encoding, or special characters in attributes.
descVersion mismatch:
Warning: ModDesc version ... is not supported
Fix: Update descVersion in modDesc.xml to current version.
Specialization error:
Error: Unable to add specialization 'mySpec' ... prerequisites not met
Fix: prerequisitesPresent() returned false. Check required specializations.
Open console with ~ (tilde) key in-game.
| Command | Purpose |
|---|---|
gsToggleStats | Performance overlay (FPS, draw calls) |
gsVehicleDebug | Vehicle debug rendering |
gsFillUnitDebug | Fill unit debug info |
gsAIDebug | AI worker debug visualization |
gsPhysicsDebug | Physics collision shapes |
gsRenderCollisions | Show collision meshes |
csReloadMods | Reload script-only mods without restart |
gsFieldDebug | Field ownership/state overlay |
Launch with -cheats flag for extra commands:
descVersion, valid <specializations> and <vehicleTypes>| Symptom | Likely Cause | Fix |
|---|---|---|
| Low FPS near mod | Too many draw calls | Merge meshes, reduce materials |
| Stutter on load | Large textures | Reduce resolution, add mipmaps |
| Physics lag | Too many collision shapes | Simplify collision meshes |
| Memory spike | Uncompressed textures | Use DDS compression |
readStream/writeStreamdirtyFlag system controls what gets synced each tickWhat SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/fs25-fs-utilsUse when working with fs-utils CLI tools — decompiling Luau/LuaJIT bytecode, extracting GAR/DLC archives, unlocking shapes files, or formatting XML./fs25-i3d-structureUse when working with I3D files, understanding the I3D scene graph, node types, materials, shapes, user attributes, collision flags, or transform hierarchy./fs25-map-modUse when creating or modifying FS25 map mods, configuring map.xml, terrain, placeables, farmlands, ground types, or fruit types./fs25-mod-deployUse when setting up a new FS25 mod for development, creating symlinks to the mods folder, packaging a mod as zip, or configuring modDesc.xml fields like author and descVersion./fs25-scripting-modUse when developing FS25 Lua scripting mods, writing specializations, overriding base game functions, debugging mod scripts, or understanding the FS25 scripting architecture./fs25-texture-guideUse when working with FS25 textures, DDS formats, normal maps, specular maps, texture naming conventions, or resolution guidelines.npx claudepluginhub paint-a-farm/fs25-skills --plugin fs25-moddingOther plugins' skills for the same job