interaction-exchanges

Orchestrate rule-based turn-based dialogue flows with invitation and timeout handling.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Silac1995/My-World-Isekai-Unity --skill interaction-exchanges
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: interaction-exchanges
Source: https://github.com/Silac1995/My-World-Isekai-Unity/tree/main/.agent/skills/interaction-exchanges
Command: npx skills add https://github.com/Silac1995/My-World-Isekai-Unity --skill interaction-exchanges

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This system defines the architecture and rules governing turn-based dialogue interactions across NPCs, players, and multiplayer, ensuring fair invitations, turn order, and safe timeouts.

Core Features & Use Cases

  • Invitation Phase: asynchronous invitations, acceptance handling, and busy-state checks for targets.
  • Turn-Based Sequence: DialogueSequence with role swapping, NPC AI speech with pacing delays, and player-driven turns via UI input.
  • Multiplayer safety: timeouts, interruptions, and end-of-interaction guards to prevent deadlocks.

Quick Start

Start a new interaction by initiating an invitation from one character to another to begin a dialogue sequence.

Frequently Asked Questions about interaction-exchanges

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

FAQPage Schema
How do I manage turn-based dialogue between NPCs and players in a multiplayer game?

Turn-based dialogue is managed through a rule-based orchestration system handling invitations, role swapping, and timeouts. It ensures fair turn order for NPC-vs-NPC, Player-vs-NPC, and Player-vs-Player interactions while preventing deadlocks.

What's the best way to handle asynchronous dialogue invitations before starting an NPC interaction?

Dialogue invitations are handled asynchronously with acceptance tracking and busy-state checks for targets. This invitation phase safely evaluates if a character can participate before initiating the formal dialogue sequence.

How do I prevent deadlocks during multiplayer turn-based interactions?

Deadlocks are prevented using timeout handling, safe interruption mechanisms, and end-of-interaction guards. These multiplayer safety rules ensure dialogue sequences fail gracefully rather than hanging indefinitely.

Can I integrate AI-generated NPC speech into a turn-based dialogue sequence?

AI-generated NPC speech is integrated via clear extension points within the dialogue sequence control. The system manages pacing delays for NPC AI speech while maintaining rule-based turn order alongside player-driven UI input.

Does this turn-based dialogue system support role swapping during an active conversation?

Role swapping is supported during active dialogue sequences. The architecture explicitly defines rules for exchanging speaker roles, allowing dynamic back-and-forth interaction between characters without breaking the turn order.

How do I safely interrupt an ongoing player-vs-player dialogue sequence?

Ongoing dialogue sequences are safely interrupted through built-in graceful interruption handling. The system processes interruptions without corrupting the interaction state, utilizing end-of-interaction guards to maintain multiplayer safety.