跳到正文
TakoAPI
返回技能列表

snake-rodeo

由 okwme 提供

DevOps & Cloud
404下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Autoplay daemon for the Trifle Snake Rodeo game.

描述

该技能的功能

A persistent daemon that automates voting in the Trifle Snake Rodeo multiplayer game. It connects to the game server via SSE, authenticates with a wallet, and submits directional bids each round using one of five built-in strategies or a custom one. An offline tournament simulator is included for developing and comparing strategies without spending real balance.

The offline tournament simulator lets you benchmark strategies against each other with a fixed RNG seed before risking real ball balance in live games.

何时使用

  • Running automated game voting overnight without manual input
  • Comparing strategy win rates across hundreds of reproducible simulated games
  • Building a custom bidding strategy using the BaseStrategy API
  • Monitoring live game state and ball balance from the command line
  • Receiving game event notifications in a Telegram group

示例工作流

输入

User asks: Start the autoplay daemon using the aggressive strategy

智能体
  1. 1

    Resolves Trifle auth token from TRIFLE_AUTH_TOKEN env var or ~/.config/snake-rodeo/auth.json

  2. 2

    Runs node snake.mjs start --detach --strategy aggressive

  3. 3

    Daemon connects to the live game server via SSE and begins watching rounds

  4. 4

    Each round, the aggressive strategy selects a direction and team, counter-bidding when outbid

  5. 5

    Daemon submits the vote via SnakeClient.submitVote and writes the result to daemon.log

输出

Daemon running in background, automatically placing aggressive bids each round until stopped with `node snake.mjs stop`

前置要求

  • Trifle account authenticated via the trifle-auth skill, or TRIFLE_AUTH_TOKEN environment variable
  • TELEGRAM_BOT_TOKEN environment variable and a Telegram bot (only required for game event logging)

安装

clawhub install okwme/snake-rodeo

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接