game-manager-skill

Manage game state persistence and synchronization via a central SQLite database.

5|1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Wjiajie/wuxiaX --skill game-manager-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game-manager-skill
Source: https://github.com/Wjiajie/wuxiaX/tree/main/.agent/skills/game-manager-skill
Command: npx skills add https://github.com/Wjiajie/wuxiaX --skill game-manager-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires sqlite3, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill centralizes persistence and synchronization for the entire agent skill ecosystem, ensuring consistent world state across sessions and modules.

Core Features & Use Cases

  • Persistent state management: saves, loads, and resets game state via a central SQLite database.
  • Global synchronization: keeps all skill reference data in sync with the central store to avoid drift.
  • World reset workflow: handles /game-restart by restoring templates, clearing archives, and reinitializing memory.

Quick Start

Start by resetting the world to the initial state:

  • python .agent/skills/game-manager-skill/scripts/manager.py --reset
  • Then perform a full save to confirm persistence:
  • /game-save

Frequently Asked Questions about game-manager-skill

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

FAQPage Schema
How do I manage game state persistence across multiple agent skills?

Game state persistence across agent skills is managed via a central SQLite database that handles saves, loads, and global synchronization. This ensures consistent world state across sessions and prevents data drift between different modules.

What is the best way to reset the world state for a modular game?

Resetting world state involves running a script-driven workflow that restores templates, clears archives, and reinitializes memory. This workflow manages the /game-restart cycle to return the game to its initial state.

Does this game state manager require a specific database setup?

Yes, game state management requires a central SQLite database and the sqlite3 dependency. You need this environment set up before executing save/load cycles or cross-skill state synchronization.

How do I save and load game state using SQLite?

You save and load game state by executing script-driven commands that interact with the central SQLite database. Start by running the manager script with the reset flag, then perform a full save to confirm persistence.

Why does cross-skill state drift occur in modular games?

Cross-skill state drift occurs when individual modules maintain isolated data instead of syncing with a central store. Global synchronization solves this by keeping all skill reference data aligned with the central SQLite database.

Can I use this for archiving game state in an immersive wuxia game?

Yes, this handles game state archiving and global synchronization specifically for an immersive modular wuxia game. It manages save/load cycles and world resets to maintain state consistency across the game ecosystem.