Lottery Analyzer for Openclaw

A sophisticated data analysis tool for identifying patterns and generating optimized number recommendations for SSQ and DLT lotteries.

larval-zz
v1.0.0
Feb 27, 2026
1
2.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lottery-analyzer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lottery-analyzer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Lottery Analyzer?

The Lottery Analyzer is a specialized technical tool designed to process historical lottery data for popular games like Double Color Ball (SSQ) and Super Lotto (DLT). By leveraging statistical models and data science libraries, this skill helps users move beyond random selection by identifying hot and cold numbers, recognizing consecutive patterns, and calculating sum ranges.

As a core part of the Openclaw Skills ecosystem, it provides developers and data enthusiasts with a programmable interface to automate lottery trend research. The skill allows for deep analysis of Excel or CSV datasets to generate complex schemes such as 7+2 or 6+2 combinations based on mathematical probability rather than guesswork.

Lottery Analyzer Use Cases

  • Analyzing historical winning numbers stored in Excel or CSV formats.
  • Tracking the frequency of hot and cold numbers over a specific number of periods.
  • Generating intelligent number recommendations based on balanced, hot, or segment-based strategies.
  • Identifying complex patterns like odd-even ratios, big-small ratios, and consecutive number pairings.
  • Calculating costs and probability coverage for complex betting schemes like 7+2 or 6+2.

How Lottery Analyzer Works

  1. The user provides historical draw data via Excel or CSV files containing period numbers and ball sequences.
  2. The skill parses the data using pandas and numpy to extract specific number distributions for red/blue or front/back zones.
  3. Statistical engines calculate frequency distributions, standard deviations, averages, and median values.
  4. Pattern recognition logic identifies trends in sums, consecutive numbers, and value ratios over the most recent periods.
  5. The system generates multiple recommendation groups using various strategies and exports the findings to a structured JSON analysis report.

Lottery Analyzer Setup

To utilize this tool within Openclaw Skills, ensure your historical data is formatted correctly in an Excel or CSV file. You can invoke the core analysis script via the command line:

# Execute analysis for Double Color Ball (SSQ)
python3 ~/.openclaw/skills/lottery-analyzer/scripts/analyze_lottery.py ssq /path/to/data.xlsx 7+2

# Read existing analysis results
cat ~/worktemp/lottery_ssq_analysis.json

Lottery Analyzer Data Schema & Taxonomy

The skill organizes data into structured inputs and outputs for maximum clarity:

Data Component Format Description
Input Data Excel/CSV Columns for Period Number and Ball Numbers (1-33 for SSQ, 1-35 for DLT).
Statistics JSON Includes hot_numbers, cold_numbers, avg_sum, and standard deviation.
Patterns JSON Details on consecutive pairs, odd/even ratios, and big/small ratios.
Recommendations JSON Grouped suggestions by strategy (balanced, hot, cold, consecutive, segment).

Lottery Analyzer Advanced Features

  • Programmable Python API via the LotteryAnalyzer class for direct integration into custom scripts.
  • Multiple recommendation strategies including Balanced, Hot, Cold, Consecutive, and Segment-based logic.
  • Real-time conversational analysis allowing users to query specific periods or trends through the AI agent.
  • Support for complex betting schemes (7+2 and 6+2) with automatic cost and combination calculation.
  • Extensible analysis scripts for developers to add custom statistical logic or specific number correlation checks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0