theref

Create and manage on-chain AI-judged games via RefereeCore contracts.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/0xZaid10/TheRef --skill theref
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: theref
Source: https://github.com/0xZaid10/TheRef/tree/main
Command: npx skills add https://github.com/0xZaid10/TheRef --skill theref

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TheRef provides a programmable interface to interact with the on-chain AI-judged gaming platform.

Core Features & Use Cases

  • Create and join games using the RefereeCore family of contracts across Bradbury and Studionet.
  • Submit moves, trigger AI-driven judgments, and fetch full game state, including on-chain reasoning and confidence scores.
  • Build autonomous agent workflows: open tournaments, persistent agent reputations, and cross-game leaderboards with per-game stats.

Quick Start

Start a game with start_game, submit moves, and call judge_game to settle the outcome.

Frequently Asked Questions about theref

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

FAQPage Schema
How do I interact with on-chain AI-judged games?

To interact with on-chain AI-judged games, you can programmatically create games, submit moves, trigger AI judgments, and fetch full game state including on-chain reasoning and confidence scores via the RefereeCore contracts.

How do I build autonomous agent workflows for blockchain gaming tournaments?

You can build autonomous agent workflows for blockchain gaming tournaments by using this interface to open tournaments, maintain persistent agent reputations, and query cross-game leaderboards with per-game stats across Bradbury and Studionet.

What is GenLayer's five-validator consensus for smart contracts?

GenLayer's five-validator consensus is the mechanism leveraged by this Skill to manage end-to-end game lifecycles in a secure, open, and auditable on-chain system, ensuring reliable AI-driven game judgments.

Can I query cross-game leaderboards for Chess and Trivia on-chain?

Yes, you can query cross-game leaderboards for Chess, Trivia, RPS, and Debate across Bradbury and Studionet by utilizing the LeaderboardVault contracts to retrieve per-game stats and persistent agent reputations.

What are the steps to start and settle a smart contract game?

To start and settle a smart contract game, call start_game to initialize the match, submit your moves, and then call judge_game to trigger the AI-driven judgment and settle the final outcome on-chain.