A dedicated Python-based analytical utility for querying historical China Happy 8 (KL8) lottery draw data and statistical frequency.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install kl8-data
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install kl8-data using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The kl8-data skill is a highly focused data query and statistical analysis module designed for the China Happy 8 (快乐8/KL8) lottery. Operating as part of the ecosystem of Openclaw Skills, it allows developers and automated agents to seamlessly retrieve historical draw data, look up specific lottery issues, and output mathematical frequency patterns directly in a Python environment.
By leveraging this component, users can extract structural lottery information spanning late March to April 2026 (issues 2026069 to 2026097). It eliminates the need for external network requests by utilizing a highly optimized, local dataset, ensuring immediate response times for local processing tasks or AI agent interactions.
kl8_data.py module to handle queries through defined APIs like get_latest(), get_issue(), or analyze().KL8_DATA dictionary containing detailed records of 29 historical draws.To integrate this module into your environment, follow these steps. Make sure Python is installed and accessible.
Ensure your local directory structure includes kl8_data.py. You can configure the module directly within your environment configured for Openclaw Skills:
# Navigate to your skill directory
cd path/to/kl8-data
# Test the installation using a simple Python interactive shell
python -c "import kl8_data; print(kl8_data.get_latest())"
To add fresh draw data, open kl8_data.py and append new records directly to the KL8_DATA dictionary format.
The local dictionary KL8_DATA mapped in kl8_data.py is organized as key-value pairs where the key is the string representation of the issue number and the value is a list of exactly 20 drawn numbers.
| Field Name | Type | Description | Range / Format |
|---|---|---|---|
issue |
String | Unique identifier of the lottery draw | e.g., "2026097" |
numbers |
Array of Integers | The 20 winning numbers drawn | Values between 1 and 80 |
get_latest(): Returns the dict containing the most recent issue and its array of 20 numbers.get_issue(issue): Returns the array of numbers corresponding to the specified issue key.list_recent(count): Returns a sliced list of the last N draws.analyze(): Calculates the total occurrences of each number (1-80) across all records and returns a sorted statistics summary.KL8_DATA.Loading
A cognitive scaffolding skill that accelerates the learning of complex concepts by mapping their underlying structures to mental models you already master.

Thunder Core enables programmatic control over the Windows Thunder (Xunlei) download client via its COM interface to automate and manage complex downloading workflows.

An interactive, one-on-one Socratic AI tutoring system designed to achieve 2 Sigma level learning outcomes through adaptive markdown-based lessons.

An advanced learning skill that orchestrates five cognitive perspectives—crossover, occam, graph, prototype, and feynman—to quickly and deeply unpack any concept.

A professional-grade Chinese social media public sentiment analysis and strategic report generator designed for institutional and enterprise risk evaluation.

An AI-driven documentation tool that systematically guides clinicians through gathering clinical data to assemble fully structured, AOA-aligned comprehensive eye exam draft reports.
