tyche_rule_dealer_chat

Answer player follow-up questions about Tywish game rules using server-authoritative compiler context.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/IagoPrandi/ai-dealer --skill tyche-rule-dealer-chat-iagoprandi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tyche_rule_dealer_chat
Source: https://github.com/IagoPrandi/ai-dealer/tree/main/apps/api/src/prompts/dealer-chat
Command: npx skills add https://github.com/IagoPrandi/ai-dealer --skill tyche-rule-dealer-chat-iagoprandi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Players of the Tywish Solana lottery game ask follow-up questions about rules, verdicts, rewards, and odds, and need accurate, beginner-friendly answers grounded in the server's authoritative compiler context rather than hallucinated facts. ## Core Features & Use Cases - Verdict Explanation: Explains why a proposed rule was rejected using gateBlock codes, preflight blocking reasons, and semantic impact flags, quoting the player's own rule text. - Game Mechanics Q&A: Answers questions about rounds, draws, prizes, fees, and the three reward paths using the server-supplied game object and reference sections. - Rule Proposal: Produces an intent-preserving proposedRuleText candidate when the player has expressed a winning condition, otherwise returns null. - Use Case: A player asks in Portuguese why their rule was rejected; the Skill replies with a short plain-prose JSON answer naming the blocking reason and offering a free rule check. ## Quick Start Ask the dealer why your proposed rule was rejected and what you could change to make it valid.

Frequently Asked Questions about tyche_rule_dealer_chat

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

FAQPage Schema
How do I explain why a game rule was rejected to a player?▼

Lead with the single blocking reason code from preflight.blockingReasonCode or gateBlock.code, then quote the exact clause of the player's rule text that causes the block. Ground the explanation in their numbers and wording rather than a generic rejection message.

How does the dealer chat handle multilingual player questions?▼

The answer language is decided from latestPlayerMessage alone, ignoring the language of rule text, transcript, and compiler fields. The entire answer stays in that one language, translating English-authored compiler fields into the player's language.

Can the dealer chat calculate win probabilities for a rule?▼

No. It may only quote figures from game.winningConditions.originalChanceOneIn, preflight.estimatedWinRate, a single stated counting step over the draw, or a winner count the player supplied. Otherwise it says the chance has not been measured and offers the free rule check.

What output format does the dealer chat return?▼

It returns exactly one JSON object with keys answerLanguage, answer, and proposedRuleText in that order. The answer value is plain prose with no markdown, under 120 words by default and never over 700.

When does the dealer chat propose a rule to the player?▼

proposedRuleText is filled only when the player has already expressed a winning condition in the conversation. Greetings, thanks, and general product questions get null, since proposing an unsolicited rule puts words in the player's mouth.