Personal Lotto Agent
Paste the following prompt into your AI chat to install this skill:
Please install @user_50aae3d0/lotto-agent according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When a user says something like "give me 5 Super Lotto numbers tonight", "every Tue/Thu/Sat at 20:00", or "did I win today", generic chat can confuse immediate generation, scheduled tasks, draw lookup, and prize checking, or silently fill missing times. lotto-agent maps Chinese lottery intent into explicit rule-based actions instead of letting the model guess parameters.
How It Works
- Parse first: use
parse --text "user's original message"to identify actions such asgenerate,create_task,check_prize, andreport; ifneeds_clarification=true, ask for the missing date or time slot. - Separate immediate vs scheduled: future words like tonight, tomorrow, or weekday default to tasks; only explicit "now / immediately / right away" allows direct
generate. - Explicit actions: entries include
status,generate,fetch_draw,check_prize,report,cancel,record,create_task,list_tasks,disable_task,cron_run,setup_notify, andparse; Python scripts and a SQLite task table handle the business logic. - Output constraints: number results should be a standalone message, with follow-up notices separate; prize checking relies on a public draw source and local
drawsmatching.
Boundaries
It is intended for personal use, does not guarantee winning, does not predict outcomes, and avoids phrases like "must win" or "guaranteed profit". Ambiguous times must be clarified rather than defaulting to 09:00, today, or this week. Public draw data may include placeholder values before final release, so results depend on fetched draw data and local matching.
Use Cases
- When a user says "5 Super Lotto numbers tonight", create a one-time scheduled task in the 18:00-23:30 window.
- Configure automatic post-draw prize checking in a 21:35-23:55 daily window, with cron checking every 30 minutes.
- Generate a 30-day P/L report and keep separate weekly and monthly reporting scopes.
- Record manually purchased numbers, bind them to upcoming draws, and run check_prize to evaluate results.
Best For
- Personal lottery users who want fixed flows for NL number generation, scheduled picks, and draw lookup.
- Personal automation script users who want cron and SQLite task management for picks and prize checks.
- OpenClaw channel users who want push setup and prize-checking notifications in draw windows.
- Data-oriented lottery players who want local number records, P/L reports, and manual entry logs.
Related Skills
An AI workflow that structures personal knowledge bases, IMA, Yuque, and Feishu content into approved personas for paid WeChat mini-agent deployment.
Local workflow memory with matching and SOP updates.
An OpenClaw live streaming executor that initializes TRTC streaming, starts a real-time dashboard, generates viewer URLs, and continuously reports live events.
Breaks down physical supply chains for super-trends to identify second- and third-layer bottlenecks, runs valuation and reverse checks, and maintains trackable reports.