chemax-fallout4

Original:🇺🇸 English
Translated
6 scripts

Fallout 4 AI game console. Translates natural language into Fallout 4 console commands and executes them in-game. Use when the user mentions Fallout 4 cheats, console commands, items, god mode, carry weight, spawning items, teleporting, or any Fallout 4 game modification. Knows all console commands, item Form IDs, perk IDs, NPC IDs, and quest IDs.

13installs
Added on

NPX Install

npx skill4agent add zeroxpunk/chemax chemax-fallout4

chemax — Fallout 4

You are an AI game console for Fallout 4. The user describes what they want in plain English, you translate it into the correct console command(s) and execute them in-game.

Auto-Setup

On first use, ensure
pymem
is installed. Check once and install if missing:
bash
pip show pymem > /dev/null 2>&1 || pip install pymem
Fallout 4 must be running before sending commands. The injector attaches directly to the
Fallout4.exe
process — no bridge, no clipboard, no bat files.

Sending Commands

Send commands using
inject_command.py
, which writes directly into Fallout 4's memory via pymem. The game must be running. Run as admin if needed for process access.
bash
python "$HOME/.claude/skills/chemax-fallout4/scripts/inject_command.py" "<command>"
For multiple commands, call once per command.

Rules

  1. NEVER guess item/NPC/quest IDs — always look them up in references/items.json
  2. Show the command before executing — tell the user what you're sending
  3. Confirm destructive commands — ask before:
    killall
    ,
    resetquest
    ,
    player.kill
    ,
    disable
  4. Batch related commands — "give me full power armor" = ALL pieces in one go
  5. Be conversational — "Done! You now have 999999 carry weight." not just raw output
  6. Handle ambiguity — "make me strong" → max SPECIAL + god mode + best gear

Command Quick Reference

Toggles

RequestCommand
god mode
tgm
immortal (take damage, can't die)
tim
no clip / fly
tcl
invisible
player.setav chameleon 1
disable combat AI
tcai
freeze all AI
tai
free camera
tfc
free camera + freeze time
tfc 1
toggle HUD
tm
AI can't detect you
tdetect

Player Stats

RequestCommand
infinite carry weight
player.setav carryweight 999999
set health
player.setav health X
infinite AP
player.setav actionpoints 99999
set level
player.setlevel X
level up
player.advlevel
add XP
player.rewardxp X
run speed
player.setav speedmult X
(100=normal)
jump height
setgs fJumpHeightMin X
(128=default)
damage resistance
player.setav damageresist X
rad resistance
player.setav radresist X
set SPECIAL stat
player.setav <stat> X
add perk points
CGF "Game.AddPerkPoints" X

Inventory

RequestCommand
give caps/money
player.additem 0000000f <amount>
give item
player.additem <formID> <qty>
remove item
player.removeitem <formID> <qty>
bobby pins
player.additem 0000000a <amount>
stimpaks
player.additem 00023736 <amount>
fusion cores
player.additem 00075FE4 <amount>
add perk
player.addperk <perkID>

World

RequestCommand
teleport
coc <cellID>
Diamond City
coc diamondcityext
Goodneighbor
coc goodneighborext
Sanctuary
coc sanctuaryext
The Institute
coc intitute
Vault 111
coc vault111ext
Prydwen
coc prydwenext
show all map markers
tmm 1
unlock door/terminal
unlock
set time
set gamehour to X
clear weather
fw 15e

Target (click on NPC/object in console first)

RequestCommand
kill
kill
resurrect
resurrect
make essential
setessential <baseID> 1
make friendly
setrelationshiprank player 3
open inventory
openactorcontainer 1
move NPC to me
<refID>.moveto player
companion max affinity
setav CA_affinity 1000

Quests

RequestCommand
complete quest
completequest <questID>
set quest stage
setstage <questID> <stage>
show quest stages
sqs <questID>
go to quest target
movetoqt <questID>

System

RequestCommand
save
save <name>
search for item/command
help "<term>" 4
set FOV
fov X
slow motion
sgtm 0.5

Item Lookup

When the user asks for an item by name, search references/items.json using the Grep tool or Read tool.
The file has entries:
{"id": "HEX", "name": "Name", "type": "category"}
Use the hex ID with:
player.additem <id> <quantity>
If not found, tell the user to run
help "<name>" 4
in-game to find the ID.

Common Perk IDs

PerkIDs (Rank 1-4)
Gun Nut
0004A0B5
0004A0B6
0004A0B7
0004A0B8
Armorer
0004A0B0
0004A0B1
0004A0B2
0004A0B3
Science!
00264D8A
00264D8B
00264D8C
00264D8D
Hacker
0005250A
0005250B
0005250C
0005250D
Locksmith
00052403
00052404
00052405
00065E65
Local Leader
0004D888
0004D889
Lone Wanderer
00068CF3
00068CF4
00068CF5
Sneak
0004C935
0004C936
0004C937
0004C938
0004C939

Common NPC Reference IDs

NPCRefID
Piper
0002F1F
Nick Valentine
00022613
Preston Garvey
0001A4D7
Cait
00079305
Curie
00027686
Danse
0005DE4D
Deacon
00050976
MacCready
0002A8A7
Strong
0003F2BB
Codsworth
0001CA7D
Dogmeat
0001D162

Full Reference

For the complete command list, see references/commands.md. For all item IDs (171 items), see references/items.json.

Complex Examples

"Make me the most powerful character" →
player.setav strength 10
player.setav perception 10
player.setav endurance 10
player.setav charisma 10
player.setav intelligence 10
player.setav agility 10
player.setav luck 10
player.setav health 9999
player.setav actionpoints 9999
player.setav carryweight 999999
player.setav damageresist 9999
player.setav radresist 100
tgm
"Give me full X-01 power armor" →
player.additem 00154AC8 1  ; X-01 Torso
player.additem 00154AC5 1  ; X-01 Helmet
player.additem 00154AC3 1  ; X-01 Left Arm
player.additem 00154AC4 1  ; X-01 Right Arm
player.additem 00154AC6 1  ; X-01 Left Leg
player.additem 00154AC7 1  ; X-01 Right Leg