gm

Patch corrupted game save state.json files to restore valid game state.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/slabgorb/python-sidequest --skill gm-slabgorb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gm
Source: https://github.com/slabgorb/python-sidequest/tree/main/.pennyfarthing/skills/pf-gm
Command: npx skills add https://github.com/slabgorb/python-sidequest --skill gm-slabgorb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Fixes broken or corrupted game saves by directly repairing the JSON state so testing can continue without losing progress.

Core Features & Use Cases

  • Directly repairs inventory, HP, location, NPCs, and other game state in the save file.
  • Backups and safe-apply workflow to minimize data loss during debugging.
  • Use case: during a regression test, quickly restore a malformed save to a known-good state and resume play.

Quick Start

To repair a corrupted save, run the God Mode skill against the active save to patch the state.json and verify the changes.

Frequently Asked Questions about gm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I repair a corrupted game save during playtesting?

Repairing a corrupted game save involves directly patching the active state.json to restore valid game state. The workflow backs up the current save, edits the JSON in place, and writes changes back so you can resume testing quickly.

What is the best way to fix a malformed game save without losing progress?

The best way to fix a malformed save without losing progress is using a safe-apply workflow that backs up the current file before editing the state.json in place. This restores valid game state while minimizing data loss during debugging.

Can I patch game state like NPCs and location directly in the save file?

Yes, you can patch game state like NPCs and location directly in the save file by editing the active state.json in place. This restores corrupted inventory, HP, location, or NPC values so you can resume playtesting quickly.

How does backing up the save file work when debugging a corrupted JSON state?

When debugging a corrupted JSON state, backing up the save file works by copying the current save before editing the state.json in place. This safe-apply workflow writes changes back and reports before and after states to minimize data loss.

When do I need to directly edit state.json during a regression test?

You need to directly edit state.json during a regression test when bugs corrupt inventory, HP, location, or NPCs. Directly patching the active game state restores valid data, allowing you to resume playtesting quickly without losing progress.