Irwin
irwin - the protector of lichess from all chess players villainous
Install / Use
/learn @clarkerubber/IrwinREADME
irwin
irwin is the AI that learns cheating patterns, marks cheaters, and assists moderators in assessing potential cheaters.


Dependencies
Compatible with Python 3.x
Python Libraries
pip3 install pymongo python-chess numpy requests
- tensorflow : tensorflow installation guide
Database
- mongodb : mongodb installation guide
Configuring
Create conf/config.json
{
"api": {
"url": "https://lichess.org/",
"token": "token"
},
"stockfish": {
"threads": 4,
"memory": 2048,
"nodes": 4500000,
"update": false
},
"db": {
"host": "localhost",
"port": 27017,
"authenticate": false,
"authentication": {
"username": "username",
"password": "password"
}
},
"irwin": {
"train": {
"batchSize": 5000,
"cycles": 80
}
}
}
conf/config.json contains config for stockfish, mongodb, tensorflow, lichess (authentication token and URL), etc...
Build a database of analysed players
If you do not already have a database of analysed players, it will be necessary to analyse
a few hundred players to train the neural networks on.
python3 main.py --no-assess --no-report
About
Irwin (named after Steve Irwin, the Crocodile Hunter) started as the name of the server that the original cheatnet ran on (now deprecated). This is the successor to cheatnet.
Similar to cheatnet, it works on a similar concept of analysing the available PVs of a game to determine the odds of cheating occurring.
This bot makes improvements over cheatnet by taking a dramatically more modular approach to software design.
modules/core contains most of the generic datatypes, BSON serialisation handlers and database interface
layers. It is also significantly faster due to a simplified approach to using stockfish analysis.
modules/irwin contains the brains of irwin, this is where the tensorflow learning and application takes place.
Irwin has been designed so that modules/irwin can be replaced with other approaches to player assessment.
Env.py contains all of the tools to interact with lichess, irwin, and the database handlers.
main.py covers accessing the lichess API (modules/Api.py) via Env to get player data; pulling records from mongodb,
analysing games using stockfish, assessing those games using tensorflow and then posting the final assessments.
Related Skills
openai-image-gen
329.0kBatch-generate images via OpenAI Images API. Random prompt sampler + `index.html` gallery.
claude-opus-4-5-migration
81.1kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
329.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
49.5k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
