world-logic

Coordinate spatial, time, and faction data for martial-arts world consistency.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill centralizes and maintains the coherence of a sprawling wuxia world by coordinating spatial layout, time progression, and faction dynamics across NPCs, regions, and quests.

Core Features & Use Cases

  • Spatial Node System: manages regions and navigational context without exposing exact directions, ensuring consistent geography and interactions.
  • Time-State System: advances global time and schedules events that affect NPC behavior and plot triggers.
  • Sect & Faction System: models factions, loyalties, diplomacy, and conflicts to drive questlines and world politics.
  • Information Retrieval Protocol: enforces data references to keep world lore consistent during narration and gameplay.

Quick Start

Initialize the world logic by loading spatial, time, and sect data and enabling the world engine for the current session.

Frequently Asked Questions about world-logic

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

FAQPage Schema
How do I maintain world consistency in a wuxia narrative across different regions and timelines?

Maintaining world consistency requires a system that coordinates spatial layout, time progression, and faction dynamics across NPCs, regions, and quests. This prevents narrative contradictions when characters travel between different martial-arts regions over time.

What is the best way to track NPC behavior and plot triggers based on time progression?

Tracking NPC behavior and plot triggers based on time requires a Time-State System. It advances global time and schedules events that dynamically affect NPC actions and trigger context-appropriate plot outcomes in your martial world.

How do I model faction diplomacy and conflicts to drive questlines in a martial-arts setting?

To drive questlines through faction politics, you need a Sect and Faction System. It models factions, loyalties, diplomacy, and conflicts to sustain world politics and trigger context-appropriate narrative outcomes for your gameplay scenarios.

Can I manage geography and navigational context without exposing exact map directions to players?

Yes, you can manage geography without exposing exact directions by using a Spatial Node System. It manages regions and navigational context to ensure consistent geography and interactions during narrative generation and gameplay.

How do I keep world lore consistent during narration and gameplay information retrieval?

To keep world lore consistent during narration, you apply an Information Retrieval Protocol. It enforces data-driven rules and references to sustain world consistency, ensuring context-appropriate outcomes when players encounter NPCs and events.

Do I need to load spatial and sect data before initializing the world engine for a session?

Yes, you must load spatial, time, and sect data to initialize the world logic. Enabling the world engine for your current session requires this preparatory data to automate the construction and maintenance of a coherent martial-arts world.